code: @Implementation(minSdk = P)
    protected static @Nullable String nativeGetResourceEntryName(long ptr, @AnyRes int resid) {
      CppAssetManager2 assetmanager = AssetManagerFromLong(ptr);
      final ResourceName name = new ResourceName();
      if (!assetmanager.GetResourceName(resid, name)) {
        return null;
      }
  
      if (name.entry != null) {
        return name.entry;
      // } else if (name.entry16 != null) {
      //   return name.entry16; // env.NewString(reinterpret_cast<jchar*>(name.entry16), name.entry_len);
      }
      return null;
    }
docs: static jstring NativeGetResourceEntryName(JNIEnv* env, jclass /*clazz*/, jlong ptr, jint resid) {