Gradle Merge issues after new container

After the recent issues with accepting licenses, Android Platform 28 SDK license not accepted

The upgraded container removed a really old support for Android wear 1.3.0; We upgraded that to 2.2.0 and pointed our config to a more recent api version.

however, now one of our builds/workflows has been running into the following issue. Looks like it’s inside android support libraries. Anyone have any ideas on how to resolve?

    /home/circleci/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.0.aar/332b479e608bb7ff979fc5f830f947a0/res/values/values.xml:251:5-69: AAPT: error: duplicate value for resource 'attr/textColor' with config ''.

/home/circleci/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.0.aar/332b479e608bb7ff979fc5f830f947a0/res/values/values.xml:251:5-69: AAPT: error: resource previously defined here.

/home/circleci/workspace/foursquare-robin/build/intermediates/incremental/mergeInternalResources/merged.dir/values/values.xml:1270: error: duplicate value for resource 'attr/textColor' with config ''.
/home/circleci/workspace/foursquare-robin/build/intermediates/incremental/mergeInternalResources/merged.dir/values/values.xml:1007: error: resource previously defined here.

Also, I’d like to clarify that the build is fine locally. Also one of our other apps builds correctly in circle, but this variant does not.

fixed this, by creating an artifact of
foursquare-robin/build/intermediates/incremental/mergeInternalResources/merged.dir/values/values.xml

opened the file in a text editor to identify which line was conflicting. Realized we had an unused library that possibly was causing this; compiled after removing the dependency