I'm testing out react native and can run the dev server fine on an emulator. When I go to build the apk to test on a real device, I get an
Application not installed error
System
- My Device is Android 5.1.1
- Emulator is Android 4.4
- React Native 16
Steps to build apk
keytool -genkey -v -keystore my-app-key.keystore -alias my-app-alias -keyalg RSA -keysize 2048 -validity 10000react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/cd android && ./gradlew assembleRelease- Got apk
app-release-unsigned.apk
Is there anything I am missing and is the generated file supposed to be unsigned.apk ?