Android Studio cannot resolve R in imported project?

后端 未结 30 2200
名媛妹妹
名媛妹妹 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条回答
  •  -上瘾入骨i
    2020-11-30 02:46

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

    PS: The answer over a year old and the menus have changed.

提交回复
热议问题