Aviary crashes on Android L (5.0) - java

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.

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.

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.

Switch to adobe creative sdk https://creativesdk.adobe.com/
the Aviary library is now embedded there

Related

How to fix this error which happens when eclipse program starts?

Recently, when I start eclipse program, always got below error. I did not see this issue before, seems the error started after I update the Android SDK. Could you please help?
I got some answers from here. They recommend me to uninstall some images from android sdk 5.1.1. I didn't install these images and even I cannot find them under 5.1.1 version as below.
delete this guy
the solution to above problem is to just delete(uninstall) the package Android Wear ARM EABI v7a system image available under Android 5.1.1 (API 22) if it's installed. (No need to uninstall whole 5.1.1 package). May be there is some eclipse bug with this package.
Finally restart eclipse to see your changes.
If the problem still exists, try removing other Android Wear package also (i.e Android Wear Intel x86 Atom System Image)

How to work with Eclipse adt for Android lollipop development

I only have 1GB memory for my computer, 256GB hard disk, I was not able to install Android Studio. I want to work with Eclipse to develop android apps for Android 5.0 or above. Please guide me how can I do so. It would be better if any links are provided for step-by-step tutorial regarding this matter.
I am using "adt-bundle-windows-x86_64-20140702". When I tried to setup eclipse with Android Marshmallow I got following error shown in Eclipse
"This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in".
Instead of using adt plugin whoes been updated last time in
Mon, 2016-11-07 14:20
and stop being supported before 22 API level
, you can look at Andmore: Development Tools for Android in eclipse marketplace, and been official eclipse project.
Github project of Andmore, but it's not even if 1.0v
But you will won't do anything with 1GB memory :/

Unity 4.6 Throwing JAVA_HOME reference error when I imported Google Analytics Package

I know this question has been asked a lot, but I couldn't find any proper answer that solves my issue.
First, here's what I'm using:
List item
Unity 4.6
Android SDK Tools 26
Now, the problem is that once I imported Google Analytics V4 Package into my unity Android project, I started getting this error:
I know it's telling me that Unity is unable to find the JDK path in the environment variables, but the problem is that it's already there.
Here's my environment variables:
I'm 100% sure of the paths.
I tried every possible combination, installed 32-bit JDK, installed and updated Android SDK tools, Google play services and NDK.
I even restarted my laptop several times so System Environment Variables can take effect, but I'm still facing the same issue.
My Android SDK location in Unity is 100% correct, as it was working before.
I spent a lot of time googling this, but no answer worked for me.
Does anyone have an idea about this.
Just in case anyone came by this in the future, Google Analytics for Unity V4 is NOT compatible with Unity 4.6
It's so strange since i didn't find any clue about it on the web.

How to have single android SDK and AVD for eclipse and android studio

I am Eclipse user and developed android application easily on it. But recently when i saw android studio came and offered by android website i thought to give it a shot since it looks very promising. I have downloaded the android studio in my D drive while my previous SDKS and eclipse is installed in C drive C:\NV_ANDROIDPACK\android-sdk-windows\platforms ( I have used Nividea tegra for whole package in past)..
Now the problem is the android studio has downloaded android SDK 4.2.3 by default in D drive while my other previous sdks are in C drive C:\NV_ANDROIDPACK\android-sdk-windows\platforms.
Now i am trying to run android studio with my previous list of sdks and devices. To test this i have changed the project structure from the Android studio as well as modules and directed to the C:\NV_ANDROIDPACK\android-sdk-windows. Now the AVD manager and SDK manager are configured fine and i can see my installed sdk list and can create virtual devices.
But when i run this it gives me error Cannot load AVD list Error parsing C:\NV_ANDROIDPACK\android-sdk-windows\tools\lib\devices.xml . When i opened the xml file for the newer SDK i found some new xml tags has been added so might be this error but not sure how to solve it.
Is there any good way to have both of the IDE with single SDK of android?
This was happening due to the older version in the existing sdk of the Andorid SDK tools , which can be update with new revisions. After that the error is gone and now able to run the emulator ...

Android ADT plugin error

I installed the Android SDK. When I try to import the ADT plugin I get this error:
"Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 10.0.0.v201102162101-104271 (com.android.ide.eclipse.adt.feature.group 10.0.0.v201102162101-104271)
Missing requirement: Android Development Tools 10.0.0.v201102162101-104271 (com.android.ide.eclipse.adt.feature.group 10.0.0.v201102162101-104271) requires 'org.eclipse.gef 0.0.0' but it could not be found"
See here. It looks exactly like your issue.
Is this the first time running the application? If know you may need to uninstall the app from the emulator or device. I ran into this issue before I just made sure the the old app was no longer on the device I was using.
Also if that doesn't work provde and little bit more info so we can help. Perhaps open up the DDMS perspective and seletct the emulator you are using. DDMS is a very helpful tool to determine what is going on.

Categories

Resources