Android 提示ZygoteInit$MethodAndArgsCaller.run() line:928 错误处理
界面显示: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 的问题
在命令行输入:%USERPROFILE%/.android
删除下列文件和文件夹: