Hi, @George_Soloupis ,
Thank you for responding to my help request.
Well, I was running on flutter’s tflite plugin with my modification 2 to include flex delegate. I have included both binaries from extracted from the those AARs.
https://search.maven.org/artifact/org.tensorflow/tensorflow-lite/2.5.0/aar and https://search.maven.org/artifact/org.tensorflow/tensorflow-lite-select-tf-ops/2.5.0/aar.
This should have a similar effect to having these on gradle:

implementation ‘org.tensorflow:tensorflow-lite:2.5.0’
implementation ‘org.tensorflow:tensorflow-lite-select-tf-ops:2.5.0’

My errors of my current model is showing those error messages:

I/tflite  (27736): Created TensorFlow Lite delegate for select TF ops.
I/tflite  (27736): Initialized TensorFlow Lite runtime.
I/native  (27736): core/platform/cpu_feature_guard.cc:142 This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  SSE3 SSE4.1 SSE4.2
I/native  (27736): To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
I/tflite  (27736): TfLiteFlexDelegate delegate: 71 nodes delegated out of 512 nodes with 25 partitions.
I/tflite  (27736): Replacing 71 node(s) with delegate (TfLiteFlexDelegate) node, yielding 50 partitions.
E/tflite  (27736): Op type not registered 'CaseFoldUTF8' in binary running on localhost. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.
E/tflite  (27736): Op type not registered 'RegexSplitWithOffsets' in binary running on localhost. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 5 nodes delegated out of 15 nodes with 2 partitions.
I/tflite  (27736): Replacing 5 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 8 nodes delegated out of 20 nodes with 2 partitions.
I/tflite  (27736): Replacing 8 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 2 nodes delegated out of 4 nodes with 1 partitions.
I/tflite  (27736): Replacing 2 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 4 nodes delegated out of 10 nodes with 2 partitions.
I/tflite  (27736): Replacing 4 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 1 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/chatty  (27736): uid=10154(app.pockett.mlkit_test) 1.ui identical 2 lines
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 1 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 1 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 1 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 1 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 2 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 0 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 8 nodes delegated out of 20 nodes with 2 partitions.
I/tflite  (27736): Replacing 8 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 1 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 2 nodes delegated out of 40 nodes with 2 partitions.
I/tflite  (27736): Replacing 2 node(s) with delegate (TfLiteFlexDelegate) node, yielding 5 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 1 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 9 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 2 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 3 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 5 nodes delegated out of 10 nodes with 2 partitions.
I/tflite  (27736): Replacing 5 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 1 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 4 nodes delegated out of 91 nodes with 2 partitions.
I/tflite  (27736): Replacing 4 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 1 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 2 nodes delegated out of 9 nodes with 2 partitions.
I/tflite  (27736): Replacing 2 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 1 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 2 nodes delegated out of 18 nodes with 2 partitions.
I/tflite  (27736): Replacing 2 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 1 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 3 nodes delegated out of 8 nodes with 2 partitions.
I/tflite  (27736): Replacing 3 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 1 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 3 nodes delegated out of 8 nodes with 2 partitions.
I/tflite  (27736): Replacing 3 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 1 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 3 nodes delegated out of 8 nodes with 2 partitions.
I/tflite  (27736): Replacing 3 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 2 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 1 nodes delegated out of 17 nodes with 1 partitions.
I/tflite  (27736): Replacing 1 node(s) with delegate (TfLiteFlexDelegate) node, yielding 3 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 0 nodes delegated out of 2 nodes with 0 partitions.
I/tflite  (27736): TfLiteFlexDelegate delegate: 3 nodes delegated out of 11 nodes with 2 partitions.
I/tflite  (27736): Replacing 3 node(s) with delegate (TfLiteFlexDelegate) node, yielding 4 partitions.
E/tflite  (27736): Delegate kernel was not initialized
E/tflite  (27736): Node number 512 (TfLiteFlexDelegate) failed to prepare.


Apologies, for such a long log, the full model has many flex ops. I will try to replicate the issue on just the Android project with a smaller gist tflite model. I will share that with you when I’m ready.