我正在尝试为我的MoverioBT 200玻璃运行indoorAtlasSDK示例。这个例子适用于我的三星Galaxy标签S和我的nexus 4.但是,当我尝试用玻璃运行它时,我收到了这个错误。
java.lang.IllegalStateException: IDA exception from connect() not handled
at com.indooratlas._internal.br.a(Unknown Source)
at com.indooratlas._internal.z.b(Unknown Source)
at com.indooratlas._internal.z.a(Unknown Source)
at com.indooratlas._internal.z$a.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
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:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: com.indooratlas.android.IndoorAtlasException: Error in secure connection setup.
at com.indooratlas._internal.de.a(Unknown Source)
at com.indooratlas._internal.br.a(Unknown Source)
at com.indooratlas._internal.z.b(Unknown Source)
at com.indooratlas._internal.z.a(Unknown Source)
at com.indooratlas._internal.z$a.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
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:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.io.IOException: Wrong version of key store.
at com.android.org.bouncycastle.jce.provider.JDKKeyStore.engineLoad(JDKKeyStore.java:812)
at java.security.KeyStore.load(KeyStore.java:589)
at com.indooratlas._internal.dc.<init>(Unknown Source)
at com.indooratlas._internal.de.a(Unknown Source)
at com.indooratlas._internal.br.a(Unknown Source)
at com.indooratlas._internal.z.b(Unknown Source)
at com.indooratlas._internal.z.a(Unknown Source)
at com.indooratlas._internal.z$a.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
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:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
我认为问题可能与Android版本有关。我的平板电脑和手机都运行android 5.0,并且运行4.0.4。对于运行Android 4.3或更高版本的设备,建议使用SDK。请给我一些建议,谢谢。
答案 0 :(得分:0)
您没有指定您使用的SDK版本,但我假设基于堆栈跟踪的1.3版本。该版本需要API级别18(Android 4.3)。我们于4月15日发布了1.4版本,支持API级别低于18,并且功能得到了很大改进。有关详情,请访问http://blog.indooratlas.com/2015/04/15/announcing-availability-of-new-indooratlas-mobile-sdks/