Павле Радоман Павле Радоман - 3 months ago 37
Android Question

Package Installer has stopped

I am developing some app for android which worked well untill this evening.
However the app is working well in emulator but on Archos 80 G9 tablet with android 3.2.80 I got this error

The application Package installer (process com.android.packageinstaller) has stopped unexpectedly. Please try again.


Also here is my manifest XML

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="oni.dani"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk android:minSdkVersion="13"

/>

<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:debuggable="true"

>
<activity
android:label="@string/app_name"
android:screenOrientation="portrait"
android:name="com.android.onidani.Dashboard" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

</activity>
<activity android:name="com.android.onidani.KlasaPrikazBaze"></activity>
<activity android:name="com.android.onidani.Dashboard"></activity>
<activity android:name="com.android.onidani.OniDaniActivity"></activity>

</application>

</manifest>

Answer

This error is occuring because you have declared your Dashboard activity twice.

<activity android:name="com.android.onidani.Dashboard"></activity>
Comments