没有版本的org.tensorflow:tensorflow-android可用

时间:2017-10-12 00:08:55

标签: java android tensorflow dependencies

我正在创建一个使用tensorflow进行图像识别的Android Studio项目,但是gradle控制台突然在下一行中提示错误:

compile 'org.tensorflow:tensorflow-android:+'

错误就是这个:

Error:A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugApkCopy'.
   > Could not find any matches for org.tensorflow:tensorflow-android:+ as no versions of org.tensorflow:tensorflow-android are available.
    

这是Tensorflow服务器的问题吗?或者我该如何解决?