有人能告诉我这是什么意思吗?
一切都很顺利,我没有改变任何事情,它刚刚发生,
这是Binder 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;
}
解决方法:
当我尝试在模拟器上安装apk时,我遇到了这个问题,我总是收到错误消息,我需要卸载旧版本的应用程序的apk.
我这样解决了:
1.文件 – >设置 – >构建,执行,部署.
2.即时运行 – >禁用“在部署时启用即时运行热插拔代码/资源更改”.
3.申请 – >好
之后,您可以清理项目(Build – > Clean项目)并重新启用即时运行以使即时运行再次运行.
编辑(Android Studio 3.0)
要禁用即时运行:
>打开“设置”或“首选项”对话框(适用于Mac,Android Studio – >偏好设置)
>导航到构建,执行,部署>即时运行.
>取消选中启用即时运行旁边的复选框.
标签:android,java,apk
来源: https://codeday.me/bug/20190930/1836285.html