谁能告诉我这是什么意思?
一切都很好,我没有改变任何事情,它就这样发生了,这是绑定器565中的代码:
try {
res = onTransact(code, data, reply, flags);
} catch (RemoteException | RuntimeException e) {
if (LOG_RUNTIME_EXCEPTION) {
Log.w(TAG, "Caught a RuntimeException from the binder stub implementation.", e);
}
if ((flags & FLAG_ONEWAY) != 0) {
if (e instanceof RemoteException) {
Log.w(TAG, "Binder call failed.", e);
} else {
Log.w(TAG, "Caught a RuntimeException from the binder stub implementation.", e);
}
} else {
reply.setDataPosition(0);
reply.writeException(e);
}
res = true;
}发布于 2017-09-08 02:15:06
当我试图在模拟器上安装apk时,我遇到了这个问题,我总是收到错误消息,告诉我需要卸载我的应用程序的apk的旧版本。
我是这样解决的:
1. File ->设置->构建,执行,部署。
2.即时运行->禁用“在部署时启用即时运行以热插拔代码/资源更改”。
3.应用-> OK
之后,您可以清理项目(Build -> clean project)并重新启用即时运行,以使即时运行再次工作。
编辑(Android Studio 3.0)
禁用即时运行(Android Document)
要禁用Instant Run:
旁边的框Android Studio -> Build,Execution,Deployment > Instant Run. to Build,Execution,Deployment>Instant Run.
发布于 2018-10-09 10:29:13
未知故障(安装APK时出现android.os.Binder.execTransact(Binder.java:702))错误
对于此错误,可能有两种可能的解决方案:
解决方案1:检查您是否在Mobile的“开发人员选项”中启用了“通过USB安装”选项(特别是如果您使用的是Xiomi设备)。
解决方案2:https://stackoverflow.com/a/46102740/5582162 -由@Mithor发布的解决方案。
发布于 2017-09-12 03:08:23
我收到了类似的错误消息。原来我的系统和/或模拟器耗尽了存储空间,无法安装APK。Mithor的解决方案揭示了空间不足内存错误。然后,我可以在释放一些空间后启用即时运行。
https://stackoverflow.com/questions/44202530
复制相似问题