Example android app show "GPU is not supportted".
@megleo 
Are you trying to reproduce the [example](https://github.com/tensorflow/examples/tree/master/lite/examples/image_classification/android) locally for custom data and hitting problems?

If so, can you please mention what steps have you changed?

Thank you ! @tiruk007 
Thanks for your reply.

We do nothing but download the sample code and compile into app and install app on our embedded device.

BTW, we are embedded device manufacturer, and using the example app to test whether our embedded device tflite work well or not.

Best

 @megleo 
Thanks for the information,  I have tried to reproduce the example on gpu and nnapi and didn't face any error.Please refer to the screenshot below:
[NNAPI](https://user-images.githubusercontent.com/111861663/228489824-93c5509b-02aa-44cb-bc5e-0a29278ab983.jpg)
[GPU](https://user-images.githubusercontent.com/111861663/228489851-d06ee7c9-1e29-4b9d-9e68-e919f5850408.jpg)


Could you please provide more details and steps you followed to encounter the issue.

Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/59980">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/59980">No</a>

<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Support

### Have you reproduced the bug with TF nightly?

Yes

### Source

source

### Tensorflow Version

tf.2.8

### Custom Code

Yes

### OS Platform and Distribution

_No response_

### Mobile device

_No response_

### Python version

_No response_

### Bazel version

_No response_

### GCC/Compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current Behaviour?

```shell
Here are some details that will aid in this troubleshooting session:

Using the tensorflow lite sample android app(https://github.com/tensorflow/examples/tree/master/lite/examples/image_classification/android).
But as the attached GPUNOTSUPPORT.png shown, currently on the 2290, when selecting GPU or NNAPI delegates the sample app shows "GPU is not supported"

Look into the sample android app code.
1. As GPU.png shown, "GPU is not supported" occurred.
2. As the attached code1.png shown, the order call relationship.

The following code is very important:
public CompatibilityList() {
this.compatibilityListHandle = createCompatibilityList();
}
private static native long createCompatibilityList();
guss that createCompatibilityList() make problem.

Look into tensorflow code check createCompatibilityList:

1. In tensorflow/lite/delegates/gpu/java/src/main/native/compatibility_list_jni.cc +69
As the tensorflow.png shown,
75 // Errors in ReadInfo should almost always be failures to construct the OpenGL
76 // environment. Treating that as "GPU unsupported" is reasonable, and we can
77 // swallow the error

82 JNIEXPORT jboolean JNICALL
83 Java_org_tensorflow_lite_gpu_CompatibilityList_nativeIsDelegateSupportedOnThisDevice(
84 JNIEnv* env, jclass clazz, jlong compatibility_list_handle) {
85 if (!tflite::jni::CheckJniInitializedOrThrow(env)) return JNI_FALSE;
86
87 CompatibilityListHelper* compatibility_list =
88 reinterpret_cast<CompatibilityListHelper*>(compatibility_list_handle);
89 return compatibility_list->IsDelegateSupportedOnThisDevice() ? JNI_TRUE
90 : JNI_FALSE;
91 }

Thanks you very much.
```


### Standalone code to reproduce the issue

```shell
Using the tensorflow lite sample android app(https://github.com/tensorflow/examples/tree/master/lite/examples/image_classification/android).
But as the attached GPUNOTSUPPORT.png shown, currently on the 2290, when selecting GPU or NNAPI delegates the sample app shows "GPU is not supported"
```


### Relevant log output

_No response_</details>