Quantcast
Channel: Adobe Community : Popular Discussions - AIR Development
Viewing all articles
Browse latest Browse all 24121

question when building an Android ANE

$
0
0

Hi,

 

I'm trying to implement an external library ANE wrapper for Android.

 

I'm always receiving "class not found" error message in LogCat. No problem accessing native code, but when I try to access to external library functions it fails.

 

I've tried

External library inside Air native extension for android

How to include additional Jar in Android Native Extension for Adobe Air Mobile - Stack Overflow

 

Unsuccessfuly.

 

Reading these docs: Adobe Flash Platform * Including resources in your native extension package I think I could have a problem loading the resources and, because of that, not access to the class properly or crashing somewhere.

 

My platformoptions file

 

<platform xmlns="http://ns.adobe.com/air/extension/17.0">

    <packagedDependencies>

        <packagedDependency>my_sdk.jar</packagedDependency>

    </packagedDependencies>

  <packagedResources>

  <packagedResource>

  <packageName>com.my_sdk</packageName>

  <folderName>res</folderName>

  </packagedResource>

  </packagedResources>

</platform>

 

 

My question is, how can I know the "packageName", "res" is the folder where I copied and pasted all the resources from the external library, but the package? I've just written randomly "com.my_sdk"

 

Thanks!


Viewing all articles
Browse latest Browse all 24121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>