Im recieving the title error on several lines I used a example to create a application I did create a folder for .com.example.. and placed it in the root directory but it did not work I tried editing the Java script manually and it also did not work..
Share
From what I can tell, it sounds like the top of your class with the compile error you mentioned has a package declaration like the following:
package com.example.android.softkeyboard;However, the package that actually contains the class is as follows:
your.test.com.example.android.softkeyboardYou need to either change the package declaration line to look like the package directory structure or change the name of the package to look like the package declaration in the code. The latter option would be better because I suspect you’ve probably copied code from somewhere into your own package and that’s why things aren’t compiling. If you start renaming packages, you may cause more compile errors to appear before getting everything fixed. If you’re new to Java, this can be very confusing to deal with.
If you are completely unfamiliar with how packages work, or if you’d like to read up on it, here are some good resources:
Oracle Java Package Tutorial
Wikipedia Java Package Article