chetstone / react-native-palette

A library wrapping the Android Palette class to extract colors from an image.
ISC License
73 stars 8 forks source link

Error building example app on Android #8

Closed chetstone closed 6 years ago

chetstone commented 6 years ago

It seems the dependency compile 'com.android.support:palette-v7:24.+' was pulling in other dependencies from v24 that conflicted with the v23 specified by other dependencies, producing the error message:

:app:transformClassesWithDexForDebug

UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompatIcs;

This discussion helped me track down the problem.

I don't why this wasn't seen this six months ago. Perhaps upgrading my android SDK triggered it.

chetstone commented 6 years ago

Fixed by 3c49e391390ec8a61d0a651044381f0a4fdd5539