-3

我有一个朋友的项目,

当我在 Eclipse 中运行项目时,会在 LogCat 中打印错误

Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/ansca/corona/JavaToNativeShim;
Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lcom/ansca/corona/CoronaEnvironment;
threadid=1: thread exiting with uncaught exception (group=0x41b2f498)

FATAL EXCEPTION: main
java.lang.ExceptionInInitializerError
    at com.uangel.corona.CoronaApplication.onCreate(CoronaApplication.java:16)
    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:999)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4281)
    at android.app.ActivityThread.access$1300(ActivityThread.java:136)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1261)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4875)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:804)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:571)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ExceptionInInitializerError
    at com.ansca.corona.CoronaEnvironment.setLuaErrorHandler(CoronaEnvironment.java:373)
    at com.ansca.corona.CoronaEnvironment.<clinit>(CoronaEnvironment.java:41)
    ... 13 more
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load lua: findLibrary returned null
    at java.lang.Runtime.loadLibrary(Runtime.java:365)
    at java.lang.System.loadLibrary(System.java:535)
    at com.ansca.corona.JavaToNativeShim.<clinit>(JavaToNativeShim.java:94)
    ... 15 more

我做不到。请帮我。

4

1 回答 1

0

我建议您先看看您是否可以构建其中一个 corona 示例项目,看看您是否可以构建这些项目。

您还可以向我们提供一些有用的信息:您使用的是什么版本的电晕?

于 2013-07-12T14:34:16.307 回答