解决错误Android Studio:安装失败,消息为null

问题描述 投票:0回答:1

我收到了下一个错误,我试过:删除应用程序,清理项目,还允许手机设置中的“未知来源”,但我得到了与所有应用程序相同的错误,甚至是我尝试的新应用程序安装只是为了测试。

enter image description here同样在控制台中我收到此错误:

11/27 17:19:48: Launching app
$ adb push C:\Users\ozkr2805\AndroidStudioProjects\Test\app\build\outputs\apk\debug\app-debug.apk /data/local/tmp/ink.test
$ adb shell pm install -t -r "/data/local/tmp/ink.test"
Error while accessing provider:com.rscja.secapp.provider.authcode
java.lang.IllegalStateException: Could not find provider: com.rscja.secapp.provider.authcode
    at com.android.commands.pm.Pm$Command.execute(Pm.java:173)
    at com.android.commands.pm.Pm.main(Pm.java:252)
    at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
    at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:276)
    pkg: /data/local/tmp/ink.test
Success


Error while Installing APK

我的设备是:Chainway C71掌上电脑,不知道这是否有帮助。

谢谢你的建议!

android android-studio exception null installation
1个回答
0
投票

我遇到了同样的问题。我已经重新安装了android studio并在设备上重置了工厂,但它仍然失败了。闪烁我的智能手机后问题得到解决。

© www.soinside.com 2019 - 2024. All rights reserved.