java.lang.RuntimeException: Unable to instantiate activity ComponentInfo - Android - android

I'm really confused. After I tried to change my packages from android.app to android.support.v4, my app crashed and threw the following exceptions:
08-31 20:45:18.652: E/AndroidRuntime(1429): FATAL EXCEPTION: main
08-31 20:45:18.652: E/AndroidRuntime(1429): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.k2evil.porschejournal/com.k2evil.porschejournal.FirstScreen}: java.lang.ClassNotFoundException: Didn't find class "com.k2evil.porschejournal.FirstScreen" on path: DexPathList[[zip file "/data/app/com.k2evil.porschejournal-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.k2evil.porschejournal-2, /system/lib]]
08-31 20:45:18.652: E/AndroidRuntime(1429): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2137)
08-31 20:45:18.652: E/AndroidRuntime(1429): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
08-31 20:45:18.652: E/AndroidRuntime(1429): at android.app.ActivityThread.access$600(ActivityThread.java:141)
08-31 20:45:18.652: E/AndroidRuntime(1429): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
08-31 20:45:18.652: E/AndroidRuntime(1429): at android.os.Handler.dispatchMessage(Handler.java:99)
08-31 20:45:18.652: E/AndroidRuntime(1429): at android.os.Looper.loop(Looper.java:137)
08-31 20:45:18.652: E/AndroidRuntime(1429): at android.app.ActivityThread.main(ActivityThread.java:5103)
08-31 20:45:18.652: E/AndroidRuntime(1429): at java.lang.reflect.Method.invokeNative(Native Method)
08-31 20:45:18.652: E/AndroidRuntime(1429): at java.lang.reflect.Method.invoke(Method.java:525)
08-31 20:45:18.652: E/AndroidRuntime(1429): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
08-31 20:45:18.652: E/AndroidRuntime(1429): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
08-31 20:45:18.652: E/AndroidRuntime(1429): at dalvik.system.NativeStart.main(Native Method)
08-31 20:45:18.652: E/AndroidRuntime(1429): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.k2evil.porschejournal.FirstScreen" on path: DexPathList[[zip file "/data/app/com.k2evil.porschejournal-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.k2evil.porschejournal-2, /system/lib]]
08-31 20:45:18.652: E/AndroidRuntime(1429): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)
08-31 20:45:18.652: E/AndroidRuntime(1429): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
08-31 20:45:18.652: E/AndroidRuntime(1429): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
08-31 20:45:18.652: E/AndroidRuntime(1429): at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
08-31 20:45:18.652: E/AndroidRuntime(1429): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2128)
08-31 20:45:18.652: E/AndroidRuntime(1429): ... 11 more
And this is my android manifest:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.k2evil.porschejournal"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity android:name="com.k2evil.porschejournal.FirstScreen" android:theme="#style/AppTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
I tried clean project, and to rename app package name. But it doesn't work.

It was just a eclipse bug... close and reopen eclipse :)

Related

java.lang.ClassNotFoundException: Didn't find class "com.millennialmedia.android.VideoPlayer"

I recently moved to MoPub and it all appears to be working well except for I have started getting this exception saying that com.millennialmedia.android.VideoPlayer can not be found. I looked and it isn't on the Millennial jar (I just got the latest from their site). Also my AndroidManifest mentions that class and Android Studio also says it can't be found.
This is what I have there:
<activity android:name="com.millennialmedia.android.MMActivity" android:theme="#android:style/Theme.Translucent.NoTitleBar" android:configChanges="keyboardHidden|orientation|keyboard" />
<activity android:name="com.millennialmedia.android.VideoPlayer" android:configChanges="keyboardHidden|orientation|keyboard" />
On Android Studio the VideoPlayer part is red.
This is the exception I got:
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{mypackage/com.millennialmedia.android.VideoPlayer}: java.lang.ClassNotFoundException: Didn't find class "com.millennialmedia.android.VideoPlayer" on path: /data/app/mypackage-1.apk
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at dalvik.system.NativeStart.main(NativeStart.java)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.millennialmedia.android.VideoPlayer" on path: /data/app/mypackage-1.apk
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
at android.app.Instrumentation.newActivity(Instrumentation.java:1054)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at dalvik.system.NativeStart.main(NativeStart.java)
Looking at the latest Millennial Media documentation, it looks like
com.millennialmedia.android.VideoPlayer
isn't included. This may be an update that needs to be made.
Alice

App crashes when instantiating HelpStackSDK

We tried integrating HelpStack by following steps given on GitHub, but we kept getting the following errors:
04-03 13:54:22.054 4638-4638/com.playerline.android E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.playerline.android/com.tenmiles.helpstack.activities.HomeActivity}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1967)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
at android.app.ActivityThread.access$600(ActivityThread.java:127)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4448)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.tenmiles.helpstack.activities.HSActivityParent.onCreate(HSActivityParent.java:48)
at com.tenmiles.helpstack.activities.HomeActivity.onCreate(HomeActivity.java:46)
at android.app.Activity.performCreate(Activity.java:4465)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
at android.app.ActivityThread.access$600(ActivityThread.java:127)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4448)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
I'm guessing it has something to do with the App Theme, which in our case is is Theme.AppCompat.NoActionBar.

AndroidActivity extends GameBaseActivity crashes

I am having a class
public class GameActivity extends Activity implements
GLSurfaceView.Renderer, OnTouchListener{
The code does not have any problems, all needed methods are implemented. When I start the Activity it crashes with the following message:
java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{[left out].GameActivity}:
java.lang.ClassNotFoundException: Didn't find class "...GameActivity"
on path [...]
I want to integreate the Google Game Service and Achievements in my game. Therefore I added the libary project and the GameBaseUtils as projects and also checkt that they should be exported inside my generated apk file. It compiles, the .jar for the google play services is also uploaded and will b e found. All includes are working. But when I start the game, it crashed immediately with the error message above.
I followed the tutorials on developers.android.com https://developers.google.com/games/services/android/init
Can someone tell me what I am doing wrong? Here is my Manifest
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package=""
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<!--
Tell the market, that the the app requires at least OpenGLES 2.0
This is not really the truth but it will decrease the rate of error
-->
<uses-feature android:glEsVersion="0x00020000"
android:required="true" />
<!-- Maybe not neccessary -->
<!-- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/> -->
<application
android:allowBackup="true"
android:icon="#drawable/launcher_icon"
android:label="#string/app_name"
android:theme="#android:style/Theme.NoTitleBar.Fullscreen"
android:screenOrientation="sensorLandscape" >
<meta-data android:name="com.google.android.gms.games.APP_ID"
android:value="13465798" />
<activity
android:name="GameActivity"
android:screenOrientation="sensorLandscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- For the implementation of Adds in this App -->
</application>
</manifest>
Edit: Locat output
07-21 01:13:47.730: W/dalvikvm(22578): Unable to resolve superclass of
LGameActivity; (1182) 07-21 01:13:47.730:
W/dalvikvm(22578): Link of class
'L/GameActivity;' failed 07-21 01:13:47.730:
D/AndroidRuntime(22578): Shutting down VM 07-21 01:13:47.730:
W/dalvikvm(22578): threadid=1: thread exiting with uncaught exception
(group=0x4159f930) 07-21 01:13:47.746: E/AndroidRuntime(22578): FATAL
EXCEPTION: main 07-21 01:13:47.746: E/AndroidRuntime(22578):
java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{GameActivity}:
java.lang.ClassNotFoundException: Didn't find class
"GameActivity" on path:
.apk 07-21 01:13:47.746:
E/AndroidRuntime(22578): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)
07-21 01:13:47.746: E/AndroidRuntime(22578): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
07-21 01:13:47.746: E/AndroidRuntime(22578): at
android.app.ActivityThread.access$600(ActivityThread.java:141) 07-21
01:13:47.746: E/AndroidRuntime(22578): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
07-21 01:13:47.746: E/AndroidRuntime(22578): at
android.os.Handler.dispatchMessage(Handler.java:99) 07-21
01:13:47.746: E/AndroidRuntime(22578): at
android.os.Looper.loop(Looper.java:137) 07-21 01:13:47.746:
E/AndroidRuntime(22578): at
android.app.ActivityThread.main(ActivityThread.java:5041) 07-21
01:13:47.746: E/AndroidRuntime(22578): at
java.lang.reflect.Method.invokeNative(Native Method) 07-21
01:13:47.746: E/AndroidRuntime(22578): at
java.lang.reflect.Method.invoke(Method.java:511) 07-21 01:13:47.746:
E/AndroidRuntime(22578): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
07-21 01:13:47.746: E/AndroidRuntime(22578): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 07-21
01:13:47.746: E/AndroidRuntime(22578): at
dalvik.system.NativeStart.main(Native Method) 07-21 01:13:47.746:
E/AndroidRuntime(22578): Caused by: java.lang.ClassNotFoundException:
Didn't find class "GameActivity" on path:
-1.apk 07-21 01:13:47.746:
E/AndroidRuntime(22578): at
dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
07-21 01:13:47.746: E/AndroidRuntime(22578): at
java.lang.ClassLoader.loadClass(ClassLoader.java:501) 07-21
01:13:47.746: E/AndroidRuntime(22578): at
java.lang.ClassLoader.loadClass(ClassLoader.java:461) 07-21
01:13:47.746: E/AndroidRuntime(22578): at
android.app.Instrumentation.newActivity(Instrumentation.java:1054)
07-21 01:13:47.746: E/AndroidRuntime(22578): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)
07-21 01:13:47.746: E/AndroidRuntime(22578): ... 11 more
I've found the error:
I had to mark both projects I am using for the app (GameBaseUtils and google-play-services_lib) as a libary project and add them to android libaries I want to use. The rest is handled by android on its own.

Thread : Crash with the message "java.lang.RuntimeException: Unable to instantiate activity"

i know this question has been treated so much time, but i really don't find the answer to my problem.
This is an application which connect to a server, so, there's a socket, that's why i'm using thread (i can't do anything else since android 4.0), but even if i'm disable the code of my socket, it still crash.
Here's the logCat error :
04-08 08:36:39.366: D/AndroidRuntime(16604): Shutting down VM
04-08 08:36:39.366: W/dalvikvm(16604): threadid=1: thread exiting with uncaught exception (group=0x4122f300)
04-08 08:36:39.366: E/AndroidRuntime(16604): FATAL EXCEPTION: main
04-08 08:36:39.366: E/AndroidRuntime(16604): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.projetlyres2013/com.example.projetlyres2013.PlanDMX}: java.lang.NullPointerException
04-08 08:36:39.366: E/AndroidRuntime(16604): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1983)
04-08 08:36:39.366: E/AndroidRuntime(16604): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
04-08 08:36:39.366: E/AndroidRuntime(16604): at android.app.ActivityThread.access$600(ActivityThread.java:130)
04-08 08:36:39.366: E/AndroidRuntime(16604): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
04-08 08:36:39.366: E/AndroidRuntime(16604): at android.os.Handler.dispatchMessage(Handler.java:99)
04-08 08:36:39.366: E/AndroidRuntime(16604): at android.os.Looper.loop(Looper.java:137)
04-08 08:36:39.366: E/AndroidRuntime(16604): at android.app.ActivityThread.main(ActivityThread.java:4745)
04-08 08:36:39.366: E/AndroidRuntime(16604): at java.lang.reflect.Method.invokeNative(Native Method)
04-08 08:36:39.366: E/AndroidRuntime(16604): at java.lang.reflect.Method.invoke(Method.java:511)
04-08 08:36:39.366: E/AndroidRuntime(16604): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
04-08 08:36:39.366: E/AndroidRuntime(16604): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
04-08 08:36:39.366: E/AndroidRuntime(16604): at dalvik.system.NativeStart.main(Native Method)
04-08 08:36:39.366: E/AndroidRuntime(16604): Caused by: java.lang.NullPointerException
04-08 08:36:39.366: E/AndroidRuntime(16604): at android.app.Activity.findViewById(Activity.java:1825)
04-08 08:36:39.366: E/AndroidRuntime(16604): at com.example.projetlyres2013.PlanDMX.<init>(PlanDMX.java:27)
04-08 08:36:39.366: E/AndroidRuntime(16604): at java.lang.Class.newInstanceImpl(Native Method)
04-08 08:36:39.366: E/AndroidRuntime(16604): at java.lang.Class.newInstance(Class.java:1319)
04-08 08:36:39.366: E/AndroidRuntime(16604): at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
04-08 08:36:39.366: E/AndroidRuntime(16604): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
04-08 08:36:39.366: E/AndroidRuntime(16604): ... 11 more
04-08 08:36:41.326: I/Process(16604): Sending signal. PID: 16604 SIG: 9
04-08 08:46:26.556: D/AndroidRuntime(16825): Shutting down VM
///////// Manifest /////////
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.projetlyres2013"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="16" />
<application
android:allowBackup="true"
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name="com.example.projetlyres2013.PlanDMX"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
I don't know what's happened when i want to launch it on my tablet (android 4.1).
I really need help for that :/
Thanks
NullPointer here means that you did not set your layout XML as contentView to your Activity.
Inside onCreate(...) method of Activity add
setContentView(R.layout.some_layout-file)

Android - exception launching project on start after copying a lot of code over from another project

am getting this exception:
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{business.premium/business.premium.Problemio}:
java.lang.ClassNotFoundException: business.premium.Problemio
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1880)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
at android.app.ActivityThread.access$600(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: business.premium.Problemio
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871)
... 11 more
java.lang.ClassNotFoundException: business.premium.Problemio
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
at android.app.ActivityThread.access$600(ActivityThread.java:123)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
it says that class is not there, but it IS there. I tried to configure things in my project's build path, but not too sure what to tweak there.
And here is how I start my Manifest file:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="business.premium"
android:versionCode="1"
android:versionName="1.0" >
<supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true"/>
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="15"/>
<uses-permission android:name="android.permission.INTERNET" />
<application
android:icon="#drawable/ic_launcher"
android:label="#string/app_name"
android:theme="#style/CustomTheme"
android:name="MyApplication"
android:debuggable="true">
<activity
android:name=".Problemio"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Any thoughts on how to solve this, or what to look into? Thanks!
Its because you specified the "android:name" attribute in the application node in the manifest file.
Do not use the android:name attribute!
It, misleadingly, does not have anything to do with the name of your app and is actually the name of an extra class to load before loading your application. That's why you are getting the ClassNotFoundException.
Remove it and it should work:
<application
android:icon="#drawable/icon"
android:label="#string/app_name"
android:description="#string/help_text" >
This answer is taken from: java.lang.ClassNotFoundException on working app

Categories

Resources