Open mirco975 opened 3 years ago
Forum Reference: https://forum.lazarus.freepascal.org/index.php/topic,54916.0.html
I guess, the question is not what is the work around, but why is it crashing now and not before? Does that not mean that a bug has been introduced?
" why is it crashing now and not before?"
Because Android CHANGED (about safety....)!!!
Hi, mirco975
About: "JNI DETECTED ERROR IN APPLICATION: use of invalid jobject 0xffd0302c"
We are investigating this issue...
Thank you!
Hi, LoganTennis
About "Does that not mean that a bug has been introduced?"
We are investigating this issue...
Thank you!
Hi, All
We just apply a patch to try fix the issues pointed here!
Thanks to everyone!
Did he check all assets? Sometimes not taking care assets lead to this error, ex: form2 got declaration need a.png, but in asset folder got no a.png, not catching error on form2 on.show or jni prompt also can lead this error happen.
if(AndroidModule2 = nil) then begin gApp.CreateForm(TAndroidModule2, AndroidModule2);
end else begin AndroidModule2.Show; end;
logcat device JNI DETECTED ERROR IN APPLICATION: use of invalid jobject 0xffd0302c
gradle 6.8.3 or 6.6.1 android sdk 25 ndk 22