问题
I download the latest tensorflow lite demo, show it:
Unable to resolve dependency for ':app@debug/compileClasspath':
Could not resolve org.tensorflow:tensorflow-lite:0.0.0-nightly.
Can you help me?
回答1:
try
compile 'org.tensorflow:tensorflow-lite:1.12.0'
more information, please visit https://jcenter.bintray.com/org/tensorflow/tensorflow-lite/maven-metadata.xml
回答2:
When i open it again, I can built it successfully. Maybe because network-wall in china. i missed some files. i downloaded it in path: https://github.com/tensorflow/tensorflow. demo in path: tensorflow/contrib/lite/java/demo/
I like this demo, it works well.
回答3:
close AndroidStudio totally, then start AndroidStudio, no problem any more!
来源:https://stackoverflow.com/questions/50959328/could-not-resolve-org-tensorflowtensorflow-lite0-0-0-nightly