The application is not installed "Error on Android 2.3.4

I have a program running in Android Emulator. From time to time I create .apk and export it to my active SonyEricsson Xperia for testing. I have an Applicton error that is not installing.

I tried to restart the phone and delete the existing .apk, did not fix the error

 <?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

+4
source share
2 answers

Remove this

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

and also delete this

  <activity android:name=".NoteActivity"></activity> <activity android:name=".NoteActivity1"></activity> <activity android:name=".NoteActivity2"></activity> 
+2
source
  • Remove this code:

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

    All of these default attributes are true by default.

  • Also take out this code:

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

    You have already declared Activity in your manifest with the same name. I believe this recurring tag is causing your application to crash.

+2
source

Source: https://habr.com/ru/post/1416505/


All Articles