簡體   English   中英

反應本機Genymotion VM Windows 10

[英]react-native Genymotion VM Windows 10

我試圖讓本機在我的Genymotion虛擬設備上工作。

當我在命令提示符下執行react-native run-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,但這並沒有幫助。

您可以按照這個問題的答案。 您只需要在設置中將genymotion上的AndroidSDK的路徑更改為已安裝的android sdk。

反應本地errorTimeout獲取設備列表。 在Ubuntu上運行Hello World時

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM