Creating aab-file in IntelliJ

I have my React Native project in IntelliJ. Is it possible to create a aab-file (Android app bundle) using IntelliJ? 

0
2 comments

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)

0

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.

0

Please sign in to leave a comment.