react-native-component / react-native-smart-splash-screen

A smart splash screen for React Native apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build fails on Ubuntu 14.04 x86

atlanteh opened this issue · comments

Up until now we ran builds in windows and everything went smoothly.
Now we started using Ubuntu and the build fails:

/home/user/Android/Sdk/build-tools/24.0.0/aapt: 5: /home/user/Android/Sdk/build-tools/24.0.0/aapt: Syntax error: end of file unexpected (expecting ")")

I've investigated the issue and it seems that the root is that your build.gradle requires build-tools 24.0.0.
If I go to node_modules/react-native-smart-splashscreen/android/build.gradle and change build-tools to 23.0.3, the build completes successfully.
You can see this SO question for reference..