java.lang.NullPointerException安卓eclipse出现这个问题,关闭eclipse,把workspace下面的文件删除掉。重新打开。
如果不行,
1) Launch ADV Manager, verify if there is an AVD for your Android Project target else create an ADV for
your Target (Click on New… button, enter a Name,
select your Target then press Create
ADV button)
2) Run Eclipse, right-click on your Android Project name in thePackage
Explorer window
3) Select Properties or press Alt+Enter
4) Click on Run/Debug Settings then select your project name and click Edit
5) Select Target tab
6) Click on Automatic mode and press Refresh button
If you have more AVD for the same Target:
– Select the checkbox the ADV verified or created at point 1) then click on Manual mode
7) Press Apply button then OK button
本文介绍了解决在使用Eclipse进行Android开发时遇到的NullPointerException问题的方法。包括清理workspace、验证或创建AVD、设置Run/Debug配置等步骤。

被折叠的 条评论
为什么被折叠?



