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

后端 未结 7 2203
长情又很酷
长情又很酷 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:09

    Okay, I figured out what was the problem.

    The build target of my project was Android 2.1 (API 7). I had to target Android 4.0 (API 14) at least to get rid of the warning message.

    YOUR APP WILL STILL RUN ON Android 2.1 DEVICES! This is what I missed whan I set up the target wrongly.

提交回复
热议问题