Re: JOGL in Android- java.lang.UnsatisfiedLinkError
Posted by kaeffin on Jul 20, 2016; 7:11am
URL: https://forum.jogamp.org/JOGL-in-Android-java-lang-UnsatisfiedLinkError-tp4036931p4036947.html
I updated the gradle file again to :
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.example.praktikant.myapplication"
minSdkVersion 19
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
zipAlignEnabled true
}
debug {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules-debug.pro'
zipAlignEnabled true
}
}
}
dependencies {
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile files('libs/mxparser.jar')
compile files('libs/gson-2.1.jar')
compile files('libs/gluegen-rt-android.jar')
compile files('libs/gluegen-rt-natives-android-armv6.jar')
compile files('libs/jogl-all-android.jar')
compile files('libs/jogl-all-natives-android-armv6.jar')
}
Now there isn't a windows or linux data.
I create a folder in : MyApplication/app/sry/main/jniLibs/android-i586/ and there i put the libgluegen-rt.so from the gluegen natives.
But the error is:
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.example.praktikant.myapplication-1/lib/x86/libgluegen-rt.so" has unexpected e_machine: 40