I'm trying to test my React Native apk app file.
Here are the steps I made before generate the apk:
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
then
cd android && .\gradlew assembleRelease -x bundleReleaseJsAndAssets
I created the key store about a month ago. At that time, I built a AAB to publish to Play Store
I didn't re-generate a new one before doing this
And here's the behavior:It can't open
I uploaded the apk to a social media app called: Zalo. Then downloaded it to my phone. At first I can't open since the Play Store blocked it. Only when I disabled that ability of Play Service in Settings than I could download it
EDIT 1:I follow instructions on how to generate the apk from Android Studio, but at the end, it crashes and gives the error:
the transform cache was reset.EEXIST: file already exists, mkdir 'C:\Users\OKR\Desktop\MeetUp'
I don't know why this happens since I don't have that folder in the Desktop
PLEASE HELP MEEEE