0
我想讓我的Genymotion虛擬設備上的工作反應原生。react-native Genymotion VM Windows 10
當我執行反應本地運行的Android在命令提示符下,我得到了下面的:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: Timeout getting device list.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 53.693 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
什麼也沒有發生在VD。 我已經嘗試在Genymotion上設置自定義SDK,但它沒有幫助。
使用此代碼「ADB設備的 檢查設備和反應本地橋運行「亞行反轉TCP:TCP 8081:8081」準備 那麼「故宮開始」和「反應本地運行 - 機器人」。我希望這會解決你的問題:) –