-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
unable to load script make sure you are either running a metro server or that your bundle "index.android.bundle" is packaged correctly for release #25348
Comments
We are automatically closing this issue because it does not appear to follow any of the provided issue templates. 👉 Click here if you want to report a reproducible bug or regression in React Native. |
what the fuck is this? i had to run the following command to make it work for a bare bone app for android. 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 hopefully i remember if i ever pull it from my git. this is fucking stupid. no docs whatsoever about the update to gradle 5 > above. all my dependencies don't work. my app just go kaput? plus stupid google play forces u to go to API28, anything less, they'll reply something like 'fuck off'. |
android:usesCleartextTraffic="true" following |
On Arch Linux, the files mentioned in step 3 and 4 may not exactly have the same name (e.g. |
In my case, the emulator was on airplane mode. |
I m facing again this issue when I upgraded to react native 0.62.0 |
Pessoal, essa solução funcionou para mim: Não foi possível carregar o script dos ativos 'index.android.bundle'. Certifique-se de que ... 1- Para resolver, comece a criar uma pasta de ativos dentro da pasta android / app / src / main. 2- Logo após, execute o comando: npx react-native bundle --plataforma android --dev false --entry-file index.js - android-app de saída de pacotes / app / src / main / assets / index.android.bundle --assets-dest android / app / src / main / res / 3- Agora, feche o terminal e execute novamente o comando: npx react-nativo run-android |
I had same error, with a wipe data for emulator on AVD problem solved |
Man, so simple! Mine had the network disconnected... Thanks a lot! |
And even this won't work if you manually do not create the |
This error coming after generating release apk, Please Help
The text was updated successfully, but these errors were encountered: