Application not Installed' Error on Android 2.3.4

I have a program working in the Android Emulator. Every now and again I have been creating a .apk and exporting it to my SonyEricsson Xperia active to test. I have face the error Applicton not install.

I have tried rebooting the phone & removing the existing .apk, does not fix fault

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

    <uses-sdk android:minSdkVersion="8" />
    <supports-screens
    android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"/>

    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" >
        <activity
            android:name=".NoteActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".NoteActivity"></activity>
        <activity android:name=".NoteActivity1"></activity>
         <activity android:name=".NoteActivity2"></activity>
    </application>

</manifest>

Many thanks


Remove this

<supports-screens
    android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"/>

and also remove this

 <activity android:name=".NoteActivity"></activity>
        <activity android:name=".NoteActivity1"></activity>
         <activity android:name=".NoteActivity2"></activity>

  • Remove this code:

    <supports-screens
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"/>
    

    All of these attributes are true by default anyway.

  • Also, take out this code:

    <activity android:name=".NoteActivity"></activity>
    

    You have already declared an Activity in your manifest with the exact same name. I believe this duplicate tag is the reason why your application is crashing.

  • 链接地址: http://www.djcxy.com/p/90696.html

    上一篇: 从APK文件反向工程到项目

    下一篇: 应用程序未安装“错误在Android 2.3.4上