Android ADT version 22, R.java files not generated

前端 未结 11 1237
借酒劲吻你
借酒劲吻你 2020-12-06 16:13

After upgrading to Android ADT version 22 and cleaning my project, the R.java files went missing. I can\'t use setViewContent(R.layout.activity_main) because the activity ca

11条回答
  •  青春惊慌失措
    2020-12-06 16:41

    The Same problem happened to me also,

    1.Check that Android SDK Build-tools is installed. Window->Android SDK Manager->Tools->Android SDK Build-tools 2.Make sure when you update the Android SDK Tools, you also update the Android SDK Platform-tools and Android ASK Build-tools. Build fails silently if they don't match.

    Solution

    1.Update Android SDK Tools and Android SDK Platform-tools and Android SDK Build-tools from Android SDK Manager (Window->Android SDK Manager->Tools->Android SDK Build-tools).Then restart the eclipse.

提交回复
热议问题