【发布时间】:2023-04-09 00:38:01
【问题描述】:
谁能告诉我这是什么意思?
一切都很好,我没有改变任何东西,只是发生了, 这是 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;
}
【问题讨论】:
-
显示您的堆栈跟踪和相关代码。
-
我在移动项目文件夹时遇到了同样的问题。就我而言,Build->Clean Project 解决了这个问题。
-
亚麻的答案对我有用!谢谢!