Note that there are some explanatory texts on larger screens.

plurals
  1. POjava.lang.RuntimeException: Unable to instantiate activity
    primarykey
    data
    text
    <p>I've tried all possible solutions to this problem, but nothing seems to work... The problem occured, when i've updated my SDK Tools version from r16 to r19 and SDK Platform-tools to r11. I have all classes included to the manifest, and everything worked before this update. do you have an idea how to fix this problem? (i tried a lot of solutions from this site and others...)</p> <p>Here is my Error log:</p> <pre><code>05-17 23:29:10.888: E/AndroidRuntime(20945): FATAL EXCEPTION: main 05-17 23:29:10.888: E/AndroidRuntime(20945): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.bugfullabs.depress/com.bugfullabs.depress.Splash}: java.lang.ClassNotFoundException: com.bugfullabs.depress.Splash 05-17 23:29:10.888: E/AndroidRuntime(20945): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2110) 05-17 23:29:10.888: E/AndroidRuntime(20945): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2229) 05-17 23:29:10.888: E/AndroidRuntime(20945): at android.app.ActivityThread.access$600(ActivityThread.java:139) 05-17 23:29:10.888: E/AndroidRuntime(20945): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1261) 05-17 23:29:10.888: E/AndroidRuntime(20945): at android.os.Handler.dispatchMessage(Handler.java:99) 05-17 23:29:10.888: E/AndroidRuntime(20945): at android.os.Looper.loop(Looper.java:154) 05-17 23:29:10.888: E/AndroidRuntime(20945): at android.app.ActivityThread.main(ActivityThread.java:4944) 05-17 23:29:10.888: E/AndroidRuntime(20945): at java.lang.reflect.Method.invokeNative(Native Method) 05-17 23:29:10.888: E/AndroidRuntime(20945): at java.lang.reflect.Method.invoke(Method.java:511) 05-17 23:29:10.888: E/AndroidRuntime(20945): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 05-17 23:29:10.888: E/AndroidRuntime(20945): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 05-17 23:29:10.888: E/AndroidRuntime(20945): at dalvik.system.NativeStart.main(Native Method) 05-17 23:29:10.888: E/AndroidRuntime(20945): Caused by: java.lang.ClassNotFoundException: com.bugfullabs.depress.Splash 05-17 23:29:10.888: E/AndroidRuntime(20945): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61) 05-17 23:29:10.888: E/AndroidRuntime(20945): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) 05-17 23:29:10.888: E/AndroidRuntime(20945): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) 05-17 23:29:10.888: E/AndroidRuntime(20945): at android.app.Instrumentation.newActivity(Instrumentation.java:1039) 05-17 23:29:10.888: E/AndroidRuntime(20945): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2101) 05-17 23:29:10.888: E/AndroidRuntime(20945): ... 11 more </code></pre> <p>Here is my AndroidManifest:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.bugfullabs.depress" android:versionCode="2" android:versionName="1.0" &gt; &lt;uses-sdk android:minSdkVersion="10" /&gt; &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt; &lt;application android:icon="@drawable/ic_launcher" android:label="@string/app_name" &gt; &lt;activity android:name=".Splash" android:label="@string/app_name" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name=".DEpressActivity" android:label="@string/app_name" &gt; &lt;/activity&gt; &lt;activity android:name=".SettingsMenu" android:label="@string/app_name" &gt; &lt;/activity&gt; &lt;activity android:name=".Credits" android:label="@string/app_name" &gt; &lt;/activity&gt; &lt;activity android:name=".game.LevelSelect" android:label="@string/app_name" &gt; &lt;/activity&gt; &lt;activity android:name=".game.GameActivity" android:label="@string/app_name" &gt; &lt;/activity&gt; &lt;activity android:name=".game.FinishScreen" android:label="@string/app_name" &gt; &lt;/activity&gt; &lt;/application&gt; &lt;/manifest&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload