Note that there are some explanatory texts on larger screens.

plurals
  1. POunable to instantiate activity component error
    primarykey
    data
    text
    <p>My application keeps crashing and i do not know what went wrong. I merely added a new package into the application</p> <p>The codes below is my logcat output of errors</p> <pre><code>01-07 07:28:51.824: E/AndroidRuntime(471): FATAL EXCEPTION: main 01-07 07:28:51.824: E/AndroidRuntime(471): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.coverflow/com.coverflow.CoverFlowExample}: java.lang.ClassNotFoundException: com.coverflow.CoverFlowExample in loader dalvik.system.PathClassLoader[/data/app/com.example.coverflow-2.apk] 01-07 07:28:51.824: E/AndroidRuntime(471): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1739) 01-07 07:28:51.824: E/AndroidRuntime(471): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1831) 01-07 07:28:51.824: E/AndroidRuntime(471): at android.app.ActivityThread.access$500(ActivityThread.java:122) 01-07 07:28:51.824: E/AndroidRuntime(471): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1024) 01-07 07:28:51.824: E/AndroidRuntime(471): at android.os.Handler.dispatchMessage(Handler.java:99) 01-07 07:28:51.824: E/AndroidRuntime(471): at android.os.Looper.loop(Looper.java:132) 01-07 07:28:51.824: E/AndroidRuntime(471): at android.app.ActivityThread.main(ActivityThread.java:4123) 01-07 07:28:51.824: E/AndroidRuntime(471): at java.lang.reflect.Method.invokeNative(Native Method) 01-07 07:28:51.824: E/AndroidRuntime(471): at java.lang.reflect.Method.invoke(Method.java:491) 01-07 07:28:51.824: E/AndroidRuntime(471): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) 01-07 07:28:51.824: E/AndroidRuntime(471): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) 01-07 07:28:51.824: E/AndroidRuntime(471): at dalvik.system.NativeStart.main(Native Method) 01-07 07:28:51.824: E/AndroidRuntime(471): Caused by: java.lang.ClassNotFoundException: com.coverflow.CoverFlowExample in loader dalvik.system.PathClassLoader[/data/app/com.example.coverflow-2.apk] 01-07 07:28:51.824: E/AndroidRuntime(471): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:251) 01-07 07:28:51.824: E/AndroidRuntime(471): at java.lang.ClassLoader.loadClass(ClassLoader.java:540) 01-07 07:28:51.824: E/AndroidRuntime(471): at java.lang.ClassLoader.loadClass(ClassLoader.java:500) 01-07 07:28:51.824: E/AndroidRuntime(471): at android.app.Instrumentation.newActivity(Instrumentation.java:1022) 01-07 07:28:51.824: E/AndroidRuntime(471): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1730) 01-07 07:28:51.824: E/AndroidRuntime(471): ... 11 more </code></pre> <p>Below is my android manifest file, i added the activity intent</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.example.coverflow" android:versionCode="1" android:versionName="1.0"&gt; &lt;uses-permission android:name="android.permission.INTERNET"&gt;&lt;/uses-permission&gt; &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt; &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt; &lt;application android:icon="@drawable/icon" android:label="@string/app_name" android:largeHeap="true"&gt; &lt;activity android:name="com.coverflow.CoverFlowExample" android:configChanges="orientation|keyboardHidden" 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="com.example.userguide"&gt;&lt;/activity&gt; &lt;/application&gt; &lt;uses-sdk android:minSdkVersion="13" /&gt; &lt;supports-screens android:anyDensity="true" /&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.
    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