【问题标题】:Indoor Atlas: App build successfully but not run on Nexus 9 Tab(App has stopped working)室内地图集:应用程序构建成功但未在 Nexus 9 选项卡上运行(应用程序已停止工作)
【发布时间】:2016-11-03 05:36:07
【问题描述】:

Indoor Atlas 应用程序已成功构建,但我在 logcat 上发现了一些错误,我在此处发布。谁能告诉我如何解决该错误并使我的应用程序可运行?

03 10:25:48.893 5152-5168/? E/AndroidRuntime: FATAL EXCEPTION: IdaSensorReadingManager
                                              Process: com.test.indoornavigation, PID: 5152
                                             java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.test.indoornavigation/files/assetlib.so" is 32-bit instead of 64-bit
                                                 at java.lang.Runtime.load0(Runtime.java:897)
                                                 at java.lang.System.load(System.java:1505)
                                                 at com.indooratlas._internal.db.a(SourceFile:211)
                                                 at com.indooratlas.algorithm.ClientProcessingManager.ensureNativeLibrary(SourceFile:174)
                                                 at com.indooratlas.algorithm.ClientProcessingManager.<init>(SourceFile:91)
                                                 at com.indooratlas.algorithm.ClientProcessingManager.getInstance(SourceFile:98)
                                                 at com.indooratlas._internal.an.f(SourceFile:485)
                                                 at com.indooratlas._internal.an.a(SourceFile:40)
                                                 at com.indooratlas._internal.an$a.handleMessage(SourceFile:774)
                                                 at android.os.Handler.dispatchMessage(Handler.java:102)
                                                 at android.os.Looper.loop(Looper.java:154)
                                                 at android.os.HandlerThread.run(HandlerThread.java:61)
11-03 10:25:48.956 587-1095/? E/JavaBinder: !!! FAILED BINDER TRANSACTION !!!  (parcel size = 76) }

【问题讨论】:

  • 看起来您的应用可能同时部署了 32 位和 64 位本机代码。您使用的是哪个 IndoorAtlas SDK 版本,您是否将其集成为 JAR 或 AAR。

标签: android android-studio indoor-positioning-system google-indoor-maps


【解决方案1】:

您好,我遇到了类似的问题,我发现这与室内地图集的 proguard 规则有关,您需要将其放入您的 proguard.pro 文件中:

# Required by IndoorAtlas SDK
-keep public class com.indooratlas.algorithm.ClientProcessingManager { *; }
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

如图所示:https://github.com/IndoorAtlas/android-sdk-examples/blob/master/Basic/proguard-rules.pro

希望对你有帮助!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-07-25
    • 1970-01-01
    • 1970-01-01
    • 2012-09-12
    • 1970-01-01
    • 1970-01-01
    • 2017-08-29
    相关资源
    最近更新 更多