New Android Sdk 17 Issue In My App?
Solution 1:
Maybe the ADK update has messed-up with your project's build-path.
Try removing the admob JAR and add it again to your libs
folder, add it to your Build Path and do a Clean Project.
Anyway it's hard to help you without more details on the error you encounter.
EDIT following poster's comment about not having a libs
folder:
You should try this:
- Remove all references to the AdMob JAR in your project -> your code should not build without error anymore
- Create à
libs
folder at the root of your project - Copy the AdMob JAR into the
libs
folder - Make sure this AdMob JAR is in your Build Path (this will allow your code to build wihtout error)
- (If still not running OK) Right click your project > Android Tools > Fix Project Properties
Solution 2:
The 'problem' here is that the SDK is a lot more strict about the libraries. If you do not check the library as 'exported' in eclipse, it is not added to your APK, leading to this nasty class not found exception. You should mark your libraries as exported.
Project Properties | Java Build Path |Orderand Export
Solution 3:
when I updated my SDK it was total mess. Well, the only I had to change was the PATH in Environment Variables.
http://developer.android.com/sdk/installing.html :
Adding both tools/ and platform-tools/ to your PATH lets you run command line tools without needing to supply the full path to the tool directories. Depending on your operating system, you can include these directories in your PATH in the following way: On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ and platform-tools/ directories to the path. On Linux, edit your ~/.bash_profile or ~/.bashrc file. Look for a line that sets the PATH environment variable and add the full path to the tools/ and platform-tools/ directories to it. If you don't see a line setting the path, you can add one: export PATH=${PATH}:/tools:/platform-tools On a Mac OS X, look in your home directory for .bash_profile and proceed as for Linux. You can create the .bash_profile if you don't already have one.
Post a Comment for "New Android Sdk 17 Issue In My App?"