You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E/AndroidRuntime(28327): Process: com.exmple.app, PID: 28327
E/AndroidRuntime(28327): java.lang.NoClassDefFoundError: Failed resolution of: Lorg/tensorflow/lite/gpu/GpuDelegateFactory$Options;
E/AndroidRuntime(28327): at org.tensorflow.lite.gpu.GpuDelegate.<init>(GpuDelegate.java:53)
E/AndroidRuntime(28327): at sq.flutter.tflite.TflitePlugin.loadModel(TflitePlugin.java:267)
E/AndroidRuntime(28327): at sq.flutter.tflite.TflitePlugin.onMethodCall(TflitePlugin.java:132)
E/AndroidRuntime(28327): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
E/AndroidRuntime(28327): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)
E/AndroidRuntime(28327): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/AndroidRuntime(28327): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/AndroidRuntime(28327): at android.os.Handler.handleCallback(Handler.java:1013)
E/AndroidRuntime(28327): at android.os.Handler.dispatchMessage(Handler.java:101)
E/AndroidRuntime(28327): at android.os.Looper.loopOnce(Looper.java:226)
E/AndroidRuntime(28327): at android.os.Looper.loop(Looper.java:328)
E/AndroidRuntime(28327): at android.app.ActivityThread.main(ActivityThread.java:9176)
E/AndroidRuntime(28327): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(28327): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:586)
E/AndroidRuntime(28327): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
E/AndroidRuntime(28327): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.tensorflow.lite.gpu.GpuDelegateFactory$Options" on path: DexPathList[[zip file "/data/app/~~0xnbUkoK8PZg7fjquy-iMQ==/com.exmple.app-4zfN4OvmP50OXdmzWQE22A==/base.apk"],nativeLibraryDirectories=[/data/app/~~0xnbUkoK8PZg7fjquy-iMQ==/com.exmple.app-4zfN4OvmP50OXdmzWQE22A==/lib/arm64, /data/app/~~0xnbUkoK8PZg7fjquy-iMQ==/com.exmple.app-4zfN4OvmP50OXdmzWQE22A==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]
E/AndroidRuntime(28327): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
E/AndroidRuntime(28327): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/AndroidRuntime(28327): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/AndroidRuntime(28327): ... 15 more
I/Process (28327): Sending signal. PID: 28327 SIG: 9
Lost connection to device.
The text was updated successfully, but these errors were encountered:
crash when useGpuDelegate is true in v2,
like this:
Has anyone encountered it before?
The text was updated successfully, but these errors were encountered: