


gradlew assembleDebug & cd app/src/main/res/ & rmdir /S /Q raw & rmdir /S /Q drawable-mdpi", "debug-build": "react-native bundle -platform android -dev false -entry-file index.js -bundle-output android/app/src/main/assets/ -assets-dest android/app/src/main/res/ & cd android &. "reset": "rm -rf node_modules/ & npm cache clear & watchman watch-del-all & npm i", "start": "node node_modules/react-native/local-cli/cli.js start -reset-cache", Now you can directly run scripts from here If (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) * VS Code Then edit app/adle and ensure the following are there (the sections with signingConfigs signingConfig may need to be added). If you're using MacOS, you can store your password in the keychain using the instructions here instead of storing it in plaintext. With the correct keystore password, alias and key password) MYAPP_RELEASE_STORE_FILE=my-release-key.keystore ~/.gradle/gradle.properties and add the following (replace **** Place the my-release-key.keystore file under the android/appĭirectory in your project folder. The following worked for me: $ keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000 I had to generate a signed apk using the instructions here. Following Aditya Singh's answer the generated (unsigned) apk would not install on my phone.
