Error retrieving parent for item: No resource found that matches the given name after upgrading to AppCompat v23

后端 未结 24 1352
孤城傲影
孤城傲影 2020-11-22 02:30

I\'ve always programmed Android with Eclipse and decided to start migrating to Android Studio. I decided to use the same SDK I already had for Eclipse, then:

  • S
24条回答
  •  北恋
    北恋 (楼主)
    2020-11-22 03:16

    This issue is raised because now the compile SDK version must match the Android Support library's major version.

    In my case i have the Android Support Library version 23, so i had to compile against the Android SDK version 23, and I had to change this in my build.gradle file:

    Well some of you will need to install the SDK, Android 6.0 (API 23)

    and don´t forget to Sync project with gradle files

提交回复
热议问题