Gradle: Execution Failed For Task

后端 未结 1 1286
再見小時候
再見小時候 2020-12-22 01:44

Hi I just tried to do a example program of Android Tab Layout With Swipe. I added android support libraries in the lib folder. I added appcompat v4 and v7 in that. After tha

相关标签:
1条回答
  • 2020-12-22 02:19

    Remove the Android support libraries from the libs directory. Since you are using gradle and have indicated a compile dependency with appcompat-v7 you do not need to include the JARs manually. This is causing a conflict at build time with duplicate symbols. Listing it as a compile dependency will cause gradle to work with Maven to pull the lib automatically (and its dependencies.)

    0 讨论(0)
提交回复
热议问题