0
点赞
收藏
分享

微信扫一扫

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

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 条评论