Android Studio cannot resolve R in imported project?

后端 未结 30 2302
名媛妹妹
名媛妹妹 2020-11-30 02:27

I\'m trying the new Android Studio. I\'ve exported a project from eclipse, using the build gradle option. I\'ve then imported it in Android Studio. The R.java file under gen

30条回答
  •  孤独总比滥情好
    2020-11-30 02:55

    Regarding the following, from Crossle Song's answer

    1. Press F4 into Project Structure, Check SDKs on left
    2. Click Modules ---> Source Tab, check gen and src as sources

    Despite the message "We will provide a UI to configure project settings later....etc" this worked for me.

提交回复
热议问题