Android 一些环境常见问题处理汇总

王小沫

关注

阅读 53

2022-06-28

Android 提示ZygoteInit$MethodAndArgsCaller.run() line:928 错误处理

Android 一些环境常见问题处理汇总_eclipse

界面显示:Source not found.Edit Source Lookup Path...


经检查代码

WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE);
lock = wifiManager.createMulticastLock("multicast.test");
lock.acquire();


getSystemService需要context,必须有窗体时才能调用。在调用getSystemService先给context赋值即可。

Eclipse启动时,Android SDK Content Loader stuck at 0% in Eclipse 的问题


Android 一些环境常见问题处理汇总_context_02


在命令行输入:%USERPROFILE%/.android

删除下列文件和文件夹:

Android 一些环境常见问题处理汇总_context_03


精彩评论(0)

0 0 举报