This question is locked. New answers and comments are not allowed.
In my project I'm using several external libraries including the viewpager indicator library (imported as an aar as well).
Once I add the charts aar as a dependency (Chart-2014.2.0618-trialRelease), I'm seeing a compile error. It seems both the viewpager indicator and the charts libraries share some common style names. Is it possible to have these variables named in a unique way? (I realize that either party here could do the renaming, but it would be better if both named their own variables uniquely)
The viewpager indicator aar is from 'http://dl.bintray.com/populov/maven', 'com.viewpagerindicator:library:2.4.1@aar'
Compile error:
...\android\build\intermediates\exploded-aar\Chart-2014.2.0618-trialRelease\res\layout\default_tooltip_ohlc_content.xml
Error:(11, 21) No resource found that matches the given name (at 'id' with value '@id/chart_tooltip_category').
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
C:\dev\android-studio\sdk\build-tools\19.1.0\aapt.exe package -f --no-crunch -I C:\dev\android-studio\sdk\platforms\android-19\android.jar -M C:\...\android\app\build\intermediates\manifests\debug\AndroidManifest.xml -S
(...)
Error Code:
1
Output:
...\android\app\build\intermediates\res\debug\values\values.xml:216: error: Attribute "fillColor" has already been defined
...\android\app\build\intermediates\res\debug\values\values.xml:226: error: Attribute "strokeColor" has already been defined
...\android\app\build\intermediates\res\debug\layout\default_tooltip_ohlc_content.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/chart_tooltip_category').
Once I add the charts aar as a dependency (Chart-2014.2.0618-trialRelease), I'm seeing a compile error. It seems both the viewpager indicator and the charts libraries share some common style names. Is it possible to have these variables named in a unique way? (I realize that either party here could do the renaming, but it would be better if both named their own variables uniquely)
The viewpager indicator aar is from 'http://dl.bintray.com/populov/maven', 'com.viewpagerindicator:library:2.4.1@aar'
Compile error:
...\android\build\intermediates\exploded-aar\Chart-2014.2.0618-trialRelease\res\layout\default_tooltip_ohlc_content.xml
Error:(11, 21) No resource found that matches the given name (at 'id' with value '@id/chart_tooltip_category').
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
C:\dev\android-studio\sdk\build-tools\19.1.0\aapt.exe package -f --no-crunch -I C:\dev\android-studio\sdk\platforms\android-19\android.jar -M C:\...\android\app\build\intermediates\manifests\debug\AndroidManifest.xml -S
(...)
Error Code:
1
Output:
...\android\app\build\intermediates\res\debug\values\values.xml:216: error: Attribute "fillColor" has already been defined
...\android\app\build\intermediates\res\debug\values\values.xml:226: error: Attribute "strokeColor" has already been defined
...\android\app\build\intermediates\res\debug\layout\default_tooltip_ohlc_content.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/chart_tooltip_category').