-
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
React Native app shows 'index.android.bundle' error when setting targetSdkVersion to 28 #23391
Comments
+1 on Windows 10 |
I think that It could be related to this issue: #23349 (comment) |
Same problem after upgrading from RN 57.7 to 58.5 |
i had a same problme |
I ran into the same type of error with the bundle not being found. My issue was fixed by changing the gradle version I was using. I made a comment about this here #23739 (comment). Hopefully, the solution I used will work for someone else 😄 |
我升级28以后,在Android9.0系统上 ,text多行显示时,最后一行显示一半,好像整个text不计算行间距似的,这是怎么回事 |
I ran into the same problem with a project I upgraded to 0.59, so I thought the upgrading went wrong. After creating a new project with I followed the instructions mentioned here https://stackoverflow.com/questions/44446523/unable-to-load-script-from-assets-index-android-bundle-on-windows/44476757#44476757 (as @mr-niri posted) and this resolved my issue. Output of
|
Duplicate of #22024. |
AndroidManifest.xml file change as following
|
🐛 Bug Report
After I updated my
targetSdkVersion
from 27 to 28, I ranreact-native run-android
connected to an emulator and was presented with a screen stating "Unable to load script from assets 'index.android.bundle'. Make sure your bundle packaged correctly or you're running a package server."To Reproduce
From a new or existing (functioning) React Native app, change the
targetSdkVersion
inandroid/build.gradle
file to28
.Expected Behavior
The app loads as it did before.
Environment
The text was updated successfully, but these errors were encountered: