how to make apk react native
After run this in cmd
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
cd android && ./gradlew assembleDebug
then you can get apk app/build/outputs/apk/debug/app-debug.apkreact-native run-android --variant=release...
android {
...
defaultConfig { ... }
signingConfigs {
release {
if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
storeFile file(MYAPP_RELEASE_STORE_FILE)
storePassword MYAPP_RELEASE_STORE_PASSWORD
keyAlias MYAPP_RELEASE_KEY_ALIAS
keyPassword MYAPP_RELEASE_KEY_PASSWORD
}
}
}
buildTypes {
release {
...
signingConfig signingConfigs.release
}
}
}
...
Also in JavaScript:
- javascript on keypu
- declarar una funcion javascript
- javascript open in new window not tab
- download audio file javascript
- javascript get list of class names
- express validator
- setting multiple styles in javascript
- react how to pass the input target value
- angular submit form programmatically
- limitar la cantidad de decimales en javascript
- import svg react
- node sudo nvm
- jquery order by specific order
- jquery add text to textbox
- react social login buttons
- jquery get value radio by name
- defer parsing of javascript wordpress
- how to call a function in react with arguments onclick
- format currency javascript
- how to copy text from input through button click js
- how to create uuid in javascript
- javascript round to 2 digits
- find next greater number with same set of digits javascript
- how to wait for a function to finish in javascript