After setting up android-support-v7-appcompat R.java is missing

后端 未结 7 2184
长情又很酷
长情又很酷 2020-12-05 20:43

I am trying to change my Eclipse project to make it backward compatible to Android 2.1. I followed the instructions to set up the Support Library from here but after I atta

相关标签:
7条回答
  • 2020-12-05 21:29

    What worked for me is to do the following:

    • Right click on the android-support-v7-appcompat project and select Delete (just remove it from the workspace, don't delete from disk).

    • Right click on your project and select Properties -> Android, and remove android-support-v7-appcompat from your references, and click Ok.

    • Clean your project

    • Then select File -> Import and re-import android-support-v7-appcompat.

    • Then go back to Properties -> Android and add the reference again.

    • Clean your project

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