Android Native Extension cannot find implementation for .so functions

I can load some .so libraries but can never call any of their functions. All these .so files are known good and work when I publish/install an Android app via eclipse. But any time I try to call functions from an Air native extention I either get "cannot resolve" or "no implementation found" This occurs after I manually call System.loadLibrary() or use a static block as sampled below. Does the static block have to be on the main activity? I ask because all the LoadLibrary samples I find are always on the Activity. Not sure how to pull that off from my jar file, since Adobe creates the apk and owns the main activity.
So, in trouble shooting I've back tracked to a known good .so file by using the hello_jni sample at http://developer.android.com/tools/sdk/ndk/overview.html#tools
I can instantiate the my native jar extension and even call my FREFunction.
I slowly step through a simple sequence that first instantiates my NativeHello.java class
package com.example.hellojni;
public class NativeHello
          public static String libName = "hello-jni";
          static
      System.loadLibrary(libName);
          public native String stringFromJNI();
At instantiation, Logcat reports...
Trying to load lib /data/data/air.air.Vuforia/lib/libhello-jni.so 0x406d9938
Added shared lib /data/data/air.air.Vuforia/lib/libhello-jni.so 0x406d9938
No JNI_OnLoad found in /data/data/air.air.Vuforia/lib/libhello-jni.so 0x406d9938, skipping init
So looks like library loads correctly, I confirmed by purposely removing the .so file from the apk publishing and I get different "linkage" error. So I'm confident it is loaded.
But once I call the native function stringFromJNI();
I get...
No implementation found for native Lcom/example/hellojni/NativeHello;.stringFromJNI ()Ljava/lang/String;
I followed http://help.adobe.com/en_US/air/extensions/WSf268776665d7970d-2482335412ffea65006-8000.htm l
but just cannot call any functions within any .so file
Please help, my client's project is on hold because of this.

Any progress on it? I have the same problem...
Thanks

Similar Messages

  • Android Native Extension to connect to USB device

    I am working on an AIR Native Extension for Android that I want to connect to peripheral devices via USB.  However, my efforts at enumerating USB devices just hang at present.  (Using this library: kshoji/USB-MIDI-Driver · GitHub )
    Before I get too far into debugging the code I wanted to check something more fundamental:
    Can an Android Native Extension handle/bypass the dialog that Android throws for use of USB (or other) devices.  ("Allow the app <AppName> to access the USB device?")  I have seen a few articles for defining intents and remembering permissions in native Android apps and tried that but it seems that the dialog would still be shown at least once.  (See android - USB device access pop-up supression? - Stack Overflow.)
    Is my understanding correct?  Is this what is hanging my app?  And if so is there any way to raise/handle that dialog in my AIR app or bypass it altogether?
    Thanks for reading.

    Read https://discussions.apple.com/thread/3828681?start=0&tstart=0
    Allan

  • Trying to connect my iphone 4 to my home wifi network! my android phone gives me the option of pushing the arrows button on my router and on my android phone but cannot find the "push the arrows button" option on my iphone 4. is this option available???

    trying to connect my iphone 4 to my home wifi network! my android phone gives me the option of pushing the arrows button on my router and on my android phone but cannot find the "push the arrows button" option on my iphone 4. is this option available?? and if so, where is it located???

    No such option on an iPhone.  Just go to Settings>wifi, tap the name (SSID) of your your home network from the list, then when prompted, enter the password.

  • Concurrent Manager cannot find information for your conc req in FND_USER

    Dear All,
    Our customer is facing this issue while submitting conc requests. The requests end up in a Error with the following message in the Diagnostics.
    Concurrent Manager cannot find information for your concurrent request from FND_USER
    Cause: Concurrent Manager found no rows while selecting information for your concurrent request from FND_USER .
    Sometimes it does not happen. It happens only for HRMS users. We are not sure what is causing this issue.
    Anyone has faced this already? Highly appreciate your suggestions / pointers towards solving this issue.
    Thanks in advance!
    Hem

    Hem,
    Not sure if this is relevant here, but you may try to submit the following concurrent programs and see if it helps.
    - "Sync responsibility role data into the WF table."
    - "Synchronize WF LOCAL tables"
    - "Workflow Directory Services User/Role Validation"
    If the above does not help, enable trace/debug on any of those concurrent programs, and submit it again, check the concurrent request log file contents then (you do not have to generate TKPROF file, so skip this step).
    Note: 453527.1 - How To Trace a Concurrent Request And Generate TKPROF File
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=453527.1
    Regards,
    Hussein

  • AIR Native extensions Hello World Example for iphone ios

    I need help as i am having runnable code library for Hello world which i took from the url,
    "http://akabana.info/2011/08/11/air-native-extension-10-try-air-for-ios-ane/"
    in which we are making static library in Xcode by using ADOBE AIR.framework so that we are getting.a extension file. Now how to call further function because its just a library now how i want to know the steps further. How to call this library in the IOS project.

    Chris,
    You may have more luck over on the OA Framework forum OA Framework
    Best of luck,
    John

  • I want to re-install Premiere Elelments 8, but cannot find downloads for version 8.  Where can I download the files for version 8?

    I want to re-install Premiere Elelments 8, but cannot find downloads for version 8.  I have the serial no.  Where can I download the files for version 8?

    Hi Jeff.  I did purchase Premiere Elements 8 from Adobe (download version), but couldn't find the files to download again on the adobe.com website.  I did, however carry out another search of files from my old PC and eventually found the files to reinstall on my new PC, using my registered product serial no.  Installation has worked.  It seems that Adobe has stopped supporting version 8 as I could only find version 9 and later for download from the adobe.com website.
    Thanks for your prompt reply

  • IDM with SQL server Error: Cannot find columns for the table...

    Hi all,
    I am Configuring IDM with SQL Server repository and ran into this error.
    'Cannot find columns for the table 'object'
    .....jdbc...[SQL Server]Invalid object name 'object'
    Can anybody please help me!!
    G

    Yes, permissions are very important. I ran into a similar problem because I didn't have the correct permissions. Make sure the user has the following permissions:
    CREATE ANY TABLE
    ALTER ANY TABLE
    DROP ANY TABLE
    CREATE ANY PROCEDURE
    EXECUTE ANY PROCEDURE
    DROP ANY PROCEDURE
    Also, make sure there is enough space in the default tablespace of that user.
    HTH
    ~Suvesh

  • Cannot find InfoProvider for selection specified

    Hi All,
    When executed RSPLAN in BI System , it took us to EP screen , in that
    InfoProvider , Aggregation Levels , Filter....etc tabs are there.
    When selected InfoProvider , Z* or * or empty and when clicked on start button..
    The following message is displayed :
    Cannot find InfoProvider for selection specified "with green exclamatory symbol"
    Even it is not giving JCo type of error message ,
    Real time infocubes are created and activated .
    The two above things have been checked properly .
    Thanks,
    Srini

    Dear Srinivasa,
    Check this link..
    Cannot find aggregation levels for selection specified
    not able to see infoprovider in the planning modeler
    Hope this helps u..
    Best Regards,
    VVenkat...

  • I cannot find "scan for instrument​" at MAX

    Hi~
    I connected GPIB-USB-HS cable between the laptop and Keithley 2602 device.
    In MAX, I could find GPIB-USB-HS "USB0::0x3923::0x709B::016F05B4::RAW" under "device&interface"
    However, I cannot find "scan for instrument" anywhere!
    So, I coudn't connect equipment with laptop......
    What is the problem??
    (I use Window 7, and I installed NI driver.)

    duplicate post

  • Android Native Extension crashes if i use anything other than Activity class to extend my activity

    It seems my android native extension is crashing everythime i use anything like FragmentActivity etc. Looks liek android's supportv4 classes are also not supported with native extension coding. I even have my question posted here.
    http://stackoverflow.com/questions/16470791/adobe-air-native-extension-application-crashes -on-using-fragmentactivity
    If anyone has a answer please help out.

    Any progress on it? I have the same problem...
    Thanks

  • Com.waveset.util.ConfigurationError: Cannot find columns for table 'object'

    I am trying to install IDM on my own laptop and use MS SQL Server 2000 as the repository. I run the create table scripts, copy all the jar files to C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\Idm\WEB-INF\lib. But I still got the following error message:
    com.waveset.util.ConfigurationError: Cannot find columns for table 'object' ==>com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'object'
    Does anyone have any idea of what may cause this problem?
    THANKS!

    I found the solution to this issue.. is that the Database user ID must be set to the schema .. this is the statment that probably did not work:
    CREATE USER <username> FOR LOGIN <login name> with DEFAULT_SCHEMA = <database name>
    In sql 2005 expand the database... open security .. find the user.. right click and select properties.. in the default schema box.. select the SunSync database .. in the schemas owned by this user select the sunsync schema database..
    good luck

  • What does it mean if the system "cannot find driver for console framebuffer"?

    I've just installed Solaris 7 on a SparcStation 20 with 256 MB RAM, 1 + 2 GB hard drives, 1xSuperSparcII. When I boot up it says "NOTICE:Cannot find driver for console framebuffer". I can't run the CDE, and I assume this is because there is no graphics driver. The graphics card (it's an add-on but by Sun) presumably needs a driver and I would have thought that this would have been included with the Solaris 7 CD. The whole thing worked fine when it was running Solaris 2.5.1 and now I've installed a new OS (initial as opposed to upgrade) it just don't work. Any ideas?

    The "output-device" parameter may not be set properly in Open Boot Prom(OBP) and hence during installation, the driver may not be installed. To fix this, try the following steps.
    1. Note down the current value for output-device. This value is to be restored later.
    printenv output-device
    2. Set the "output-device" parameter to "screen" in OBP
    setenv output-device screen
    3. Perform a reconfiguration boot using the command "boot -r"
    4. The error will not appear. Verify that /dev/fb refers to a device link.
    5. Go to ok prompt again and restore the output-device to its original value (as noted in step 1). The reason for doing this is that some resolution parameters would have been set earlier for your output-device.
    6. Reboot the system again. The error may appear again but since the device link is already created, the CDE will work.
    Please contact us if there are any issues.
    Thanks
    Srinivasan

  • Android native extension packaging error

    Hi,
    I have been working on a native extension. It packages and runs fine on ios, but when I try to launch my app on an android device I get the following error,
    !MESSAGE Error occurred while packaging the application:
    null
    !STACK 0
    java.lang.NullPointerException
              at java.util.zip.ZipFile.getInputStream(ZipFile.java:194)
              at com.adobe.air.apk.APKPackager.processExtensions(APKPackager.java:228)
              at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:65)
              at com.adobe.flexbuilder.multisdk.apollo.export.AIRAPKPackager.createUsingPackager(AIRAPKPac kager.java:245)
              at com.adobe.flexbuilder.multisdk.apollo.export.AIRAPKPackager.create(AIRAPKPackager.java:57 5)
              at com.adobe.flexbuilder.multisdk.apollo.export.AIRAPKPackager.create(AIRAPKPackager.java:13 8)
              at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.doPackage(ADBLaunchHan dler.java:423)
              at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.launch(ADBLaunchHandle r.java:350)
              at com.adobe.flexide.launching.multiplatform.MultiPlatformLaunchDelegate.launch(MultiPlatfor mLaunchDelegate.java:184)
              at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate. java:244)
              at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate. java:134)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
              at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
              at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    I am using Flash Builder 4.7, latest android SDK and Flex 4.12 with air 13 beta.
    Any ideas?

    Hi,
    Can you please share the contents for packaging ANE in the same folder structure with me so that I can give it a try at my end as well and look into this problem? My email id is [email protected]
    -Nimisha

  • Jardiff Failing Cannot find path for creation

    I get the following error when I try to enable versioning:
    2002-08-12 17:54:53 Generating JarDiff for spotlight.jar 1.4->1.5
    2002-08-12 17:54:53 Failed to genereate jardiff
    java.io.IOException: The system cannot find the path specified
         at java.io.WinNTFileSystem.createFileExclusively(Native Method)
         at java.io.File.checkAndCreate(File.java:1294)
         at java.io.File.createTempFile(File.java:1382)
         at java.io.File.createTempFile(File.java:1419)
         at com.sun.javaws.servlet.JarDiffHandler.generateJarDiff(JarDiffHandler.java:156)
    Any ideas

    What version of java are u running the servlet on ?

  • Cannot find JDI for EP7.0 !

    Hello experts,
    I am supposed to install JDI on our environment (EP7.0 SP11) but I cannot find the particular Support Packages nor I can find installation documentation. I was not a problem for ver.6.40 but this NetWeaver 2004s version is a different story.
    Please help to desperate rookie, points are guaranted!
    Regards,
    Frank

    Hi,
    You've 3 options as I know.
    Option1:
    Refer to page 98 on SAP Netweaver 7.0 Installation Guide for Java.
    From NW7.0 these are called Usage Types. (Usage type for DI - Development Infrastructure)
    The following is an excerpt.
    After SAPinst has finished, you need to run the configuration task for usage typeDI using the
    Configuration Wizard.
    1. Under Scenario choose DI.
    2. Decide whether you want to install and run the entire NWDI on this system or configure the
    services individually:
    Recommendation
    We recommend that use the first option shown below, to install and run the entire NWDI on
    this system.
    n To install and run the entire NWDI on this system, perform the following steps:
    a) Choose the Scenario DI
    b) Choose All-in-one Complete Configuration of DTR, CBS, and CMS
    c) Fill the open fields in the section Data Entry according to their label.
    d) To run the configuration task, choose Execute Template.
    n To configure the services individually (DTR, CBS, CMS) &#8210; for example, because you have
    distributed the usage type DI to different servers &#8210; perform the following steps:
    a) Choose the Scenario DI
    b) Choose the service you want to configure, Design Time Repository, Component Build Service, or
    Change Management Service.
    c) Fill the open fields in the section Data Entry according to their label.
    d) To run the configuration task, choose Execute Task.
    e) Choose the items that you need from Design Time Repository Configuration, Component Build Service,
    and Change Management Service.
    92/168 PUBLIC 08/31/2007
    5 Post-Installation
    5.16 Checking the SAP Java Documentation
    Note
    Before performing any database settings make sure that you have read SAP Note 889038.
    3. If you are using a new Oracle database installation, perform the step Set Oracle Parameters for DI.
    Caution
    Do not use this for an already configured database because it overwrites previous settings.
    4. After the Configuration Wizard has finished, you have to restart the engine as described in SAP
    Note 919942.
    Option2: (you need to have service marketplace id)
    Alternatively, you can download the necessary SCA files and deploy them on the Server by SDM and follow post configuration steps.
    https://websmp105.sap-ag.de/swdc
    Download -> Support Packages -> Entry by Application Group
    Support Packages and Patches -> SAP NetWeaver -> SAP NETWEAVER -> SAP NETWEAVER 7.0 (2004S) -> Entry by Component -> Development Infrastructure
    You'll need
    DI CHANGE MGMT. SERVER 7.00
    DI COMPONENT BUILD SERVER 7.00
    DI DESIGN TIME REPOSITORY 7.00
    Setting up NWDI:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0f341af-e86e-2910-3e8a-d9e3c227d938
    Option3:
    Use Solution Manager (i've no idea)
    Hope that helps.
    Regards,
    Rajit
    Message was edited by:
            Rajit Srinivas

Maybe you are looking for

  • How to delete photos from iPad when original pics are no longer on computer

    Hi I need to clear photos from my iPad that were synced from my computer some time agi. Since sycing those pics from the pc to the ipad, I cleared up my pc and backed up the photos onto discs. How do I now delete those pics from the iPad, as the the

  • Installation PS failed...

    Hi, I had a trial for 30 days. 2 days ago I took the payed version. I've downloaded Lightroom and PS again (have a new pc). Lightroom went well but PS installation failed. Ik get the message:  Installation failed. Can't unpack the files. Download aga

  • Run Time Error '13' Type Mismatch in SAP BEx

    Hello, SAP World! If i try to see "Query Properties" in Excel 2007 in BEx Analyzer, getting the error: Run-time error '13' Type Mismatch. Plz, Help! For Excel 2003 this error is not occured. GUI 6.40 File Ver. 6405.5.27.3058 Patch Level: 27 SAP BW 35

  • Why Avengers Initiative game fails to load on my iPAD 2

    Hello, I bought the full version of Avengers Initiative game for my iPAD 2 running iOS 6.1.3. After few seconds of loading the game quits with no error messages, it siply quits! There is enough space and I tried restarting, same issue. Thanks for you

  • MM01-Legal Control Data

    Hello Experts, I have a requirement regarding creation of material.The version i am using is ECC6.0. I am creating a material by copying from existing material.By giving enter in each and every tab the data is getting copied. when coming to foreign t