Flurry Agent crashing App - Extension Native Android

I created an Extension native Android for my game. I need to be able to access a 3rd party sdk (for which I have the source files) which was written in java.

The SDK uses Flurry Analytics for the recording of events and it is integrated into the sdk source code.

I managed to get a donkey work that can communicate back and forth between my game and java sdk, however, when trials of sdk to initialize it reports class, the method of "initialization" app running ends prematurely. It does not crash the application and without exception is reported in the code, but because the method ends prematurely, all the initialization code that follows doesn't run, so blow the full sdk.

In the Android Debug Monitor LogCat, I get the following result when the class declaration is created:

12-28 15:05:26.488: I/dalvikvm (1776): method com.flurry.android.FlurryAgent.onEndSession, referenced from method com.bigfishgames.bfglib.bfgReporting.destroy is not found
12-28 15:05:26.488: W/dalvikvm (1776): VFY: unable to solve the static method 1973: MBCA/burst/android/FlurryAgent; onEndSession (Landroid/content/context ;) V
12-28 15:05:26.488: D/dalvikvm (1776): VFY: replacement opcode 0 x 71 to 0 x 0011
12-28 15:05:26.488: D/dalvikvm (1776): VFY: dead code 0 x 0014-0016 in mCol, bigfishgames, bfglib, bfgReporting; destroy (V)
12-28 15:05:26.488: I/dalvikvm (1776): method com.flurry.android.FlurryAgent.onStartSession, referenced from method com.bigfishgames.bfglib.bfgReporting.sharedInstance is not found
12-28 15:05:26.488: W/dalvikvm (1776): VFY: unable to solve the static method 1975: MBCA/burst/android/FlurryAgent; onStartSession (Landroid/content/context; Ljava/lang/String ;) V
12-28 15:05:26.488: D/dalvikvm (1776): VFY: replacement opcode 0 x 71 to 0 x 0067
12-28 15:05:26.488: I/dalvikvm (1776): method com.flurry.android.FlurryAgent.onError, referenced from method com.bigfishgames.bfglib.bfgReporting._logError is not found
12-28 15:05:26.488: W/dalvikvm (1776): VFY: unable to solve the static method 1974: MBCA/burst/android/FlurryAgent; onError (Ljava/lang/String; Ljava/lang/String; Ljava/lang/String ;) V
12-28 15:05:26.488: D/dalvikvm (1776): VFY: replacement opcode 0 x 71 to 0x0004
12-28 15:05:26.488: D/dalvikvm (1776): VFY: dead code 0 x 0007-0007 by mCol, bigfishgames, bfglib, bfgReporting; _logError (Ljava/lang/String; Ljava/lang/String; Ljava/lang/Exception ;) V
12-28 15:05:26.488: I/dalvikvm (1776): method com.flurry.android.FlurryAgent.onError, referenced from method com.bigfishgames.bfglib.bfgReporting._logError is not found
12-28 15:05:26.488: W/dalvikvm (1776): VFY: unable to solve the static method 1974: MBCA/burst/android/FlurryAgent; onError (Ljava/lang/String; Ljava/lang/String; Ljava/lang/String ;) V
12-28 15:05:26.488: D/dalvikvm (1776): VFY: replacement opcode 0 x 71 to 0x0000
12-28 15:05:26.488: D/dalvikvm (1776): VFY: dead code 0 x 0003-0003 by mCol, bigfishgames, bfglib, bfgReporting; _logError (Ljava/lang/String; Ljava/lang/String; Ljava/lang/String ;) V
12-28 15:05:26.488: I/dalvikvm (1776): method com.flurry.android.FlurryAgent.logEvent, referenced from method com.bigfishgames.bfglib.bfgReporting.logEvent is not found
12-28 15:05:26.488: W/dalvikvm (1776): VFY: unable to solve the static method 1971: MBCA/burst/android/FlurryAgent; logEvent (Ljava/lang/String ;) V
12-28 15:05:26.488: D/dalvikvm (1776): VFY: replacement opcode 0 x 71 to 0x0000
12-28 15:05:26.488: D/dalvikvm (1776): VFY: dead code 0 x 0003-0003 by mCol, bigfishgames, bfglib, bfgReporting;
. logEvent (Ljava/lang/String ;) V
12-28 15:05:26.488: I/dalvikvm (1776): method com.flurry.android.FlurryAgent.logEvent, referenced from method com.bigfishgames.bfglib.bfgReporting.logEvent is not found
12-28 15:05:26.488: W/dalvikvm (1776): VFY: unable to solve the static method 1972: MBCA/burst/android/FlurryAgent; logEvent (Ljava/lang/String; Ljava/util/Map ;) V
12-28 15:05:26.488: D/dalvikvm (1776): VFY: replacement opcode 0 x 71 to 0x0000
12-28 15:05:26.488: D/dalvikvm (1776): VFY: dead code 0 x 0003-0003 by mCol, bigfishgames, bfglib, bfgReporting; logEvent (Ljava/lang/String; Ljava/util/Map ;) V

Then when the source sdk runs FlurryAgent.onStartSession, the java code stops running and kicking all the way back the action script code.

I did some reading, and the only thing I found similar was as follows:

Check the properties of the project Java build path, then the order and export tab make sure that the FlurryAgent.jar is selected.

In my project, I have the FlurryAgent.jar added as an external jar in libraries and in order and export, it is at the top of the list, just below the FlashRuntimeExtension.jar and it is checked.

To create the jar of my donkey, I right click on the project, by selecting export, I then select the Java jar.

Resources and export generated class files is checked

compress the contents of the jar file is checked

Add directory entries is checked

and all the files and folders in my project are checked.

I opened the final .jar file in winrar and the file FlurryAgent.jar libs folder as well as the FlashRuntimeExtensions.jar

Anyone know what I'm doing wrong, or not to the apk file (like an addiction, I don't know)?

I use Eclipse for Mobile developers Version: Juno Service Release 1 Build id: 20121004-1855 as my Java IDE to generate the jar native extension on Windows 7

I build the DONKEY with Air 3.5.0.840

Using Flash Builder 4.6 to build the apk

Tests on a Sony Ericsson Xpeira phone Android 2.3.4 running

You must extract the external .class to the JAR files and then insert them into your target donkeys JAR.

In the Java JDK BIN directory, you will find "jar.exe.

You must run:

jar - xf external.jar (or what is called the pot burst)

This will extract the .class files in a file format, with the highest level (probably ' com') directory in the same directory as the external.jar.

Now, you need to run:

jar - uf yourJar.jar com

This will include all classes, recursively, in "yourJar.jar" so that they can be used within your extension.

Tags: Adobe AIR

Similar Questions

  • Location of service on a native android app URL

    Hello


    I create a new native Android app with direct payment entitlement, but I can't find the settings 'URL of Service' and 'Service Auth URL' in the Android web native application builder. They exist in the legacy application builder and still exist in the iOS one. How to do in this situation? Is there another way or place to fill this option or it is not necessary to direct payment?

    Thank you.

    You don't need Service URL and URL of the Service Auth for Android applications. Simply specify the ID of the Integrator.

  • How to pass the legacy of a native Android app with minimal interruption

    It got to the point where I am recommending that my client switch their DPS app for Android native heritage. Can anyone offer an overview of the process of moving to an existing application? Most of the Adobe support documents are written for the start of a new application in native format. I need to give the customer an idea of how the transition will affect existing subscribers on the Android platform (i.e. will they need to download a new application, or if it will work as an update) and what we can do to keep the readers if they do not need to download an entirely new application.

    What complicates the situation, is that the likely customer want keep the legacy app so that we can to continue the offer on Amazon, because Kindle devices represent 60% of our non - iOS downloads.

    Thank you!

    To replace the legacy viewer existing, just use the same ID of beam used in the legacy application when you generate the native Android Viewer and then submit the application as a new version in the portal of the Google developers play. To locate the ID of group for the legacy Viewer, open the DPS App Builder desktop version and look at the list of applications. It may include a .air prefix, depending on when the application is built. If so, use the .air prefix when you specify the ID of group for the native Viewer, even if it is not an AIR application. The Bundle ID just needs to be the same. If you want two separate applications - that - I do not recommend using a different beam ID and submit it as a new application developers portal.

    The Amazon app is a different application that is unrelated to the game of Google app. You can continue to leave the application in the Amazon Appstore.

  • I can't create a native android app made with a 2560 x 1600. I only see the 2048 x 1536, 1024 x 768 option in the web native Android app?

    Hi all

    I created a native android app. I need to publish on a 2560 x 1600 android tab, the problem is that in my library, I have my ipad version of 2048 x 1536 and 1024 x 768.

    I know that when I create my native Android app, that I should be able selected my native interpretation in only 2560 x 1600, but in the library of android app generator tab of web I see only the option of 2048 x 1536 and 1024 x 768.

    Please do you have any idea?

    TX

    The drop-down list lists only folio sizes that you have published in the account of publication of your application. Make sure that you have actually published a folio of 2560 x 1600, and then you will be able to select from the drop-down list.

    Neil

  • Problems of deployment of native extensions on Android

    I'm currently testing a native extension on Android, but I get the following error when you try to build and push the device:

    "A strategy for native extension"extension name"required by the application is not found for the target platform."

    I thought that I had screwed up creating my extension somehow so I tried to use other and it doesn't matter what extension I try, I still get the same error. Has anyone else encountered this problem? If so, how to solve it?

    Thank you.

    If anyone runs into this problem using FlashDevelop, follow the steps detailed here: https://plus.google.com/u/0/109524935899218597554/posts/7rhFEX7S372

    That he solved it for me. Woohoo!

  • ClassNotFound Extension Native

    Hello

    I created a native extension of the air quality with a simple function that starts an activity within the DONKEY, "DumbActivity." It worked.

    However, after DumbActivity extend YouTubeFailureRecoveryActivity to start using the 3.0 API from YouTube, I got a ClassNotFoundException on DumbActivity when I run the DONKEY.

    Note that when I run the code in a native android app, it works fine, and I can use YouTube capabilities. Also checked the DumbActivity class is included in the jar.

    Is this some sort of conflict of library or something?

    Hello

    Have you created a platform-options - android.xml for android include external jar (API from Youtube), it should be like:

    http://ns.Adobe.com/air/extension/4.0">
      
       youtubeapi.jar
      

      
      

    You must specify the name of the jar Youtube within the "PackageDependency" tag file name

    And, the command adt to package the DONKEY should be like:

    ADT-package [YOUR NORMAL OPTIONS] - platform Android-ARM platformoptions - platform-options - android.xml - C-Android-ARM.

    Please check.

    Thank you

    Adobe AIR Team

  • DPS native Android Viewer

    Currently, I have an app in the iTunes store and try to develop on Android (Google Play) and uses the new Webmail DPS native Android Viewer...

    1. how my AppName to be the same as in the iTunes Store?

    2. can you my Bundle ID be the same as in the Bundle Apple ID?

    3. in the library pane when I choose 'Configure', the only options are 768 x 1024 - why is - this. I want a PDF based solution that dimensionnera the ratio of the users machine?

    1. Yes.

    2. Yes.

    3 skip this section of App Builder. It's called 'Advanced' for some reason any and you do not need to use it.

    Neil

  • Updated version of the viewer App Builder natively?

    I update my apps Android DPS to the 32. I already have a built in generator online App Native to v31. When I try to modify the application, it has no option to update the version number. How can I make my native Android app v32 v31? I have to create a new application to v32 and remove my app v31 within the online application builder?

    The DPS Web-based App Builder allows you to modify an application, the latest version of the application (in this case, v32) is applied. You don't need to delete it and recreate it.

  • Problems with the law in a native android application service.

    Hello

    I assemble version native android app 31, but law service does not work.

    When I try to log in with my test account, I get the message login or password are incorrect. Legacy android app works correctly.

    Law Branch does not DPS Android app that was built as a Native version 31 application.

    I still got the message that login or password is incorrect when I try to log in with my test account.

    A same application works correctly if it was built as a legacy android app.

    Where can be a mistake?

    Thank you.

    When you last built the native android app? Until this morning the app only supported direct v2 of the API right, and I'm guessing that your service uses v1.

    The good news is we delivered our latest publication this morning and v1 is now supported. If you rebuild your application in the App Builder and try again it probably will work.

    Neil

  • Native Android application / refunds does not

    Hi all

    I tried to put in place the new native Android app on my tab 10 '' in order to get the real "app-feeling."

    Creation and get the App on the Pad works like charm - but it was a pain...

    I have developed Android refunds in landscape mode (1280 * 752) and refunds iPad in portrait and landscape (1024 * 768 / 768 * 1024) with a single identity card - which worked very well until I tried to update to the new native application.

    While the old library was not fixed to a single display mode, the news starts with the portrait and does not charge any interpretation Android (which are made only for landscape / 1280 * 752) as it doesn't appear that the iPad preview blurred.

    Maybe there is a solution or a tip?

    Thanks in advance.

    Yes, this specific approach does not work with the Android native Viewer. We are looking for the closest match which is larger than the screen size, so let's choose 1024 x 768.

    Currently, the only solution is to create a separate publication for these "renditions" Android account and point the Viewer to this account.

    I'm working on some changes to App Builder that will make this better, but we won't have that work done in our next release. I hope that we can adapt the rejection after.

    Neil

  • Recommendations for a password manager App / extension safari?

    Someone at - it recommendations for a password manager App / extension safari?

    "1Password" seems to be very well rated, but is quite expensive for what it does.

    Is there something cheaper that works as well or nearly so?

    Thank you

    One possibility is the iCloud integrated Apple's Keychain: frequently asked questions about iCloud Keychain - Apple Support

    I don't use it myself but only because I need something that works also on Windows and OS X and iOS. I use Dashlane because it's that good: https://www.dashlane.com/

  • Refunds or unique Folio for native Android?

    I'm not sure what the best strategy is for native Android folios. Should I build a unique in 1280 x 800 folio or rendered at 1280 x 800, 1920 x 1200 and 2560 x 1600 as described in Digital Publishing Suite help | Implementation of "renditions" to viewers Android native?

    Do I need three sizes of graphics (as described in the developers documentation Android) if I use the "renditions"?

    Thank you

    Joe

    I think you are fine with 1280 x 800 sheets. They intensify nicely on the larger machines. Create record sets if the folio of 1280 x 800 doesn't work well for some reason any.

  • Getting error while deploying ADF Mobile App in the android emulator

    Hi all
    I'm getting following error when the mobile deployment app in the android... emulator I went through google search and I did all the steps as follows...


    1 keytool - genkey - v - keystore debug.keystore - alias androiddebugkey - keyalg RSA - keysize 2048 - validity 10000

    I gave the password, last name, organization, State and country
    2 jarsigner - sigalg MD5withRSA - digestalg SHA1-verbose - keystore /Users/Admin/.android/debug.keystore C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1/generalmobileapp.apk
    3 / e - platform-tools/adb install - r C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1/generalmobileapp.apk

    After the above step... I got the SUCCESS message (while performing the steps above in the command prompt).

    Even after this... I get the same error while deploying my application using jdeveloper in the android emulator...


    ERROR:

    [09: 40:02] failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
    [09: 40:02]
    [09: 40:02] command-line execution failed (return code: 0)
    [09: 40:02] run command line: 'E:\android\adt-bundle-windows-x86_64\sdk\platform-tools\adb' EI setup - r "C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\generalmobileapp.apk".
    [09: 40:02] undeployment.
    [09: 40:02] - incomplete deployment.
    [09: 40:02] deployment failed due to one or more errors returned by "E:\android\adt-bundle-windows-x86_64\sdk\platform-tools\adb". What follows is a summary of the returned error:
    Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]


    Kind regards
    Nani

    Published by: 962874 on January 12, 2013 06:46

    The emulator can run out of space for applications - so if you have other applications that are deployed to the emulator remove them and then try again.
    Other options here:
    http://StackOverflow.com/questions/2239330/how-to-increase-storage-for-Android-emulator-install-failed-insufficient-Stora

  • Android APP and Native application using the same push record ID

    Hello

    We have an Android existing converted app we use for BB10 platform that we are in the process of gradually. Replace this app is an application of BB10 Native with the same name and features.

    My question is that I have to get a new record ID to push for the new Native application or can I use the existing production record ID?

    Ideally, I would like to migrate my users off the coast of the old version of the application to the new with the least problems for customers.

    Thank you

    Andrew

    You should be able to use the same ID for this record.

  • In - App purchase Extension Native - how can I check if the user purchased in-app already?

    Hello!

    I have an application with In - app purchase. I use ProductStore - native extension of Adobe to connect to iTunes (summary com.adobe.ane.productStore). I can make the purchase at the ENA, but I have not found a way to check if the application was already purchased: I need for the case when the user wants to install the application to an additional device, or if the user has delete the app and install it again.

    And if there is no way, maybe someone knows another Native extension that can provide the corresponding functionality.

    Thank you in advance,

    Olga

    One you use has a restore function: http://www.adobe.com/devnet-docs/gamingsdk/anedocs/com/adobe/ane/productStore/ProductStore .html #restoreTransactions)

Maybe you are looking for

  • Outlook express 6 uses Vista to Thunderbird using 8.1.

    I have 4 email addresses in Outlook Express 6 uses Vista. I just went to 8.1 on a new computer. How can I move all Thunderbird e-mail accounts including e-mail saved in folders

  • iCloud keeps asking me to update Firefox

    I try to get iCloud to synchronize my Firefox bookmarks and it says first "Upgrade required". I'm on the latest version and I installed the extension iCloud. iCloud always said "Upgrade required" so I rebooted the machine, but it still does not work.

  • Live Mail. Publishers fall into my junk mail box?

    XP sp3. Live Mail. I receive spam almost every day, I check as sometimes looking mail get sent there. I always check all unwanted and put in the blocked e-mail folder if its from a field of type junk I just put the field, but I still retrieve message

  • Information VCOPS and the high command are not the same.

    User complains that the machine does not work have enough RAM. VCOP shows that all right. Active comments (KB) - 8 327 788 Maximum of all time. A currently much cheaper. high command shows 10,600,000 KB or higher. Where does get vcops data? And how h

  • Cloud Photoshop & Creative works not

    So, I ran into a problem with my photoshop. I decided to do a new installation (error) went in and Add Remove Programs delete (but it's still there) went and downloaded the creative cloud cleanser... I was able to install creative cloud, but then it