Android Studio waiting for build to finish

前端 未结 17 1045
我在风中等你
我在风中等你 2020-12-12 15:26

I have a problem. When I start a new project in Android Studio and select a navigation drawer activity it happens. I don\'t have access to my activiy_main_drawer.xml

17条回答
  •  情深已故
    2020-12-12 15:32

    Sometimes while converting the code from java to kotlin some library may get imported like import android.R Just remove this library.

    Check this tools:context=".MainActivity" in xml while copying another XML the class name will also get copy.

    Else try File -> Sync project with gradle or rebuild the project.

提交回复
热议问题