IntelliJ IDEA - Can't build anything, always get “package R does not exist”

前端 未结 13 585
轻奢々
轻奢々 2020-12-16 09:32

I\'m trying to use IntelliJ IDEA to work on an Android app with a colleague that swears by it, but I\'m unable to build any of the Android projects he sends me because whene

13条回答
  •  青春惊慌失措
    2020-12-16 10:09

    Another possible solution to those listed here is to check that the package name in your AndroidManifest.xml matches that of your actual package:

    My package was building fine until I refactored the package name, everything refactored except for the package name in manifest file (see above) which caused the error "Package R does not exist".

提交回复
热议问题