Skip to content

pakoito/jna

 
 

Repository files navigation

Read the original README.md at README-ORIGINAL.md

This is a dirty branch to make JNA work on Android while still using Gradle. It breaks behaviour for other platforms as the library loading process is tied to Android's Gradle.

Instructions:

git clone
cd jna
ant -Dos.prefix=android-arm dist
go to /dist, copy jna.jar on your project's libs folder
while in dist, open android-arm.jar with an archiver like 7Zip
extract libjnidispatch.so to a temporary folder
create a folder on your projects as /src/main/jniLibs/armeabi
move libjnidispatch.so to that directory
repeat for android-x86 and /src/main/jniLibs/x86
OPTIONAL: for armeabi-v7a try using the same .so as in ameabi

About

Java Native Access - Q&D Android Gradle support

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.ASL
Unknown
LICENSE.LGPL

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 64.3%
  • C 18.5%
  • Assembly 7.8%
  • TeX 4.6%
  • Roff 3.5%
  • HTML 0.6%
  • Other 0.7%