1. SDK安装小问题:couldnot find adb.exe
解决办法:以管理员身份运行eclipse或SDK Manger.exe
2. DPAD notenabled in avd
解决办法:在C:UsersAdministrator.androidavd est1.avd路径下修改config.ini文件,将hw.dPad=no改成yes即可。
3. 启动模拟器时出现错误信息“Please ensure that adb is correctly locatedat:XXXXX”解决办法:在系统环境变量中添加SDK的platform-tools安装路径,如我的是E:Androidandroid-sdk_r21-windowsandroid-sdk-windowsplatform-tools。
4. 启动模拟器时一直显示Waiting for HOME('android.process.acore') to be launched...或者emulator: ERROR: Unable to load VM from snapshot. Thesnapshot has been saved for a different hardware configuration
解决办法:关闭模拟器,新建一个。
5. Unable to resolve target 'android-8'
解决办法:打开eclipse,点击project-properties,设置你想要创建的版本,如下图所示。
6. Buttoncannot be resolved to a type
解决方法:使用import,如添加import android.view.Window;