Could Not Resolve Org.tensorflow:tensorflow-lite:0.0.0-nightly
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
Solution 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
Solution 2:
The previous nightly build was broken due to the Jcenter updates. Please refer to the new nightly build:
org.tensorflow:tensorflow-lite:0.0.0-nightly-SNAPSHOTSolution 3:
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.
Solution 4:
close AndroidStudio totally, then start AndroidStudio, no problem any more!
Post a Comment for "Could Not Resolve Org.tensorflow:tensorflow-lite:0.0.0-nightly"