React Native builder (android) based on Arch Linux. Android platforms and sdk build tools for most popular react-native modules included.
There are two versions of builder: -min
and full which contains more android platforms and sdk build tools.
If you are using minimal image check 'Android support library' section first.
git clone https://.../myproject.git
cd myproject
yarn
cd android
./gradlew assembleRelease
- latest
- latest
Contains only required packages for building basic projects with no third-party modules. In most cases you will need to install extra platforms
and sdk build-tools
with pacman or use this image as basic for your own image.
All package versions are recent for building date.
- nodejs
- yarn
- npm
- watchman
- openjdk8
- git
- 26
- 26.0.3
You can install extra sdk build tools with pacman:
pacman --noconfirm -Sy android-sdk-build-tools-25.0.1
(x.0.0 is named android-sdk-build-tools-x
)
Support library is available in Google maven repository now. Simply add this repository to android/build.gradle
:
allprojects {
repositories {
...
maven { url 'https://maven.google.com' }
...
}
}
...or install with pacman:
pacman --noconfirm -Sy android-support-repository
Install with pacman:
pacman --noconfirm -Sy android-google-repository
Contains much more android platforms, sdk build tools and compilers for npm native modules.
All package versions are recent for building date.
- nodejs
- yarn
- npm
- watchman
- openjdk8
- git
- fastlane
- ruby (for fastlane)
- python2 (for building some npm deps)
- make (for building some npm deps)
- gcc (for building some npm deps)
- 23
- 24
- 25
- 26
- 27
- 28
- 23.0.1
- 23.0.3
- 25.0.0
- 25.0.2
- 25.0.3
- 26.0.1
- 26.0.2
- 26.0.3
- 27.0.3
- 28.0.2
You can install extra sdk build tools with pacman:
pacman --noconfirm -Sy android-sdk-build-tools-25.0.1
(x.0.0 is named android-sdk-build-tools-x
)
- latest
- latest
You should use fastlane. It's really cool!
Arch Linux packages can be found here
pacman --noconfirm -Sy android-udev
Some extra packages for mobile development (android-ndk etc.) are available here
pacman --noconfirm -Sy react-native-cli android-ndk