Running error using javafx ports

萝らか妹 提交于 2019-12-12 06:22:35

问题


  • What went wrong: Execution failed for task ':androidInstall'.

    com.android.builder.testing.api.DeviceException: java.lang.RuntimeException: No connected devices!

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


回答1:


Had the same problem yesterday.
I solved it with download & installing manually the driver from the internet for my device. Whats your device?

For Example:
My device is the MOTO G with Android 5.0.2
I just searching for the driver in google, installed it by the provider of my phone (Motorola) and tried the command line (gradlew installDebug) again.

worked for me. Hope it helps.



来源:https://stackoverflow.com/questions/32008715/running-error-using-javafx-ports

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!