Android Studio cannot resolve R in imported project?

后端 未结 30 2327
名媛妹妹
名媛妹妹 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:56

    For me, with Android Studio 1.5.1, the solution was to recreate the whole project with a slightly different name.

    I think it didn't handle the app name "Kommentator_AS", because several places the package was named"Kommentator" instead.

提交回复
热议问题