Probably native libraries (.so files from lib dir) is missing from your APK. Check your project settings / build configuration.
If you're using android studio, you have to modify the sourceSet of andEngine and andEnginePhysicsBox2DExtension in build.gradle.
You have a folder in that projects where there are so files, you need to include the native libraries from there.
Check my answer here: jniLibs are not extended in gradle
Update based on your comments:
Add this to andEngine, andEnginePhysicsBox2d and your game build.gradle:
sourceSets {
main {
jni.srcDirs = []
jniLibs.srcDir 'libs'
}
}
Also add this to the defaultConfig section, for andEngine:
ndk {
moduleName "andEngine"
}
and for andEnginePhysicsBox2d:
ndk {
moduleName "andEnginePhysicsBox2dExtension"
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…