I cloned the 'tipsi-stripe' and run the react-native project in example folder.
Nothing is changed in package.json. I just run it.
Build succeeded.
But I got an error 'unable to lead script from assets 'index.android.bundle'' on android phone after launch.
Let me know what's wrong.
Thanks.
This issue helped me resolve the problem in following steps.
(in project directory) mkdir android/app/src/main/assets
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
same error give me solution ?
Above code work for your issue.
I have same error but it solved my problem
Most helpful comment
This issue helped me resolve the problem in following steps.
(in project directory) mkdir android/app/src/main/assets
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