Was just testing my app and found out that after I upgraded my Nexus 5 to Lollipop/5.0, the Aviary SDK I use in it crashes big time.
In a google search I found an SO question asked yesterday with the exact same problem, but that question has been deleted by the user (I was able to view it through Googles cache).
When I run my project on Android L it crash every time with error: 11-20 09:27:38.560: A/art(13974): art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI GetFieldID called with pending exception 'java.lang.NoSuchFieldError' thrown in int com.aviary.android.feather.headless.moa.Moa.n_init(android.content.Context, java.lang.String, int):-2 anyone has any solution for this? thanks. ps, it fine with sdk <= 4.4
My problem is exactly the same - It worked pre-5.0 and on my other phone (Galaxy S2 with 4.1.3) it works perfectly.
I'm getting the same exact error. It seems like you have three options here.
Delve into the library source code and try to fix the bug yourself
Wait for Aviary/Adobe to patch it
Check the current Build.VERSION.SDK_INT and disallow Aviary if it is greater than 19.
I've found out that updating to the latest Aviary SDK version fixes the 5.0 issue - but also requires the developer to switch from ANT to Gradle = From Eclipse to Android Studio. It took me a very long time to get my projects working and building correctly in AS, but now it appears to be working - including Aviary.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With