我想在我的项目中使用谷歌地图集群。我正在使用这个:
https://github.com/twotoasters/clusterkraf
但是,我在运行我的项目时遇到了问题。我能够很好地导入它。但是当我运行应用程序时,我在控制台上看到:
[2013-08-24 18:44:42 - library] Could not find library.apk!
我认为它没有将 clusterkraf 项目(称为library
)导入我的手机......
当我尝试在手机中运行此库中的代码时,它会引发异常并崩溃。这是日志:
08-24 18:47:49.709: W/dalvikvm(4669): threadid=1: thread exiting with uncaught exception (group=0x41780360)
08-24 18:47:49.719: E/AndroidRuntime(4669): FATAL EXCEPTION: main
08-24 18:47:49.719: E/AndroidRuntime(4669): java.lang.NoClassDefFoundError: com.twotoasters.clusterkraf.InputPoint
08-24 18:47:49.719: E/AndroidRuntime(4669): at com.activity.idsconnect.ActivityMap.MakeMarkerArray(ActivityMap.java:159)
08-24 18:47:49.719: E/AndroidRuntime(4669): at com.activity.idsconnect.ActivityMap.onCreate(ActivityMap.java:112)
08-24 18:47:49.719: E/AndroidRuntime(4669): at android.app.Activity.performCreate(Activity.java:5177)
08-24 18:47:49.719: E/AndroidRuntime(4669): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
08-24 18:47:49.719: E/AndroidRuntime(4669): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)
08-24 18:47:49.719: E/AndroidRuntime(4669): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
08-24 18:47:49.719: E/AndroidRuntime(4669): at android.app.ActivityThread.access$700(ActivityThread.java:143)
08-24 18:47:49.719: E/AndroidRuntime(4669): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1241)
08-24 18:47:49.719: E/AndroidRuntime(4669): at android.os.Handler.dispatchMessage(Handler.java:99)
08-24 18:47:49.719: E/AndroidRuntime(4669): at android.os.Looper.loop(Looper.java:137)
08-24 18:47:49.719: E/AndroidRuntime(4669): at android.app.ActivityThread.main(ActivityThread.java:4950)
08-24 18:47:49.719: E/AndroidRuntime(4669): at java.lang.reflect.Method.invokeNative(Native Method)
08-24 18:47:49.719: E/AndroidRuntime(4669): at java.lang.reflect.Method.invoke(Method.java:511)
08-24 18:47:49.719: E/AndroidRuntime(4669): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1004)
08-24 18:47:49.719: E/AndroidRuntime(4669): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:771)
08-24 18:47:49.719: E/AndroidRuntime(4669): at dalvik.system.NativeStart.main(Native Method)
我保留在我的项目属性 Order 和 Export 中:
我不知道如何在导出时将其正确包含在应用程序中。有谁知道我该如何解决这个问题?
谢谢。
编辑:
我的项目属性
Clusterkraf 属性