解决android studio编译报INSTALL_PARSE_FAILED_MANIFEST_MALFORMED错误

问题再现:

Android studio新建应用run或编译时出现:

Installation did not succeed.The application could not be installed:INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

 

解决方法:

1、打开AndroidManifest.xml文件,在标签中添加属性

android:exported="true"

2、再次编译run,无报错~