R.java Missing in Android Project in NetBeans

前端 未结 8 1188
一整个雨季
一整个雨季 2021-01-03 00:10

I\'m doing this for a project in AP Computer Science.

Basics:
Mac OS X 10.5.8
NetBeans 7.0
Android SDK 3.0 (Level 11)

So I\'m

相关标签:
8条回答
  • 2021-01-03 01:07

    I had the same problem and it was due to the package of R not being the same as the one for Main. I just moved Main to the same package as R and everything is fine after I hit Build.

    0 讨论(0)
  • 2021-01-03 01:09

    Right-click your project and hit build. It will generate the missing R class for you. At least it did for me in Netbeans 7.1

    0 讨论(0)
提交回复
热议问题