Aviary crashes on Android L (5.0)

1.5k views Asked by At

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).

It said:

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.

4

There are 4 answers

0
SHS On BEST ANSWER

The latest aviary sdk both for Android studio and Eclipse is available at Aviary web site.

Gradle SDK - Version 3.6.3-Gradle

ANT SDK - Version 3.6.3-ANT

I was able to test the eclipse version integrated and tested on lollipop emulator. There was no any crash.

Please give feedback, if tested on actual Lollipop android device.

Aviary website link Aviary android sdk.

2
ynnadkrap On

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.

9
David K On

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.

0
Stephane Maarek On

Switch to adobe creative sdk https://creativesdk.adobe.com/

the Aviary library is now embedded there