Developing for Android in Eclipse: R.java not regenerating

前端 未结 30 3132
孤城傲影
孤城傲影 2020-11-21 07:04

I\'ve found out that my R.java is never updated, so it doesn\'t contain information about my new resources, so I decided to delete it and thought that Eclipse would generate

30条回答
  •  花落未央
    2020-11-21 08:06

    If your OS is Ubuntu, I can provide some suggestion:

    1. Install or upgrade ia32-lib:

      sudo apt-get upgrade ia32-libs
      
    2. Check if you have the right permission on the aapt folder:

      cd ANDROID/adt-bundle-linux-x86_64-20130522/sdk/build-tools/android-4.2.2
      chmod 777 aapt
      
    3. Start Eclipse:

      sudo eclipse
      
    4. Run Project -> Clean in Eclipse

提交回复
热议问题