在Android stuido当中运行ARSandTable Demo报错,报错信息具体如下:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/supermap/bslicense/BsLicense;
at com.supermap.data.PrivateCloudLicenseManager.<init>(PrivateCloudLicenseManager.java:31)
at com.supermap.data.PrivateCloudLicenseManager.getInstance(PrivateCloudLicenseManager.java:49)
at com.supermap.data.WorkspaceNative.isCloudValid(WorkspaceNative.java:50)
at com.supermap.data.WorkspaceNative.jni_Open(Native Method)
at com.supermap.data.Workspace.open(Workspace.java:210)
at com.supermap.ARSandTable.MainActivity.openWorkspace(MainActivity.java:478)
at com.supermap.ARSandTable.MainActivity.loadMap(MainActivity.java:251)
at com.supermap.ARSandTable.MainActivity.access$1100(MainActivity.java:107)
at com.supermap.ARSandTable.MainActivity$1$2.run(MainActivity.java:231)
at java.lang.Thread.run(Thread.java:920)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.supermap.bslicense.BsLicense" on path: DexPathList[[zip file "/data/app/~~tm93bQIY6hhKvpIo3hCCxA==/com.supermap.ARSandTable-efX90CHb2mXF72Fc5MR16w==/base.apk"],nativeLibraryDirectories=[/data/app/~~tm93bQIY6hhKvpIo3hCCxA==/com.supermap.ARSandTable-efX90CHb2mXF72Fc5MR16w==/lib/arm, /data/app/~~tm93bQIY6hhKvpIo3hCCxA==/com.supermap.ARSandTable-efX90CHb2mXF72Fc5MR16w==/base.apk!/lib/armeabi-v7a, /system/lib, /system_ext/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:218)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.supermap.data.PrivateCloudLicenseManager.<init>(PrivateCloudLicenseManager.java:31)
at com.supermap.data.PrivateCloudLicenseManager.getInstance(PrivateCloudLicenseManager.java:49)
at com.supermap.data.WorkspaceNative.isCloudValid(WorkspaceNative.java:50)
at com.supermap.data.WorkspaceNative.jni_Open(Native Method)
at com.supermap.data.Workspace.open(Workspace.java:210)
at com.supermap.ARSandTable.MainActivity.openWorkspace(MainActivity.java:478)
at com.supermap.ARSandTable.MainActivity.loadMap(MainActivity.java:251)
at com.supermap.ARSandTable.MainActivity.access$1100(MainActivity.java:107)
at com.supermap.ARSandTable.MainActivity$1$2.run(MainActivity.java:231)
at java.lang.Thread.run(Thread.java:920)