使用javafx端口运行错误 [英] Running error using javafx ports

查看:275
本文介绍了使用javafx端口运行错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  • 出了什么问题:
    任务执行失败':androidInstall'。

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


com.android.builder.testing.api.DeviceException:java.lang.RuntimeException:没有连接的设备!

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


  • 尝试:
    使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行以获得更多日志输出。

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

    推荐答案

    昨天遇到同样的问题。

    我用下载&解决了这个问题从我的设备上手动安装驱动程序
    您的设备是什么?

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

    例如:

    我的设备是Android 5.0.2的MOTO G

    我只是在谷歌搜索驱动程序,由我的手机提供商(摩托罗拉)安装它并再次尝试命令行( gradlew installDebug )。

    为我工作。希望它有所帮助。

    worked for me. Hope it helps.

    这篇关于使用javafx端口运行错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆