应用程序包安装程序已停止

时间:2014-12-29 18:54:03

标签: java android mobile

我复制了我的Manifest XML文件。我只是无法弄清楚错误。应用程序在我的Redmi 1S上运行,但它没有在我的Micromax Canvas A110上运行我已经尝试过与Stackoverflow相关的所有解决方案。

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

    <uses-sdk
        android:minSdkVersion="11"
        android:targetSdkVersion="19" />

     <uses-configuration 
        android:reqTouchScreen="finger" android:reqKeyboardType="undefined"/>

     <uses-feature  
         android:name="android.hardware.touchscreen" />

     <uses-permission 
         android:name="android.permission.INTERNET" />


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




    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" android:uiOptions="splitActionBarWhenNarrow">
        <!-- Splash screen -->
        <activity android:name="com.gilpix.am.Splash" 
            android:label="@string/app_name" 
            android:screenOrientation="portrait" 
            android:theme="@android:style/Theme.Black.NoTitleBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name="com.gilpix.am.Login" 
            android:label="@string/app_name" 

            >
        </activity>

        <activity android:name="com.gilpix.am.Logind"
             android:label="@string/logind_name" 
             android:uiOptions="splitActionBarWhenNarrow"
             > 

        </activity>
          <activity android:name="com.gilpix.am.U_home"
              android:label="@string/app_name"
              android:uiOptions="splitActionBarWhenNarrow" > 

        </activity>




           </application>

</manifest>

2 个答案:

答案 0 :(得分:1)

清理您的项目,如果它不起作用,请关闭  项目并重新启动,创建新的apk并安装

答案 1 :(得分:0)

此错误是由于您的两款Android手机的Android版本不同而造成的。

请检查两部手机的配置,并根据manifest.xml文件中的更改进行更改

机器人:的minSdkVersion =&#34; 11&#34; 机器人:targetSdkVersion =&#34; 19&#34;

由于

相关问题