kivy / pyjnius

Access Java classes from Python
https://pyjnius.readthedocs.org
MIT License
1.4k stars 255 forks source link

Invalid Static FieldID for class #82

Open tito opened 11 years ago

tito commented 11 years ago
PythonActivity = autoclass('org.renpy.android.PythonActivity')
PythonActivity.RESULT_OK

give:

W/dalvikvm(16054): JNI WARNING: static fieldID 0x41643930 not valid for class Lorg/renpy/android/PythonActivity;
W/dalvikvm(16054):              base=0x418a3270 count=6
W/dalvikvm(16054):              in Lorg/jnius/NativeInvocationHandler;.invoke0:(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; (GetStaticIntField)

(triggered in a on_activity_result callback using android.activity / p4a).

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1362775-invalid-static-fieldid-for-class?utm_campaign=plugin&utm_content=tracker%2F77133&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77133&utm_medium=issues&utm_source=github).
KeyWeeUsr commented 5 years ago

Still present on Android 8.0 with master, unfortunately. :/