亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

運行出錯?。?卡了幾天了

info Starting JS server...

info Launching emulator...

error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`.

warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.

info Installing the app...

> Task :app:installDebug FAILED


Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.

Use '--warning-mode all' to show the individual deprecation warnings.

See https://docs.gradle.org/5.5/userguide/command_line_interface.html#sec:command_line_warnings

27 actionable tasks: 2 executed, 25 up-to-date


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':app:installDebug'.

> com.android.builder.testing.api.DeviceException: No connected devices!


* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.


* Get more help at https://help.gradle.org


BUILD FAILED in 5s


error Failed to install the app. Make sure you have an Android emulator running or a device connected. Run CLI with --verbose flag for more details.

Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081


FAILURE: Build failed with an exception.


* What went wrong:

Execution failed for task ':app:installDebug'.

> com.android.builder.testing.api.DeviceException: No connected devices!


* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.


* Get more help at https://help.gradle.org


BUILD FAILED in 5s


? ? at checkExecSyncError (child_process.js:621:11)

? ? at execFileSync (child_process.js:639:15)

? ? at runOnAllDevices (E:\jinyu\android\AP\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:39)

? ? at processTicksAndRejections (internal/process/task_queues.js:93:5)



這是我運行 react-native run-android后的所有信息 什么模擬器也裝了 Android studio也裝了 Android sdk也裝了 但是具體有沒有配置對 就不知道了 求解


正在回答

1 回答

我是iOS出錯,路由那塊根本跑步起來

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
ReactNative入門與進階
  • 參與學習       70463    人
  • 解答問題       168    個

React Native跨平臺技術入門與進階

進入課程

運行出錯!! 卡了幾天了

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號