标签: android eclipse
我知道R.id是用man.xml中的按钮映射的。我试着调试。但我无法做到这一点。
我在尝试运行此链接中的代码时遇到此错误
http://android-er.blogspot.com/2011/05/scan-bluetooth-devices.html
答案 0 :(得分:1)
确保您在setContentView(R.layout.main);
setContentView(R.layout.main);
然后尝试Build your Project and Clean your Project and then Run
Build your Project and Clean your Project and then Run