- Hi, I’m @Eurya QiuZhu
- My QQ:2644635373
一个普普通通的全栈开发者,习惯C/C++ JVM语言,Rust,偶尔使用Lua,Python,NodeJS Js进行开发,准备学习ARM,X86汇编。
菜的离谱,勿喷
在Android上运行LuaJit并与Java交互
License: MIT License
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.eurya.luajit-1/base.apk"],nativeLibraryDirectories=[/data/app/com.eurya.luajit-1/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libluajava.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:985)
at java.lang.System.loadLibrary(System.java:1562)
at org.keplerproject.luajava.LuaState.(LuaState.java:94)
at org.keplerproject.luajava.LuaStateFactory.newLuaState(LuaStateFactory.java:59)
at com.eurya.luajit.MainActivity.onCreate(MainActivity.java:22)
at android.app.Activity.performCreate(Activity.java:6760)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2619)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2727)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6121)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
百度上让我加个这个,但是我加了也没效果···和没加的报错都一样
defaultConfig {
applicationId "com.eurya.luajit"
minSdkVersion 19
targetSdkVersion 23
ndk { abiFilters "armeabi-v7a","x86","x86_64"}//加了这个。但是还是一样的报错。
versionCode 1
versionName "1.0"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.