Tipsi-stripe: unable to load script from assets 'index.android.bundle'

Created on 14 Dec 2017  路  4Comments  路  Source: tipsi/tipsi-stripe

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.

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

All 4 comments

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

Was this page helpful?
0 / 5 - 0 ratings