could not get batchedbridge make

2018-03-08  本文已影响0人  阿_贵

$ cd myproject

$ react-native start > /dev/null 2>&1 & 

$ curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle"

(if the folder assets does not exists create it)

Then run from project root

$> (cd android/ && ./gradlew assembleDebug)

install the created apk to you device, from location: android/app/build/outputs/apk/app-debug.apk

let me know if that fixes your issue

上一篇下一篇

猜你喜欢

热点阅读