Open RoshanPanahi2019 opened 11 months ago
I have used Android Studio Electric Eel.
On Thu, 3 Aug 2023 at 15:58, Roshan Panahi @.***> wrote:
I get the error below, after importing the android folder to Android Studio, and trying to build the APK:
import org.tensorflow.lite.examples.detection.tflite.TFLiteObjectDetectionAPIModel; ^ symbol: class TFLiteObjectDetectionAPIModel location: package org.tensorflow.lite.examples.detection.tflite
My App Gradle includes: implementation 'org.tensorflow:tensorflow-lite:2.4.0' implementation 'org.tensorflow:tensorflow-lite-gpu:2.4.0' implementation 'org.tensorflow:tensorflow-lite-select-tf-ops:2.4.0'
I'm using: JDK==17, Gradle Plugin==7.1.0, Gradle Version=7.3 Android Studio Flamingo | 2022.2.1 Patch 2 Runtime version: 17.0.6+0-17.0.6b802.4-9586694 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Linux 5.19.0-50-generic
Thanks!
— Reply to this email directly, view it on GitHub https://github.com/AarohiSingla/TFLite-Object-Detection-Android-App-Tutorial-Using-YOLOv5/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJ7RWVHV7BYYRETZ6K5VGLXTQUIHANCNFSM6AAAAAA3DNQXN4 . You are receiving this because you are subscribed to this thread.Message ID: <AarohiSingla/TFLite-Object-Detection-Android-App-Tutorial-Using-YOLOv5/issues/7 @github.com>
Thank you for the response. I just installed Electric Eel but the same error exists. Here is a visual:
What are the JDK, Gradle Plugin, Gradle Version, and NDKs that worked for you? Thanks!
Hi roshan. i also have the same issue, did you resolve yours? if yes, how?
I get the error below, after importing the android folder to Android Studio, and trying to build the APK:
import org.tensorflow.lite.examples.detection.tflite.TFLiteObjectDetectionAPIModel; ^ symbol: class TFLiteObjectDetectionAPIModel location: package org.tensorflow.lite.examples.detection.tflite
My App Gradle includes: implementation 'org.tensorflow:tensorflow-lite:2.4.0' implementation 'org.tensorflow:tensorflow-lite-gpu:2.4.0' implementation 'org.tensorflow:tensorflow-lite-select-tf-ops:2.4.0'
I'm using: JDK==17, Gradle Plugin==7.1.0, Gradle Version=7.3 Android Studio Flamingo | 2022.2.1 Patch 2 Runtime version: 17.0.6 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Linux
Thanks!