Installation did not succeed. The application could not be installed:
作者:互联网
最近升级到API 31时,写demo发现安装应用报错:
The application could not be installed:
INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
List of apks:
[0] 'D:\AndroidStudioWorkSpace\mukewang\Test\app\build\outputs\apk\debug\app-debug.apk'
Installation failed due to: 'null'
原因是:使用较低版本的 AndroidStudio,Android 12上行为已经发生变更,必须显示声明 android:exported 属性。
以 Android 12为目标平台的应用—更安全的组件导出
标签:Installation,application,did,could,installed,apk,Android,app 来源: https://blog.csdn.net/qq_45412462/article/details/121687938