halfhp / androidplot

Charts and plots for Android
http://androidplot.com
Apache License 2.0
505 stars 159 forks source link

Android resource compilation failed #82

Closed Pascal66 closed 6 years ago

Pascal66 commented 6 years ago

When I do : implementation 'com.androidplot:androidplot-core:1.5.6'

With: Android Studio 3.3 Canary 6 Build #AI-182.3684.101.33.4954005, built on August 15, 2018 JRE: 1.8.0_152-release-1136-b06 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0

I can't compile : Android resource compilation failed C:\Users\Pascal\Desktop\PalIrri\palIrri\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4758: error: duplicate value for resource 'attr/backgroundColor' with config ''. C:\Users\Pascal\Desktop\PalIrri\palIrri\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:4758: error: resource previously defined here.

halfhp commented 6 years ago

Hmm sounds kind of like this issue What build tools version are you using?

Pascal66 commented 6 years ago

28.0.1

halfhp commented 6 years ago

Went through a few tests with setting up fresh projects in a clean dev env etc. and couldnt find anything wrong. I suspect it may be something broken in the Canary version of Android Studio. Have you tried using the latest stable release of AS?

halfhp commented 6 years ago

Closing for now as I cannot reproduce. Feel free to reopen if you can verify that the problem you're experiencing exists in a non canary version of AS.