Note that there are some explanatory texts on larger screens.

plurals
  1. POerror androidmanifest.xml
    primarykey
    data
    text
    <p>In my android application it crashes and display this message, and I added the activity in androidmanifest but same error !!</p> <pre><code>11-16 08:56:00.077: E/AndroidRuntime(622): FATAL EXCEPTION: main 11-16 08:56:00.077: E/AndroidRuntime(622): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.upnpexample/com.example.androidhive.CustomizedListView}; have you declared this activity in your AndroidManifest.xml? </code></pre> <p>EDITED Androidmanifest.xml</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.upnpexample" 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_WIFI_STATE"&gt;&lt;/uses-permission&gt; &lt;uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"&gt;&lt;/uses- permission&gt; &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"&gt;&lt;/uses-permission&gt; &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt; &lt;uses-permission android:name="android.permission.GET_TASKS" /&gt; &lt;uses-sdk android:minSdkVersion="7"&gt;&lt;/uses-sdk&gt; &lt;application android:icon="@drawable/appicon" android:label="@string/app_name" android:name=".UpnpControlApplication"&gt; &lt;activity android:name=".MainActivity" android:theme="@android:style/Theme.NoTitleBar" android:configChanges="orientation|keyboardHidden"&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN"&gt;&lt;/action&gt; &lt;category android:name="android.intent.category.LAUNCHER"&gt;&lt;/category&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name=".BrowseActivity" android:label="@string/app_name"&gt; &lt;/activity&gt; &lt;activity android:name=".BrowseServerActivity" android:label="@string/app_name"&gt;&lt;/activity&gt; &lt;service android:name=".BrowserUpnpService"&gt;&lt;/service&gt; &lt;activity android:label="@string/list_player" android:name=".EPGview"/&gt; &lt;activity android:label="@string/list_player" android:name=".Playsimplevideo"/&gt; &lt;activity android:label="@string/list_player" android:name=".Streaming"/&gt; &lt;activity android:label="@string/list_player" android:name=".LazyAdapter"/&gt; &lt;activity android:label="@string/list_player" android:name=".CustomizedListView"/&gt; &lt;/application&gt; </code></pre> <p></p> <p><strong>EDIT 2</strong></p> <p>I put them in the same package and now it displays this errors</p> <pre><code>11-16 09:21:18.076: D/AndroidRuntime(710): Shutting down VM 11-16 09:21:18.076: W/dalvikvm(710): threadid=1: thread exiting with uncaught exception (group=0x40015560) 11-16 09:21:18.086: E/AndroidRuntime(710): FATAL EXCEPTION: main 11-16 09:21:18.086: E/AndroidRuntime(710): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.upnpexample/com.upnpexample.CustomizedListView}: java.lang.NullPointerException </code></pre> <hr> <p>i put them in the same package and now it displays this errors</p> <pre><code>11-16 09:21:18.076: D/AndroidRuntime(710): Shutting down VM 11-16 09:21:18.076: W/dalvikvm(710): threadid=1: thread exiting with uncaught exception (group=0x40015560) 11-16 09:21:18.086: E/AndroidRuntime(710): FATAL EXCEPTION: main 11-16 09:21:18.086: E/AndroidRuntime(710): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.upnpexample/com.upnpexample.CustomizedListView}: java.lang.NullPointerException </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.
 

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