Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我开发了一个包含使用 AIDL 的活动和远程服务的 android 应用程序。我尝试在 eclipse 或 intellij idea 中调试 AIDL 生成的文件(包含存根和代理)内部,但是当我在生成的文件或我的活动程序中放置断点时,命令尝试调用远程方法时,它不会进入生成的文件。
您知道如何在生成的文件中进行调试吗?
溴,拉
我发现了问题。我忘记在 androidManifest.xml 的服务 android 标记中添加“:remote”。它应该如下所示。
<service android:name=".RemoteService" android:process=":remote"> </service>
如果你不把 ":remote" android os 当作本地服务。