首页 / 浏览问题 / 移动GIS / 问题详情
IMobile9D找不到libimb.so
7EXP 2017年12月15日
Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.imobile.view-2/base.apk"],nativeLibraryDirectories=[/data/app/com.imobile.view-2/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libimb.so"
                                                       at java.lang.Runtime.loadLibrary(Runtime.java:370)
                                                       at java.lang.System.loadLibrary(System.java:988)
                                                       at com.supermap.data.Environment.LoadWrapJ(Environment.java:455)
                                                       at com.supermap.data.Environment.InternalLoadWrapJ(Environment.java:1092)
                                                       at com.supermap.mapping.g.a(InternalEnvironment.java:22)
                                                       at com.supermap.mapping.MapControl2.<clinit>(MapControl2.java:45)
                                                       at com.supermap.mapping.MapControl.a(MapControl.java:62)
                                                       at com.supermap.mapping.MapControl.<init>(MapControl.java:33)
                                                       at com.supermap.mapping.MapView.a(MapView.java:91)
                                                       at com.supermap.mapping.MapView.<init>(MapView.java:82)
                                                       at java.lang.reflect.Constructor.newInstance(Native Method)
                                                       at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
                                                       at android.view.LayoutInflater.createView(LayoutInflater.java:616)
                                                       at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:788)
                                                       at android.view.LayoutInflater.rInflate(LayoutInflater.java:851)
                                                       at android.view.LayoutInflater.rInflate(LayoutInflater.java:854)
                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:510)
                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:420)
                                                       at android.view.LayoutInflater.inflate(LayoutInflater.java:371)
                                                       at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:289)
                                                       at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
                                                       at com.imobile.view.MainActivity.onCreate(MainActivity.java:11)

2 个回答

在AS平台用iMobile for Android开发的时候,需要设置iMobile for Android引用包和依赖库,具体设置请参考帮助文档中的快速入门工程中的说明或者参考博文:http://blog.csdn.net/supermapsupport/article/details/51461612

2,042EXP 2017年12月15日
我已经按照您文档中所说的那样去配置了,但是还是报错 Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.imobile.view-1/base.apk"],nativeLibraryDirectories=[/data/app/com.imobile.view-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libimb.so"
你好,从以下方面排查:

1、确保jar包和依赖库复制到libs文件中,并在app文件中写SourceSets和dependencies;

2、确保iMobile for Android的许可可用;

3、将测试机上安装失败的软件卸载后再重新运行安装。
我也是这样,你解决了吗
11EXP 2017年12月23日
解决了,我没有配置许可权限,配置完许可就可以用了
...