SDK DEMO 初始化出错,提示没找到skdconfig.json文件,异常见内
0
05-29 11:02:46.454: W/System.err(31378): java.io.FileNotFoundException: /data/data/com.dji.sdkdemo/files/sdkconfig.json: open failed: ENOENT (No such file or directory)
05-29 11:02:46.454: W/System.err(31378): at libcore.io.IoBridge.open(IoBridge.java:456)
05-29 11:02:46.454: W/System.err(31378): at java.io.FileInputStream.<init>(FileInputStream.java:76)
05-29 11:02:46.454: W/System.err(31378): at android.app.ContextImpl.openFileInput(ContextImpl.java:1061)
05-29 11:02:46.454: W/System.err(31378): at android.content.ContextWrapper.openFileInput(ContextWrapper.java:175)
05-29 11:02:46.454: W/System.err(31378): at dji.sdk.api.DJIDrone.checkSdkConfigFileExsit(DJIDrone.java:882)
05-29 11:02:46.454: W/System.err(31378): at dji.sdk.api.DJIDrone.checkPermission(DJIDrone.java:1323)
05-29 11:02:46.454: W/System.err(31378): at com.dji.sdkdemo.MainActivity$2.run(MainActivity.java:65)
05-29 11:02:46.454: W/System.err(31378): Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
05-29 11:02:46.454: W/System.err(31378): at libcore.io.Posix.open(Native Method)
05-29 11:02:46.454: W/System.err(31378): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
05-29 11:02:46.454: W/System.err(31378): at libcore.io.IoBridge.open(IoBridge.java:442)
05-29 11:02:46.454: W/System.err(31378): ... 6 more
05-29 11:02:46.454: E/MainActivity(31378): onGetPermissionResult = -1
05-29 11:02:46.464: E/MainActivity(31378): onGetPermissionResultDescription = 不能连接到Internet
05-29 11:02:46.464: E/MainActivity(31378): 如仍未能理解报错信息提示,请拨打400-700-0303以获得技术支持服务。
PS 使用环境:
Android环境
注册开发者Level1,获取sdk 和demo 安装后在htc m8w(5.0.2)上运行,手机已联网,显示如上log。请回复如何处理。
|
|
|
|