I have my React Native open but I dont have that that option in the build-menu your are talking about. My React Native project is working fine, and im using expo on my phone for simulating the application (android). Ive also used eas build to create an apk-file, but Its enough, I need an signed apk-file. (Aab)
Hello Gail207martinez. Thanks for the help. I managed to do the first step (bundling) using react-native bundle --platform android --dev false --entry-file App.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
On the second step I got an error using ./gradlew bundleRelease. The error was "What went wrong: Execution failed for task ':app:createBundleReleaseJsAndAssets'."
I also tried /gradlew assembleRelease -x bundleReleaseJsAndAssets with any success.
I have my React Native open but I dont have that that option in the build-menu your are talking about. My React Native project is working fine, and im using expo on my phone for simulating the application (android). Ive also used eas build to create an apk-file, but Its enough, I need an signed apk-file. (Aab)
Hello Gail207martinez. Thanks for the help. I managed to do the first step (bundling) using
react-native bundle --platform android --dev false --entry-file App.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
On the second step I got an error using ./gradlew bundleRelease. The error was "What went wrong:
Execution failed for task ':app:createBundleReleaseJsAndAssets'."
I also tried /gradlew assembleRelease -x bundleReleaseJsAndAssets with any success.