viestat / react-native-spotify

A native module that allows you to use the Spotify SDK API with react-native
MIT License
108 stars 23 forks source link

Failed to execute aapt #29

Closed chrisnharvey closed 6 years ago

chrisnharvey commented 6 years ago

I've been trying for ages, but seem to be struggling to get this setup on Android. See the error I'm getting below.

I'm running this on Ubuntu 18.04.

/home/chris/Projects/TotTunes/node_modules/react-native-events/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/home/chris/Projects/TotTunes/node_modules/react-native-events/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

/home/chris/Projects/TotTunes/node_modules/react-native-events/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15:21-54: AAPT: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.

/home/chris/Projects/TotTunes/node_modules/react-native-events/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

/home/chris/Projects/TotTunes/node_modules/react-native-events/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

/home/chris/Projects/TotTunes/node_modules/react-native-events/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.

:react-native-events:processReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-events:processReleaseResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
chrisnharvey commented 6 years ago

Whoops. Wrong project! My bad.