0

i stuck with this error when i try npx npx react-native run-android

1 Answers1

0

I got fixed this problem using the below steps.

cd MyApp

I was getting some blacklist.js some character issue. For that I referred this link and replaced sharedBlacklist character set.

(How to resolve the error on 'react-native start')

Next, I ran the below code snippet to address the bundle issue.( Ref Link :

https://medium.com/@adityasingh_32512/solved-unable-to-load-script-from-assets-index-android-bundle-bdc5e3a3d5ff)

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

react-native run-android Then, it started working. Hope this helps.