0

I am just starting with androidplot and Android Studio. When I am adding the dependencies line in my build.gradle, Android Studio is not able to compile my app. It fails with following error:

AGPBI: {"kind":"error",
        "text":"Attribute \"backgroundColor\" has already been defined",
        "sources":[{"file":"/home/user/code/<app>/build/intermediates/res/merged/debug/values/values.xml",
        "position":{"startLine":282}}],"original":"","tool":"AAPT"}

Any idea what is going on here?

user513951
  • 12,445
  • 7
  • 65
  • 82
Viraj T
  • 1
  • 1

1 Answers1

0

To be honest, this error does not appear to be related to Androidplot. A quick google search on "AGPBI android" brought up several similar error results (See here and here that all appear to have been caused by trying to use Java 1.8. I'd start by double checking the your installed JDK version.

Community
  • 1
  • 1
Nick
  • 8,181
  • 4
  • 38
  • 63