安装失败,并显示消息INSTALL_PARSE_FAILED_MANIFEST_MALFORMED。 (无大写字母)

时间:2018-09-16 01:49:37

标签: android android-studio android-manifest

因此您可以看到软件包名称中没有大写字母。以前,它说用户没有授予安装许可。有趣的是,该应用程序已经安装,我正在测试一些新代码。它要求卸载,但我还是没有用。我重新启动了设备(Redmi Note 3,最新的操作系统更新),然后出现此错误。值得一提的是,此应用之前也曾遇到麻烦。设备具有API 23,我将minSdkVersion设置为23,但是在单击“运行”时,它继续显示minSdkVersion为28。我将其设置为21,然后运行它。将其设置回23,这次没有任何麻烦。奇怪。

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="in.nocapitals.www.nocapitals_hereeither">

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">
    <activity android:name=".MainActivity">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity android:name=".SetReminder"/>
    <receiver android:name=".AlertReceiver" android:process="remote"/>
</application>

</manifest>

1 个答案:

答案 0 :(得分:0)

将您的进程名称更改为:remote

我不完全确定为什么这样做,但是根据the docs,如果没有冒号,表示该过程是全局的(由与您的UID相同的任何应用共享),并且MIUI被MIUI阻止了工作。