java.lang.NoSuchFieldError

no "I" field "mNativeContext" in class "Landroid/systemMMT/oam/OamJniTest/HelloJNI;" or its superclasses

Solutions on the web237

  • no "I" field "mNativeContext" in class "Landroid/systemMMT/oam/OamJniTest/HelloJNI;" or its superclasses
  • no "I" field "mConnectionPtr" in class "Landroid/database/sqlite/SQLiteConnection;" or its superclasses
  • via Google Groups by Ersin Ertan, 1 month ago
    no "I" field "mConnectionPtr" in class "Landroid/database/sqlite/SQLiteConnection;" or its superclasses
  • Stack trace

    • java.lang.NoSuchFieldError: no "I" field "mNativeContext" in class "Landroid/systemMMT/oam/OamJniTest/HelloJNI;" or its superclasses at java.lang.Runtime.nativeLoad(Native Method) at java.lang.Runtime.doLoad(Runtime.java:428) at java.lang.Runtime.loadLibrary(Runtime.java:369) at java.lang.System.loadLibrary(System.java:988) at android.systemMMT.oam.OamJniTest.HelloJNI.<clinit>(HelloJNI.java:8) at android.systemMMT.oam.OamJniTest.MainActivity$1.onClick(MainActivity.java:21) at android.view.View.performClick(View.java:4809) at android.view.View$PerformClick.run(View.java:20006) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5280) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.