Android Question DJI Drones UI

PABLO2013

Well-Known Member
Licensed User
Longtime User
Greetings,
I wanted to know if this library is updated to the new sdk 4.41, or on the contrary this could work without updating ... is that this working and I generate errors, a thousand thanks
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

PABLO2013

Well-Known Member
Licensed User
Longtime User
Greetings Donmafred, thank you. This is the problem that comes to me, which could be my mistake, thanks

B4X:
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.NoClassDefFoundError: Failed resolution of: Lokio/Buffer;
    at dji.thirdparty.okhttp3.ResponseBody.create(Unknown Source)
    at dji.thirdparty.okhttp3.internal.Util.<clinit>(Unknown Source)
    at dji.thirdparty.okhttp3.internal.Util.immutableList(Unknown Source)
    at dji.thirdparty.okhttp3.OkHttpClient.<clinit>(Unknown Source)
    at dji.thirdparty.okhttp3.OkHttpClient$Builder.<init>(Unknown Source)
    at dji.internal.network.f.<init>(Unknown Source)
    at dji.internal.network.f.getInstance(Unknown Source)
    at dji.internal.network.e.<init>(Unknown Source)
    at dji.internal.network.e$a.<clinit>(Unknown Source)
    at dji.internal.network.e$a.a(Unknown Source)
    at dji.internal.network.e.getInstance(Unknown Source)
    at dji.internal.analytics.DJIAnalyticsEngine.init(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.initParams(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.initSDKManager(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.access$1100(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager$5.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.ClassNotFoundException: Didn't find class "okio.Buffer" on path: DexPathList[[zip file "/system/framework/com.android.future.usb.accessory.jar", zip file "/data/app/b4a.dji.test1-2/base.apk", zip file "/data/user/0/b4a.dji.test1/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/b4a.dji.test1-2/lib/arm, /system/fake-libs, /data/app/b4a.dji.test1-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 17 more
** Activity (main) Pause, UserClosed = true **
** Service (starter) Destroy **
**************************** BaseApplication **************************
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.NoClassDefFoundError: Failed resolution of: Lokio/Buffer;
    at dji.thirdparty.okhttp3.ResponseBody.create(Unknown Source)
    at dji.thirdparty.okhttp3.internal.Util.<clinit>(Unknown Source)
    at dji.thirdparty.okhttp3.internal.Util.immutableList(Unknown Source)
    at dji.thirdparty.okhttp3.OkHttpClient.<clinit>(Unknown Source)
    at dji.thirdparty.okhttp3.OkHttpClient$Builder.<init>(Unknown Source)
    at dji.internal.network.f.<init>(Unknown Source)
    at dji.internal.network.f.getInstance(Unknown Source)
    at dji.internal.network.e.<init>(Unknown Source)
    at dji.internal.network.e$a.<clinit>(Unknown Source)
    at dji.internal.network.e$a.a(Unknown Source)
    at dji.internal.network.e.getInstance(Unknown Source)
    at dji.internal.analytics.DJIAnalyticsEngine.init(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.initParams(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.initSDKManager(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.access$1100(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager$5.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.ClassNotFoundException: Didn't find class "okio.Buffer" on path: DexPathList[[zip file "/system/framework/com.android.future.usb.accessory.jar", zip file "/data/app/b4a.dji.test1-2/base.apk", zip file "/data/user/0/b4a.dji.test1/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/b4a.dji.test1-2/lib/arm, /system/fake-libs, /data/app/b4a.dji.test1-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 17 more
** Activity (main) Pause, UserClosed = true **
 
Upvote 0

PABLO2013

Well-Known Member
Licensed User
Longtime User
Greetings Donmafred, A thousand apologies

But now this comes out ...


B4X:
**************************** BaseApplication **************************
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/Gson;
    at dji.thirdparty.retrofit2.converter.gson.GsonConverterFactory.create(GsonConverterFactory.java:42)
    at dji.internal.network.f.<init>(Unknown Source)
    at dji.internal.network.f.getInstance(Unknown Source)
    at dji.internal.network.e.<init>(Unknown Source)
    at dji.internal.network.e$a.<clinit>(Unknown Source)
    at dji.internal.network.e$a.a(Unknown Source)
    at dji.internal.network.e.getInstance(Unknown Source)
    at dji.internal.analytics.DJIAnalyticsEngine.init(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.initParams(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.initSDKManager(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.access$1100(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager$5.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.gson.Gson" on path: DexPathList[[zip file "/system/framework/com.android.future.usb.accessory.jar", zip file "/data/app/b4a.dji.test1-2/base.apk", zip file "/data/user/0/b4a.dji.test1/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/b4a.dji.test1-2/lib/arm, /system/fake-libs, /data/app/b4a.dji.test1-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 13 more
** Activity (main) Pause, UserClosed = true **
** Service (starter) Destroy **
**************************** BaseApplication **************************
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/gson/Gson;
    at dji.thirdparty.retrofit2.converter.gson.GsonConverterFactory.create(GsonConverterFactory.java:42)
    at dji.internal.network.f.<init>(Unknown Source)
    at dji.internal.network.f.getInstance(Unknown Source)
    at dji.internal.network.e.<init>(Unknown Source)
    at dji.internal.network.e$a.<clinit>(Unknown Source)
    at dji.internal.network.e$a.a(Unknown Source)
    at dji.internal.network.e.getInstance(Unknown Source)
    at dji.internal.analytics.DJIAnalyticsEngine.init(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.initParams(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.initSDKManager(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager.access$1100(Unknown Source)
    at dji.sdk.sdkmanager.DJISDKManager$5.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.gson.Gson" on path: DexPathList[[zip file "/system/framework/com.android.future.usb.accessory.jar", zip file "/data/app/b4a.dji.test1-1/base.apk", zip file "/data/user/0/b4a.dji.test1/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/b4a.dji.test1-1/lib/arm, /data/app/b4a.dji.test1-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 13 more
** Activity (main) Pause, UserClosed = true **


my intention is not to use google maps I use mapsforge and a map of my country out of line (.map)...tks++
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

PABLO2013

Well-Known Member
Licensed User
Longtime User
Greetings Donmafred, A thousand apologies

But now this comes out ...


B4X:
**************************** BaseApplication **************************
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Registered successfully!
activation state: UNKNOWN
binding state: UNKNOWN
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/dji/service/areacode/wire/DJIACCityListModel;
    at com.dji.service.areacode.c.a(Unknown Source)
    at com.dji.service.areacode.c.a(Unknown Source)
    at com.dji.service.areacode.c.a(Unknown Source)
    at com.dji.service.areacode.DJIAreaCodeManger.a(Unknown Source)
    at com.dji.service.areacode.DJIAreaCodeManger.a(Unknown Source)
    at com.dji.service.areacode.DJIAreaCodeManger$e$1.handleMessage(Unknown Source)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:154)
    at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: java.lang.ClassNotFoundException: com.dji.service.areacode.wire.DJIACCityListModel
    at java.lang.VMClassLoader.findLoadedClass(Native Method)
    at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:742)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:362)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 9 more
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/wire/Message;
    ... 9 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.squareup.wire.Message" on path: DexPathList[[zip file "/system/framework/com.android.future.usb.accessory.jar", zip file "/data/app/b4a.dji.test1-1/base.apk", zip file "/data/user/0/b4a.dji.test1/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/b4a.dji.test1-1/lib/arm, /data/app/b4a.dji.test1-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 9 more
** Activity (main) Pause, UserClosed = true **
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top