android-studio - 在运行应用程序时返回错误 'UNSUPPORTED''

标签 android-studio run-app

我刚刚将Android Studio更新到了3.5版。当我使用手机运行App时,它可以成功编译,但是在安装过程中会出现错误。

这是错误消息:

Installation did not succeed.
The application could not be installed.
Installation failed due to: ''pm install-create -r -t -S 1472245' returns error 'UNSUPPORTED''



我怎样才能解决这个问题?

最佳答案

您可以通过从开发的选项中禁用MIUI优化来解决此问题:

设置->开发人员选项-> MIUI优化

禁用它,在安装该应用程序后,它将要求重新启动设备

关于android-studio - 在运行应用程序时返回错误 'UNSUPPORTED'',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57820804/

相关文章:

android - 为具有大量开源依赖项的 aar 提供 jar 支持

android-studio - 如何在 Android Studio 中创建自己的 'Reformat Code' 样式?

grails - Grails 3.1.4无法运行

Flutter:找到这个候选人,但参数不匹配

flutter - 在设备上卸载应用程序后 flutter run 不起作用

Android 测试在 Application 类中抛出异常

android-studio - Android Studio - 在循环中多次运行相同的测试用例

android - android gradle可以自动解析模块库的依赖关系吗?

chalice war 和部署