The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

问题:

今天使用小米12手机连接Android Studio进行调试的时候,发现有一个这样的错误:

 解决方法仅需2步,如下:

步骤1、在AndroidManifest.xml文件中,添加  android:exported="true"

步骤2、在gradle.properties文件,添加  android.injected.testOnly=false

猜你喜欢

转载自blog.csdn.net/weixin_46211609/article/details/129020879