New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Bundle Release isn't building #34484
Comments
i have the same problem. npx react-native doctor gives me:
echo $ANDROID_SDK_ROOT: echo $PATH: what am i supposed to get? |
I couldn't figure it out so I switched the code base to kotlin. I may never visit Reactnative anytime soon |
Can you clarify what do you mean with 'doesn't bundle the app at all'. The app is bundled in the
Also this is not a React Native version.
If you don't need furhter support, please close this issue @IsaiahTek |
As shown in the imagine, the reactnative version is 0.69.3 |
I get it is bundled in the folder |
Could you share your whole build log from the terminal as a text (not as an image)? |
Here it is Note: The log below is for the latest ReactNative version (i.e 0.70.1). Moving into the android directory with
|
The problem is because you're invoking the wrong task. You should invoke |
Is this specific to version 0.70.1 or to all versions? |
Is specific to all versions. It's actually part of the Android framework. |
OK. Thanks |
I am able to build apk with the assembleRelease command but getting these warnings. So can someone please explain what are all these warnings? I am using |
I was able to solve it by removing "react-native-svg" package from the package.json |
@maxjerry0107 I have removed "react-native-svg" but still showing warning. you have any solution? |
ndroid\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle:3373:18: warning: the variable "DebuggerInternal" was not declared in function "__shouldPauseOnThrow" I am able to build apk with the gradlew assembleRelease command but getting these warnings. can you help me |
Hi akash0912, Above warnings you have fixed? have any solution? |
I also experienced the same warnings and failed my build because of the heap size. Can you please update the documentation on how to properly integrate with existing android native app? been 2 week and still no solution. I have multi module android app with kotlin DSL. |
PS C:\Users\Elu Lozano\Desktop\esp8266\temporizador\Tempor\android> ./gradlew assembleRelease
info Writing bundle output to:, android\app\build\generated\assets\createBundleReleaseJsAndAssets\index.android.bundle BUILD SUCCESSFUL in 2m 19s |
Description
After I created my project and build bundle release twice, I started encountering this issue of not generating a bundled app for release.
I followed the steps of first
cd android
Then I do:
./gradlew buildRelease
It finishes without any error but doesn't bundle the app at all
Version
0.69.3
Output of
npx react-native info
Fetching system and libraries information...
System:
OS: Linux 5.15 Deepin 20.6 20.6
CPU: (4) x64 Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
Memory: 6.00 GB / 15.51 GB
Shell: 5.0.3 - /bin/bash
Binaries:
Node: 16.16.0 - ~/.config/nvm/versions/node/v16.16.0/bin/node
Yarn: Not Found
npm: 8.11.0 - ~/.config/nvm/versions/node/v16.16.0/bin/npm
Watchman: 20220821.200817.0 - /usr/local/bin/watchman
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java: 18.0.2 - /home/user/Development/jdk-18.0.2/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: Not Found
npmGlobalPackages:
react-native: Not Found
NOTE
I have Android Studio installed on my machine and followed the steps to add to PATH as documented in the official react-native website. But when I
npx react-native info
it keeps giving the Android SDK: Not Found. However,npx react-native start
andnpx react-native run-android
are both working fine and even working with the emulator perfectly.Steps to reproduce
Create a new app on Deepin 2.6
Try to build bundle (aab) release.
If you can build the bundle release (aab) subsequently then help me with how you got that done
Snack, code example, screenshot, or link to a repository
info Writing bundle output to:, /media/user/5230AE8E30AE789D/SHARED_STORAGE/DEV-APPS/ReactNative Apps/APP/android/app/build/generated/assets/react/release/index.android.bundle
info Writing sourcemap output to:, /media/user/5230AE8E30AE789D/SHARED_STORAGE/DEV-APPS/ReactNative Apps/APP/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map
info Done writing bundle output
info Done writing sourcemap output
The text was updated successfully, but these errors were encountered: