Test repo for facebook/react-native#20628
- launch android emulator
npm i
react-native run-android
- set
dev=false
minify=true
atDev Settings
of App's DevTools react-native log-android
for viewing console.logcurl "http://localhost:8081/index.android.bundle?platform=android&dev=false\&hot=false&minify=true" -o index.android.jsbundle
- click the button to throw error
- use line & column of error stack (app crash view OR console.log) to locate the position at jsbundle from step 6