Android App Error: java.lang.NoClassDefFoundError -
After
OK,
then I'm working on an Android application, but get the following error :
com.networkstudios.app.LoginActivity in java.lang.NoClassDefFoundError
java.lang.NoClassDefFoundError: com.networkstudios.app.LoginActivity $ 1 com.networkstudios.app.LoginActivity (LoginActivity. .java: 37) on android.app.Instrumentation.newActivity (Instrumentation.java:1068) on java.lang.Class.newInstance (class.java.1319) on Android java.lang.Class.newInstanceImpl (the basic method) and on Android . App.ActivityThread.performLaunchActivity (ActivityThread.java200007) android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2117) android.app.ActivityThread.access $ 700 (ActivityThread.java:134) at least android.app .ActivityThread $ Android.Handler (Handler. Java: 99) Android Loop H.On on Loop (Looper.java:137) android.app.ActivityThread.main (Activity Threatened) Ondlemes (Activity Thread: JavaPro 218) D.java:4867) at java.lang.reflect.Method.invokeNative (Native Method) at java.lang.reflect.Method.invoke (method.java ** 11) com.android.internal .os.ZygoteInit $ MethodAndArgsCaller at (Jygoteinit.java:1007) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:774) on dalvik.system.NativeStart.main (Basic method)
Com Here is the code for LoginActivity.java found in .networkstudios.app:
Any ideas on this?
error means that your code is available on the runtime to get Facebook API classes Not able to. Make sure that you have facebook.jar
in your class path while running the code.
If you have a SED in your SEDK while still running the code and still facing the problem, then try it:
Just download your project's Android-support-v4 In the .jar FacebookSDK, replace the folder with Libre in the Libre folder
Comments
Post a Comment