Cannot access tensorflow.lite.support.tensorbuffer

Issue

I’m getting this error in Android Studio:

"Cannot access class ‘org.tensorflow.lite.support.tensorbuffer.TensorBuffer’. Check your module classpath for missing or conflicting dependencies"

What is the problem ? and How can I fix it ?

enter image description here

Solution

Please add the following item in the build.gradle:

dependencies {
    ...
    implementation 'org.tensorflow:tensorflow-lite-support:0.1.0-rc1'
}

Answered By – Jae sung Chung

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published