1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > android studio2.3安装apk 在Android Studio 2.3中安装apk时出错

android studio2.3安装apk 在Android Studio 2.3中安装apk时出错

时间:2024-05-09 14:10:19

相关推荐

android studio2.3安装apk 在Android Studio 2.3中安装apk时出错

工具:

> Android Studio 2.3

> Firebase

设备测试

>三星GT-I9505

>三星SM-T211

设备OS:

> Android 5.0

问题:

我无法在我的Android设备上安装我的应用程序.一直在排除故障.

显示错误消息:

Installation failed with message device 'a408a2f4' not found.

It is possible that this issue is resolved by uninstalling

an existing version of the apk if it is present, and then re-installing.

WARNING: Uninstalling will remove the application data!

Do you want to uninstall the existing application?

显示的事件日志:

11:38 AM An existing connection was forcibly closed by the remote host

java.io.IOException: An existing connection was forcibly closed by the remote host

at sun.nio.ch.SocketDispatcher.read0(Native Method)

at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)

at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)

at sun.nio.ch.IOUtil.read(IOUtil.java:197)

at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)

at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:492)

at com.android.ddmlib.SplitApkInstaller.uploadApk(SplitApkInstaller.java:152)

at com.android.ddmlib.SplitApkInstaller.install(SplitApkInstaller.java:78)

at com.android.ddmlib.Device.installPackages(Device.java:904)

at com.android.tools.idea.run.tasks.SplitApkDeployTask$SplitApkInstaller.installApp(SplitApkDeployTask.java:117)

at com.android.tools.idea.run.RetryingInstaller.install(RetryingInstaller.java:86)

at com.android.tools.idea.run.tasks.SplitApkDeployTask.perform(Spl... (show balloon)

11:38 AM Session 'app': Error Installing APKs

看到奇怪的事件

>我还没有在我的设备中安装我的应用程序,但它显示我应该卸载我的应用程序.

>我已经看到,当安装APK到我的物理设备脱机并返回在线时.我不知道是什么导致了这种行为.

到目前为止我做了什么

>在开发人员选项中检查我的设备设置以允许USB调试

>检查我的Sha-1我的包裹名称,它正确地注册到Firebase控制台

>在我的设备应用程序管理器中检查我的应用程序是否正在安装但我看不到它

>重启我的电脑可能是在ADB上遇到缓存问题.我在任务管理器中删除了它但没有解决.

希望你能得到最大的考虑.谢谢.

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。