Closed prenex closed 6 years ago
Did you set the dji.sdk.api_key in the manifest file?
You will get all kinds of strange things if you don't set the value and the sample doesn't include one, you must generate one yourself.
Sent from BlueMail
On Jul 27, 2018, 10:14 PM, at 10:14 PM, "Thier Richárd István" notifications@github.com wrote:
Dear team!
Earlier I could not build the project, but change the following values:
compile 'com.android.support:appcompat-v7:25.4.0' compile 'com.android.support:multidex:1.0.3'
to the following values:
compile 'com.android.support:appcompat-v7' compile 'com.android.support:multidex'
and I got a build success. Then however I get a lot of runtime errors as seen below - which seems to be unrelated to the above:
Can you help me please?
07-27 15:07:34.201 10584-10584/? I/SELinux: Function: selinux_android_load_priority [0], There is no sepolicy file. Function: selinux_android_load_priority [1], There is no sepolicy version file. Function: selinux_android_load_priority , priority version is VE=GOOGLE_POLICY selinux_android_seapp_context_reload: seapp_contexts file is loaded from /seapp_contexts 07-27 15:07:34.201 10584-10584/? D/dalvikvm: Late-enabling CheckJNI 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ldji/sdk/products/Aircraft;) VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;) 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.sdk.products.Aircraft', referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.getAircraftInstance 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve check-cast 2923 (Ldji/sdk/products/Aircraft;) in Lcom/dji/sdk/sample/internal/controller/DJISampleApplication; 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x1f at 0x0010 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample I/dalvikvm: Could not find method dji.sdk.sdkmanager.DJISDKManager.getInstance, referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.getBluetoothProductConnector 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static method 21279: Ldji/sdk/sdkmanager/DJISDKManager;.getInstance ()Ldji/sdk/sdkmanager/DJISDKManager; 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x71 at 0x0007 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ldji/sdk/sdkmanager/BluetoothProductConnector;) VFY: unable to find class referenced in signature (Ldji/sdk/products/HandHeld;) VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;) 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.sdk.products.HandHeld', referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.getHandHeldInstance 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve check-cast 2924 (Ldji/sdk/products/HandHeld;) in Lcom/dji/sdk/sample/internal/controller/DJISampleApplication; 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x1f at 0x0010 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample I/dalvikvm: Could not find method dji.sdk.sdkmanager.DJISDKManager.getInstance, referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.getProductInstance 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static method 21279: Ldji/sdk/sdkmanager/DJISDKManager;.getInstance ()Ldji/sdk/sdkmanager/DJISDKManager; 07-27 15:07:34.271 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x71 at 0x0007 07-27 15:07:34.276 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;) VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;) VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;) 07-27 15:07:34.276 10584-10584/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.sdk.products.Aircraft', referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.isAircraftConnected 07-27 15:07:34.276 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve instanceof 2923 (Ldji/sdk/products/Aircraft;) in Lcom/dji/sdk/sample/internal/controller/DJISampleApplication; 07-27 15:07:34.276 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x20 at 0x000a 07-27 15:07:34.276 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;) VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;) 07-27 15:07:34.276 10584-10584/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.sdk.products.HandHeld', referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.isHandHeldConnected 07-27 15:07:34.276 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve instanceof 2924 (Ldji/sdk/products/HandHeld;) in Lcom/dji/sdk/sample/internal/controller/DJISampleApplication; 07-27 15:07:34.276 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x20 at 0x000a 07-27 15:07:34.281 10584-10584/com.dji.sdk.sample I/MultiDex: VM with version 1.6.0 does not have multidex support install MultiDexExtractor.load(/data/app/com.dji.sdk.sample-1.apk, false) 07-27 15:07:34.291 10584-10584/com.dji.sdk.sample I/MultiDex: loading existing secondary dex files load found 0 secondary dex files install done 07-27 15:07:34.291 10584-10584/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-1/libDexHelper_sdk.so 0x4229e068 07-27 15:07:34.296 10584-10584/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-1/libDexHelper_sdk.so 0x4229e068 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample I/dalvikvm: Could not find method android.view.Window$Callback.onProvideKeyboardShortcuts, referenced from method android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve interface method 17115: Landroid/view/Window$Callback;.onProvideKeyboardShortcuts (Ljava/util/List;Landroid/view/Menu;I)V 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;) 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve interface method 17117: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve interface method 17121: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode; 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 502: Landroid/content/res/TypedArray;.getChangingConfigurations ()I 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 524: Landroid/content/res/TypedArray;.getType (I)I 07-27 15:07:34.431 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008 07-27 15:07:34.461 10584-10598/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-1/libSDKRelativeJNI.so 0x4229e068 07-27 15:07:34.481 10584-10584/com.dji.sdk.sample I/dalvikvm: Could not find method android.widget.FrameLayout.startActionModeForChild, referenced from method android.support.v7.widget.ActionBarContainer.startActionModeForChild 07-27 15:07:34.481 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 17574: Landroid/widget/FrameLayout;.startActionModeForChild (Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode; 07-27 15:07:34.481 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002 07-27 15:07:34.491 10584-10584/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v7.content.res.AppCompatResources.getColorStateList 07-27 15:07:34.491 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 310: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList; 07-27 15:07:34.491 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006 07-27 15:07:34.496 10584-10584/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable 07-27 15:07:34.496 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 465: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable; 07-27 15:07:34.496 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002 07-27 15:07:34.496 10584-10584/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawableForDensity 07-27 15:07:34.496 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 467: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable; 07-27 15:07:34.496 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002 07-27 15:07:34.506 10584-10584/com.dji.sdk.sample E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering 07-27 15:07:34.506 10584-10584/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve instanceof 147 (Landroid/graphics/drawable/RippleDrawable;) in Landroid/support/v7/widget/AppCompatImageHelper; 07-27 15:07:34.506 10584-10584/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c 07-27 15:07:34.561 10584-10584/com.dji.sdk.sample D/AbsListView: Get MotionRecognitionManager 07-27 15:07:34.601 10584-10584/com.dji.sdk.sample V/com.dji.sdk.sample.internal.view.MainContent: initUI 07-27 15:07:34.696 10584-10598/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-1/libSDKRelativeJNI.so 0x4229e068 07-27 15:07:34.696 10584-10598/com.dji.sdk.sample D/SDKRelativeJNI: load lib suc 07-27 15:07:34.761 10584-10584/com.dji.sdk.sample D/com.dji.sdk.sample.internal.view.MainContent: Comes into the onAttachedToWindow 07-27 15:07:34.761 10584-10584/com.dji.sdk.sample D/AndroidRuntime: Shutting down VM 07-27 15:07:34.761 10584-10584/com.dji.sdk.sample W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41d48c08) 07-27 15:07:34.816 10584-10584/com.dji.sdk.sample D/EventBus: No subscribers registered for event class dji.publics.DJIObject.DJICrashHandler$DJICrashEvent No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent 07-27 15:07:34.816 10584-10584/com.dji.sdk.sample E/DJICrashHandler: uncaughtException 3 07-27 15:07:34.896 10584-10606/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-1/libwaes.so 0x4229e068 Added shared lib /data/app-lib/com.dji.sdk.sample-1/libwaes.so 0x4229e068 No JNI_OnLoad found in /data/app-lib/com.dji.sdk.sample-1/libwaes.so 0x4229e068, skipping init 07-27 15:07:34.971 10584-10606/com.dji.sdk.sample E/DJISDKManager: can't find DJIEventBusIndex Class in SharedLib module java.lang.ClassNotFoundException: dji.event3.sharelib.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) Caused by: java.lang.NoClassDefFoundError: dji/event3/sharelib/DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.sharelib.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app-lib/com.dji.sdk.sample-1, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67) at java.lang.ClassLoader.loadClass(ClassLoader.java:497) at java.lang.ClassLoader.loadClass(ClassLoader.java:457) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) 07-27 15:07:34.976 10584-10606/com.dji.sdk.sample E/DJISDKManager: can't find DJIEventBusIndex Class in MidWare module java.lang.ClassNotFoundException: dji.event3.midware.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) Caused by: java.lang.NoClassDefFoundError: dji/event3/midware/DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.midware.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app-lib/com.dji.sdk.sample-1, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67) at java.lang.ClassLoader.loadClass(ClassLoader.java:497) at java.lang.ClassLoader.loadClass(ClassLoader.java:457) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) can't find DJIEventBusIndex Class in FlyForbid module java.lang.ClassNotFoundException: dji.event3.flyforbid.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) Caused by: java.lang.NoClassDefFoundError: dji/event3/flyforbid/DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.flyforbid.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app-lib/com.dji.sdk.sample-1, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67) at java.lang.ClassLoader.loadClass(ClassLoader.java:497) at java.lang.ClassLoader.loadClass(ClassLoader.java:457) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) can't find DJIEventBusIndex Class in service module 07-27 15:07:34.981 10584-10606/com.dji.sdk.sample E/DJISDKManager: java.lang.ClassNotFoundException: dji.event3.service.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) Caused by: java.lang.NoClassDefFoundError: dji/event3/service/DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.service.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app-lib/com.dji.sdk.sample-1, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67) at java.lang.ClassLoader.loadClass(ClassLoader.java:497) at java.lang.ClassLoader.loadClass(ClassLoader.java:457) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) can't find DJIEventBusIndex Class in FrLib module java.lang.ClassNotFoundException: com.dji.frlib.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) Caused by: java.lang.NoClassDefFoundError: com/dji/frlib/DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.dji.frlib.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app-lib/com.dji.sdk.sample-1, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67) at java.lang.ClassLoader.loadClass(ClassLoader.java:497) at java.lang.ClassLoader.loadClass(ClassLoader.java:457) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.lang.Class.forName(Class.java:216) 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:841) dji.thirdparty.v3.eventbus.EventBusException: Default instance already exists. It may be only set once before it's used the first time to ensure consistent behavior. at dji.thirdparty.v3.eventbus.EventBusBuilder.installDefaultEventBus(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:841) Failed to installDefaultEventBus: Default instance already exists. It may be only set once before it's used the first time to ensure consistent behavior. 07-27 15:07:34.986 10584-10606/com.dji.sdk.sample D/FPVController: try to load libdjivideo.so 07-27 15:07:34.986 10584-10606/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-1/libdjivideo.so 0x4229e068 07-27 15:07:34.991 10584-10606/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-1/libdjivideo.so 0x4229e068 07-27 15:07:35.016 10584-10584/com.dji.sdk.sample E/AndroidRuntime: FATAL EXCEPTION: main Process: com.dji.sdk.sample, PID: 10584 java.lang.NoClassDefFoundError: dji.sdk.sdkmanager.DJISDKManager at com.dji.sdk.sample.internal.controller.DJISampleApplication.getProductInstance(Unknown Source) at com.dji.sdk.sample.internal.view.MainContent.refreshSDKRelativeUI(Unknown Source) at com.dji.sdk.sample.internal.view.MainContent.onAttachedToWindow(Unknown Source) at android.view.View.dispatchAttachedToWindow(View.java:13532) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2673) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680) at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1519) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1256) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6635) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:812) at android.view.Choreographer.doCallbacks(Choreographer.java:612) at android.view.Choreographer.doFrame(Choreographer.java:582) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:798) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5603) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(Native Method) 07-27 15:07:35.061 10584-10606/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/bluetooth/le/ScanResult;) VFY: unable to find class referenced in signature (Landroid/bluetooth/le/ScanResult;) VFY: unable to find class referenced in signature (Landroid/bluetooth/le/ScanResult;) 07-27 15:07:35.066 10584-10606/com.dji.sdk.sample W/dalvikvm: Unable to resolve superclass of Ldji/midware/ble/BLE$1; (42) Link of class 'Ldji/midware/ble/BLE$1;' failed 07-27 15:07:35.066 10584-10606/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.midware.ble.BLE$1', referenced from method dji.midware.ble.BLE.initScanCallback 07-27 15:07:35.066 10584-10606/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve new-instance 2794 (Ldji/midware/ble/BLE$1;) in Ldji/midware/ble/BLE; 07-27 15:07:35.066 10584-10606/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x22 at 0x0006 07-27 15:07:35.066 10584-10606/com.dji.sdk.sample E/dalvikvm: Could not find class 'android.bluetooth.le.ScanSettings$Builder', referenced from method dji.midware.ble.BLE.simplyScan 07-27 15:07:35.066 10584-10606/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve new-instance 47 (Landroid/bluetooth/le/ScanSettings$Builder;) in Ldji/midware/ble/BLE; 07-27 15:07:35.066 10584-10606/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x22 at 0x0015 07-27 15:07:35.071 10584-10606/com.dji.sdk.sample I/dalvikvm: Could not find method android.bluetooth.BluetoothAdapter.getBluetoothLeScanner, referenced from method dji.midware.ble.BLE.init 07-27 15:07:35.071 10584-10606/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 96: Landroid/bluetooth/BluetoothAdapter;.getBluetoothLeScanner ()Landroid/bluetooth/le/BluetoothLeScanner; 07-27 15:07:35.071 10584-10606/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0017 07-27 15:07:35.071 10584-10606/com.dji.sdk.sample I/dalvikvm: Could not find method android.bluetooth.le.BluetoothLeScanner.stopScan, referenced from method dji.midware.ble.BLE.stopScan 07-27 15:07:35.071 10584-10606/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 131: Landroid/bluetooth/le/BluetoothLeScanner;.stopScan (Landroid/bluetooth/le/ScanCallback;)V 07-27 15:07:35.071 10584-10606/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0025 07-27 15:07:35.076 10584-10606/com.dji.sdk.sample W/dalvikvm: Unable to resolve superclass of Ldji/midware/ble/BLE$1; (42) Link of class 'Ldji/midware/ble/BLE$1;' failed 07-27 15:07:35.076 10584-10606/com.dji.sdk.sample D/dalvikvm: DexOpt: unable to opt direct call 0x43c5 at 0x08 in Ldji/midware/ble/BLE;.initScanCallback DexOpt: unable to opt direct call 0x0086 at 0x0f in Ldji/midware/ble/BLE;.initScanCallback DexOpt: unable to opt direct call 0x008e at 0x17 in Ldji/midware/ble/BLE;.simplyScan 07-27 15:07:35.096 10584-10612/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-1/libGroudStation.so 0x4229e068 07-27 15:07:35.101 10584-10612/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-1/libGroudStation.so 0x4229e068 07-27 15:07:35.101 10584-10612/com.dji.sdk.sample I/onLoad: loaded onLoad.cpp :JNI_OnLoad() go to end 07-27 15:07:35.106 10584-10612/com.dji.sdk.sample D/GroudStation: load lib suc 07-27 15:07:35.111 10584-10623/com.dji.sdk.sample I/DpadProductManager: initBuildConfig cnt = 0 07-27 15:07:35.121 10584-10623/com.dji.sdk.sample I/DpadProductManager: init(), productType = None 07-27 15:07:35.121 10584-10623/com.dji.sdk.sample D/NativeRcController: x try to load libusbdec.so 07-27 15:07:35.121 10584-10623/com.dji.sdk.sample E/NativeRcController: Couldn't load libusbdec.so 07-27 15:07:35.126 10584-10606/com.dji.sdk.sample I/DJIProductManager: lType=Tomato lrcType=Tomato 07-27 15:07:35.131 10584-10606/com.dji.sdk.sample I/DJIProductManager: DJIProductManager register 07-27 15:07:35.131 10584-10623/com.dji.sdk.sample D/UsbAccessoryService: accessory startStream 07-27 15:07:35.141 10584-10606/com.dji.sdk.sample E/DJIUsbAccessoryReceiver: start accessory receiver 07-27 15:07:35.141 10584-10606/com.dji.sdk.sample I/ConnectDebug: (1532696855147) DJIUsbAccessoryReceiver start accessory receiver 07-27 15:07:35.166 10584-10627/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-1/libudt.so 0x4229e068 Added shared lib /data/app-lib/com.dji.sdk.sample-1/libudt.so 0x4229e068 No JNI_OnLoad found in /data/app-lib/com.dji.sdk.sample-1/libudt.so 0x4229e068, skipping init Trying to load lib /data/app-lib/com.dji.sdk.sample-1/libudtjni.so 0x4229e068 Added shared lib /data/app-lib/com.dji.sdk.sample-1/libudtjni.so 0x4229e068 07-27 15:07:35.166 10584-10627/com.dji.sdk.sample D/logWrite.cpp: UDT JNI_OnLoad----------------> UDP jniRegisterNativeMethods: jniRegisterNativeMethods 07-27 15:07:35.171 10584-10627/com.dji.sdk.sample D/logWrite.cpp: loaded UDT :JNI_OnLoad() go to end 07-27 15:07:35.171 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;) VFY: unable to find class referenced in signature (Landroid/net/Network;) VFY: unable to find class referenced in signature (Landroid/net/Network;) VFY: unable to find class referenced in signature (Landroid/net/Network;) 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;) 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.Network.getSocketFactory, referenced from method dji.midware.f.a.a 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 678: Landroid/net/Network;.getSocketFactory ()Ljavax/net/SocketFactory; 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0020 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;) 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.getAllNetworks, referenced from method dji.midware.f.a.b 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 670: Landroid/net/ConnectivityManager;.getAllNetworks ()[Landroid/net/Network; 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0011 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;) 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.setProcessDefaultNetwork, referenced from method dji.midware.f.a.b 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static method 674: Landroid/net/ConnectivityManager;.setProcessDefaultNetwork (Landroid/net/Network;)Z 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x71 at 0x0022 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.bindProcessToNetwork, referenced from method dji.midware.f.a.b 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 668: Landroid/net/ConnectivityManager;.bindProcessToNetwork (Landroid/net/Network;)Z 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x002d 07-27 15:07:35.176 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;) VFY: unable to find class referenced in signature (Landroid/net/Network;) VFY: unable to find class referenced in signature (Landroid/net/Network;) VFY: unable to find class referenced in signature (Landroid/net/Network;) Unable to resolve superclass of Ldji/midware/f/a$2; (170) Link of class 'Ldji/midware/f/a$2;' failed 07-27 15:07:35.181 10584-10626/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.midware.f.a$2', referenced from method dji.midware.f.a.g 07-27 15:07:35.181 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve new-instance 4134 (Ldji/midware/f/a$2;) in Ldji/midware/f/a; 07-27 15:07:35.181 10584-10626/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x22 at 0x0000 07-27 15:07:35.181 10584-10626/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.requestNetwork, referenced from method dji.midware.f.a.h 07-27 15:07:35.181 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 673: Landroid/net/ConnectivityManager;.requestNetwork (Landroid/net/NetworkRequest;Landroid/net/ConnectivityManager$NetworkCallback;)V 07-27 15:07:35.181 10584-10626/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x00a5 07-27 15:07:35.181 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;) VFY: unable to find class referenced in signature (Landroid/net/Network;) VFY: unable to find class referenced in signature (Landroid/net/Network;) 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.unregisterNetworkCallback, referenced from method dji.midware.f.a.s 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 675: Landroid/net/ConnectivityManager;.unregisterNetworkCallback (Landroid/net/ConnectivityManager$NetworkCallback;)V 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;) 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.Network.bindSocket, referenced from method dji.midware.f.a.a 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 676: Landroid/net/Network;.bindSocket (Ljava/io/FileDescriptor;)V 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0027 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample E/dalvikvm: Could not find class 'android.net.NetworkRequest$Builder', referenced from method dji.midware.f.a.a 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve new-instance 175 (Landroid/net/NetworkRequest$Builder;) in Ldji/midware/f/a; 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x22 at 0x0019 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;) 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.Network.bindSocket, referenced from method dji.midware.f.a.a 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 677: Landroid/net/Network;.bindSocket (Ljava/net/Socket;)V 07-27 15:07:35.186 10584-10626/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0013 07-27 15:07:35.191 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;) VFY: unable to find class referenced in signature (Landroid/net/Network;) Unable to resolve superclass of Ldji/midware/f/a$2; (170) Link of class 'Ldji/midware/f/a$2;' failed 07-27 15:07:35.191 10584-10626/com.dji.sdk.sample D/dalvikvm: DexOpt: unable to opt direct call 0x7433 at 0x02 in Ldji/midware/f/a;.g DexOpt: unable to opt direct call 0x02af at 0x1b in Ldji/midware/f/a;.a 07-27 15:07:35.196 10584-10626/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;) VFY: unable to find class referenced in signature (Landroid/net/Network;) VFY: unable to find class referenced in signature (Landroid/net/Network;) 07-27 15:07:35.281 10584-10611/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 5299K, 44% free 7876K/14048K, paused 29ms, total 29ms 07-27 15:07:35.386 10584-10606/com.dji.sdk.sample D/BluetoothAdapter: 1115921240: getState() : mService = null. Returning STATE_OFF 07-27 15:07:35.406 10584-10611/com.dji.sdk.sample D/DJIFlycParamInfoManager: readToMemory size = 673 07-27 15:07:35.421 10584-10606/com.dji.sdk.sample D/a: request wifi-g snr push-false;false;Tomato; request wifi snr push-false;false;Tomato; 07-27 15:07:35.421 10584-10635/com.dji.sdk.sample E/Lightbridge: Failed to obtain JNIEnv 07-27 15:07:35.421 10584-10636/com.dji.sdk.sample E/Lightbridge: Failed to obtain JNIEnv 07-27 15:07:35.436 10584-10606/com.dji.sdk.sample D/a: DataEvent = ConnectLose 07-27 15:07:35.441 10584-10606/com.dji.sdk.sample D/DJIComponentManager: Fri Jul 27 15:07:35 CEST 2018updateValue 07-27 15:07:35.466 10584-10606/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-1/libsqlcipher.so 0x4229e068 07-27 15:07:35.471 10584-10606/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-1/libsqlcipher.so 0x4229e068 07-27 15:07:35.546 10584-10606/com.dji.sdk.sample I/a: addCameraAbstraction None None 07-27 15:07:35.596 10584-10606/com.dji.sdk.sample W/Bundle: Key com.dji.sdk.API_KEY expected String but value was a java.lang.Integer. The default value <null> was returned. 07-27 15:07:35.601 10584-10606/com.dji.sdk.sample W/Bundle: Attempt to cast generated internal exception: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at android.os.Bundle.getString(Bundle.java:1121) at dji.internal.analytics.helper.DJIAnalyticsHeaderManager.getAppKey(Unknown Source) at dji.internal.analytics.helper.DJIAnalyticsHeaderManager.initHeaders(Unknown Source) at dji.internal.analytics.helper.DJIAnalyticsHeaderManager.init(Unknown Source) at dji.internal.analytics.DJIAnalyticsEngine.<init>(Unknown Source) at dji.internal.analytics.DJIAnalyticsEngine.<init>(Unknown Source) at dji.internal.analytics.DJIAnalyticsEngine$b.<clinit>(Unknown Source) at dji.internal.analytics.DJIAnalyticsEngine.getInstance(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:841) 07-27 15:07:35.666 10584-10604/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 1783K, 43% free 8141K/14048K, paused 27ms, total 27ms 07-27 15:07:35.676 10584-10606/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.getAllNetworks, referenced from method com.dji.h.a.e 07-27 15:07:35.676 10584-10606/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 670: Landroid/net/ConnectivityManager;.getAllNetworks ()[Landroid/net/Network; 07-27 15:07:35.676 10584-10606/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f 07-27 15:07:35.906 10584-10606/com.dji.sdk.sample E/dalvikvm: Could not find class 'com.amap.api.location.AMapLocationClientOption', referenced from method com.dji.service.areacode.DJIAreaCodeManger.b 07-27 15:07:35.906 10584-10606/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve new-instance 350 (Lcom/amap/api/location/AMapLocationClientOption;) in Lcom/dji/service/areacode/DJIAreaCodeManger; 07-27 15:07:35.906 10584-10606/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x22 at 0x0001 07-27 15:07:35.916 10584-10606/com.dji.sdk.sample D/dalvikvm: DexOpt: unable to opt direct call 0x050d at 0x03 in Lcom/dji/service/areacode/DJIAreaCodeManger;.b 07-27 15:07:35.936 10584-10622/com.dji.sdk.sample D/EventBus: No subscribers registered for event class com.dji.service.areacode.DJIAreaCodeManger$c No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent No subscribers registered for event class com.dji.service.areacode.DJIAreaCodeManger$d 07-27 15:07:35.941 10584-10622/com.dji.sdk.sample D/EventBus: No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent 07-27 15:07:35.946 10584-10622/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Lcom/amap/api/location/AMapLocationClientOption;) 07-27 15:07:35.951 10584-10622/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static field 106 (Hight_Accuracy) in Lcom/amap/api/location/AMapLocationClientOption$AMapLocationMode; 07-27 15:07:35.951 10584-10622/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x62 at 0x0021 07-27 15:07:35.951 10584-10622/com.dji.sdk.sample I/dalvikvm: Could not find method com.amap.api.location.AMapLocationClientOption.setGpsFirst, referenced from method com.dji.mapkit.lbs.provider.DispatcherLocationProvider.setWifiScanEnable 07-27 15:07:35.951 10584-10622/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 1294: Lcom/amap/api/location/AMapLocationClientOption;.setGpsFirst (Z)Lcom/amap/api/location/AMapLocationClientOption; 07-27 15:07:35.951 10584-10622/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0031 07-27 15:07:35.956 10584-10622/com.dji.sdk.sample I/DJILocationManager: Configuration requires not to use AMap Services, so skipping that step to Default Location Providers Attempting to get location from default providers... 07-27 15:07:35.961 10584-10622/com.dji.sdk.sample I/DJILocationManager: Network is not enabled, calling fail... 07-27 15:07:35.966 10584-10622/com.dji.sdk.sample W/dalvikvm: Unable to match class for part: 'Lcom/amap/api/location/AMapLocationClientOption;' 07-27 15:07:36.046 10584-10606/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 1393K, 38% free 8769K/14048K, paused 34ms, total 34ms 07-27 15:07:36.156 10584-10606/com.dji.sdk.sample W/Bundle: Key com.dji.sdk.API_KEY expected String but value was a java.lang.Integer. The default value <null> was returned. Attempt to cast generated internal exception: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at android.os.Bundle.getString(Bundle.java:1121) at dji.sdk.sdkmanager.DJISDKManager.getAppID(Unknown Source) at dji.sdk.sdkmanager.DJISDKManager.getFeatureFlagsFromServer(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:841) 07-27 15:07:36.341 10584-10657/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-1/libFlyForbid.so 0x4229e068 07-27 15:07:36.351 10584-10657/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-1/libFlyForbid.so 0x4229e068 07-27 15:07:36.351 10584-10657/com.dji.sdk.sample I/onLoad: loaded onLoad.cpp :JNI_OnLoad() go to end 07-27 15:07:36.351 10584-10657/com.dji.sdk.sample D/FlyForbid: load lib success 07-27 15:07:36.351 10584-10653/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;) VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;) 07-27 15:07:36.356 10584-10653/com.dji.sdk.sample I/dalvikvm: Could not find method java.nio.file.Files.newOutputStream, referenced from method okio.Okio.sink 07-27 15:07:36.356 10584-10653/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static method 36235: Ljava/nio/file/Files;.newOutputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream; 07-27 15:07:36.356 10584-10653/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x71 at 0x000a 07-27 15:07:36.356 10584-10653/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;) VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;) 07-27 15:07:36.356 10584-10653/com.dji.sdk.sample I/dalvikvm: Could not find method java.nio.file.Files.newInputStream, referenced from method okio.Okio.source 07-27 15:07:36.356 10584-10653/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static method 36234: Ljava/nio/file/Files;.newInputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream; 07-27 15:07:36.356 10584-10653/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x71 at 0x000a 07-27 15:07:36.366 10584-10657/com.dji.sdk.sample E/nfz: 2018-07-27 15:07:36: db init step free size: 10313 07-27 15:07:36.411 10584-10659/com.dji.sdk.sample D/EventBus: No subscribers registered for event class dji.pilot.flyforbid.f$a No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent 07-27 15:07:36.421 10584-10659/com.dji.sdk.sample D/EventBus: No subscribers registered for event class dji.pilot.flyforbid.f$a No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent 07-27 15:07:36.426 10584-10659/com.dji.sdk.sample D/EventBus: No subscribers registered for event class dji.pilot.flyforbid.f$a No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent 07-27 15:07:36.436 10584-10606/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.Context.checkSelfPermission, referenced from method dji.pilot.flyforbid.a.a.d 07-27 15:07:36.436 10584-10606/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 167: Landroid/content/Context;.checkSelfPermission (Ljava/lang/String;)I 07-27 15:07:36.436 10584-10606/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0018 07-27 15:07:36.561 10584-10606/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-1/libFR.so 0x4229e068 07-27 15:07:36.651 10584-10606/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-1/libFR.so 0x4229e068 07-27 15:07:36.651 10584-10606/com.dji.sdk.sample E/FR_JNI: JNI_OnLoad 07-27 15:07:36.651 10584-10606/com.dji.sdk.sample D/FRCore: load lib suc 07-27 15:07:36.681 10584-10606/com.dji.sdk.sample D/c: Register All Adapters 07-27 15:07:36.771 10584-10606/com.dji.sdk.sample I/checkNetworkStatus: connect 07-27 15:07:36.926 10584-10655/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 2649K, 27% free 10328K/14048K, paused 42ms, total 43ms 07-27 15:07:37.006 10584-10606/com.dji.sdk.sample W/System.err: java.util.concurrent.TimeoutException at dji.midware.util.t.a(Unknown Source) at dji.midware.broadcastReceivers.DJINetWorkReceiver.b(Unknown Source) at dji.midware.broadcastReceivers.DJINetWorkReceiver.f(Unknown Source) at dji.midware.broadcastReceivers.DJINetWorkReceiver.<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:841) 07-27 15:07:37.011 10584-10606/com.dji.sdk.sample D/nfz: 2018-07-27 15:07:37: polygon update network switch to connect ok 07-27 15:07:37.016 10584-10677/com.dji.sdk.sample W/Bundle: Key com.dji.sdk.API_KEY expected String but value was a java.lang.Integer. The default value <null> was returned. 07-27 15:07:37.016 10584-10677/com.dji.sdk.sample W/Bundle: Attempt to cast generated internal exception: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at android.os.Bundle.getString(Bundle.java:1121) at dji.internal.d.a.b(Unknown Source) at dji.internal.d.a.c(Unknown Source) at dji.internal.d.a.a(Unknown Source) at dji.internal.d.a$1.run(Unknown Source) 07-27 15:07:37.026 10584-10622/com.dji.sdk.sample V/MainActivity: The app key was not provided. 07-27 15:07:37.131 10584-10657/com.dji.sdk.sample E/nfz: 2018-07-27 15:07:37: db init step free size: 10313 07-27 15:07:38.126 10584-10657/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 1180K, 25% free 10597K/14048K, paused 44ms, total 44ms 07-27 15:07:38.126 10584-10657/com.dji.sdk.sample I/dalvikvm-heap: Grow heap (frag case) to 11.378MB for 188432-byte allocation 07-27 15:07:38.161 10584-10593/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 92K, 25% free 10688K/14236K, paused 36ms, total 36ms 07-27 15:07:38.201 10584-10657/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 184K, 26% free 10880K/14616K, paused 37ms, total 37ms 07-27 15:07:38.246 10584-10657/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 1199K, 30% free 11969K/16912K, paused 30ms, total 30ms 07-27 15:07:38.286 10584-10657/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 1528K, 33% free 13505K/19980K, paused 28ms, total 28ms 07-27 15:07:38.331 10584-10657/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 3064K, 37% free 16577K/26120K, paused 28ms, total 28ms 07-27 15:07:38.411 10584-10657/com.dji.sdk.sample D/nfz: 2018-07-27 15:07:38: circle db create success 01.00.01.07 1518590973 07-27 15:07:38.411 10584-10657/com.dji.sdk.sample E/nfz: 2018-07-27 15:07:38: db init step free size: 10313 07-27 15:07:38.686 10584-10657/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 10020K, 26% free 10482K/14048K, paused 32ms, total 32ms 07-27 15:07:38.721 10584-10657/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 32K, 25% free 10546K/14048K, paused 32ms, total 32ms 07-27 15:07:38.721 10584-10657/com.dji.sdk.sample I/dalvikvm-heap: Grow heap (frag case) to 11.368MB for 229392-byte allocation 07-27 15:07:38.756 10584-10593/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 96K, 26% free 10674K/14276K, paused 35ms, total 35ms 07-27 15:07:38.801 10584-10657/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 704K, 28% free 11442K/15756K, paused 38ms, total 39ms 07-27 15:07:38.851 10584-10657/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 3008K, 34% free 14514K/21844K, paused 28ms, total 28ms 07-27 15:07:38.856 10584-10657/com.dji.sdk.sample I/dalvikvm-heap: Grow heap (frag case) to 18.598MB for 3748480-byte allocation 07-27 15:07:38.891 10584-10593/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 16K, 17% free 18158K/21844K, paused 37ms, total 37ms 07-27 15:07:38.931 10584-10657/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 4067K, 21% free 14096K/17712K, paused 38ms, total 38ms 07-27 15:07:38.936 10584-10657/com.dji.sdk.sample I/dalvikvm-heap: Grow heap (frag case) to 18.191MB for 3748480-byte allocation 07-27 15:07:38.996 10584-10593/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 0K, 17% free 17757K/21376K, paused 60ms, total 60ms 07-27 15:07:39.011 10584-10591/com.dji.sdk.sample I/dalvikvm: Total arena pages for JIT: 11 Total arena pages for JIT: 12 07-27 15:07:39.016 10584-10591/com.dji.sdk.sample I/dalvikvm: Total arena pages for JIT: 13 Total arena pages for JIT: 14 Total arena pages for JIT: 15 Total arena pages for JIT: 16 Total arena pages for JIT: 17 07-27 15:07:39.036 10584-10591/com.dji.sdk.sample I/dalvikvm: Total arena pages for JIT: 18 07-27 15:07:39.211 10584-10627/com.dji.sdk.sample E/step: step UDT.startup() start 1532696859217 step UDT.startup() end 1532696859217 07-27 15:07:39.891 10584-10657/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 19K, 17% free 18018K/21544K, paused 28ms, total 28ms 07-27 15:07:39.896 10584-10657/com.dji.sdk.sample I/dalvikvm-heap: Grow heap (frag case) to 22.020MB for 3748465-byte allocation 07-27 15:07:39.931 10584-10593/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 3661K, 29% free 18017K/25208K, paused 35ms, total 35ms 07-27 15:07:40.166 10584-10628/com.dji.sdk.sample E/swudp-jni: SW_Pro_Gnd_Entry already stop 07-27 15:07:40.166 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:07:40.776 10584-10657/com.dji.sdk.sample D/EventBus: No subscribers registered for event class dji.midware.data.forbid.db.FlyfrbBaseDbManager$FlyfrbDbInfoEvent No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent 07-27 15:07:40.781 10584-10657/com.dji.sdk.sample E/nfz: 2018-07-27 15:07:40: db init step free size: 10313 07-27 15:07:42.186 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:07:44.176 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:07:46.181 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:07:48.181 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:07:50.181 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:07:52.181 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:07:54.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:07:56.186 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:07:58.186 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:00.186 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:02.181 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:04.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:06.181 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:08.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:10.181 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:12.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:14.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:16.181 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:17.731 10584-10591/com.dji.sdk.sample I/dalvikvm: Jit: resizing JitTable from 4096 to 8192 07-27 15:08:18.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:20.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:22.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:24.186 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:26.186 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:28.186 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:30.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:32.186 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:34.186 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:36.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:38.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:40.186 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:42.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:44.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:46.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:48.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:50.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:52.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:54.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:56.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:08:58.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:00.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:02.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:04.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:06.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:08.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:10.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:12.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:14.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:16.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:18.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:20.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:22.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:24.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:26.191 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:28.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:30.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:32.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:34.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:36.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:38.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:40.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:42.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:44.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:46.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:48.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:50.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:52.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:54.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:56.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:09:58.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:00.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:02.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:03.701 10584-10641/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 11567K, 50% free 10934K/21532K, paused 61ms, total 62ms 07-27 15:10:04.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:06.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:08.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:10.201 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:12.196 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:14.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:16.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:18.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:20.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:22.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:24.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:26.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:28.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:30.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:32.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:34.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:36.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:38.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:40.216 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:42.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:44.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:46.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:48.206 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:50.216 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:52.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-27 15:10:54.211 10584-10628/com.dji.sdk.sample E/a: getNetworkObject return null for null cm 07-2
I have created an API key, just for this test app (will use an other one for the real apps). I give it like this:
<!--
ADD API_KEY HERE and make sure you
are connected to the Internet before
the app is launched
-->
<meta-data
android:name="com.dji.sdk.API_KEY"
android:value="59407"/>
I the user center web page I have this:
SDK Type Mobile SDK APP Name sdksample Software PlatformAndroid Bundle Identifier com.dji.sdk.sample App Key d0934769df05574d02f386e7 Category testing samples Description evaluation of the SDK
Now I realize I was using "App ID" and not the "App key".... Will be back with trying that instead of the "App ID"... :-)
Do I need to connect a drone controller otherwise the app crashes or is that not necessary at this point? I see "API Key successfully registered", but still a lot of the class not found exception messages:
07-27 17:00:15.641 13623-13623/? I/SELinux: Function: selinux_android_load_priority [0], There is no sepolicy file.
Function: selinux_android_load_priority [1], There is no sepolicy version file.
Function: selinux_android_load_priority , priority version is VE=GOOGLE_POLICY
selinux_android_seapp_context_reload: seapp_contexts file is loaded from /seapp_contexts
07-27 17:00:15.641 13623-13623/? D/dalvikvm: Late-enabling CheckJNI
07-27 17:00:15.751 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ldji/sdk/products/Aircraft;)
VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;)
07-27 17:00:15.751 13623-13623/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.sdk.products.Aircraft', referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.getAircraftInstance
07-27 17:00:15.751 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve check-cast 2923 (Ldji/sdk/products/Aircraft;) in Lcom/dji/sdk/sample/internal/controller/DJISampleApplication;
07-27 17:00:15.751 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x1f at 0x0010
07-27 17:00:15.751 13623-13623/com.dji.sdk.sample I/dalvikvm: Could not find method dji.sdk.sdkmanager.DJISDKManager.getInstance, referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.getBluetoothProductConnector
07-27 17:00:15.751 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static method 21279: Ldji/sdk/sdkmanager/DJISDKManager;.getInstance ()Ldji/sdk/sdkmanager/DJISDKManager;
07-27 17:00:15.751 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x71 at 0x0007
07-27 17:00:15.751 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ldji/sdk/sdkmanager/BluetoothProductConnector;)
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ldji/sdk/products/HandHeld;)
VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;)
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.sdk.products.HandHeld', referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.getHandHeldInstance
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve check-cast 2924 (Ldji/sdk/products/HandHeld;) in Lcom/dji/sdk/sample/internal/controller/DJISampleApplication;
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x1f at 0x0010
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample I/dalvikvm: Could not find method dji.sdk.sdkmanager.DJISDKManager.getInstance, referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.getProductInstance
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static method 21279: Ldji/sdk/sdkmanager/DJISDKManager;.getInstance ()Ldji/sdk/sdkmanager/DJISDKManager;
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x71 at 0x0007
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;)
VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;)
VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;)
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.sdk.products.Aircraft', referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.isAircraftConnected
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve instanceof 2923 (Ldji/sdk/products/Aircraft;) in Lcom/dji/sdk/sample/internal/controller/DJISampleApplication;
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x20 at 0x000a
07-27 17:00:15.756 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;)
07-27 17:00:15.761 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ldji/sdk/base/BaseProduct;)
07-27 17:00:15.761 13623-13623/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.sdk.products.HandHeld', referenced from method com.dji.sdk.sample.internal.controller.DJISampleApplication.isHandHeldConnected
07-27 17:00:15.761 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve instanceof 2924 (Ldji/sdk/products/HandHeld;) in Lcom/dji/sdk/sample/internal/controller/DJISampleApplication;
07-27 17:00:15.761 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x20 at 0x000a
07-27 17:00:15.761 13623-13623/com.dji.sdk.sample I/MultiDex: VM with version 1.6.0 does not have multidex support
install
07-27 17:00:15.766 13623-13623/com.dji.sdk.sample I/MultiDex: MultiDexExtractor.load(/data/app/com.dji.sdk.sample-3.apk, false)
07-27 17:00:15.771 13623-13623/com.dji.sdk.sample I/MultiDex: Detected that extraction must be performed.
07-27 17:00:15.796 13623-13623/com.dji.sdk.sample I/MultiDex: load found 0 secondary dex files
install done
07-27 17:00:15.801 13623-13623/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-3/libDexHelper_sdk.so 0x42299698
Added shared lib /data/app-lib/com.dji.sdk.sample-3/libDexHelper_sdk.so 0x42299698
07-27 17:00:16.836 13623-13623/com.dji.sdk.sample I/dalvikvm: Could not find method android.view.Window$Callback.onProvideKeyboardShortcuts, referenced from method android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
07-27 17:00:16.836 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve interface method 17115: Landroid/view/Window$Callback;.onProvideKeyboardShortcuts (Ljava/util/List;Landroid/view/Menu;I)V
07-27 17:00:16.836 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
07-27 17:00:16.836 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
07-27 17:00:16.836 13623-13623/com.dji.sdk.sample I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
07-27 17:00:16.836 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve interface method 17117: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
07-27 17:00:16.836 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
07-27 17:00:16.836 13623-13623/com.dji.sdk.sample I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
07-27 17:00:16.836 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve interface method 17121: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
07-27 17:00:16.836 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
07-27 17:00:16.841 13623-13623/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations
07-27 17:00:16.841 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 502: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
07-27 17:00:16.841 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
07-27 17:00:16.841 13623-13623/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType
07-27 17:00:16.841 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 524: Landroid/content/res/TypedArray;.getType (I)I
07-27 17:00:16.841 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008
07-27 17:00:16.871 13623-13640/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-3/libSDKRelativeJNI.so 0x42299698
07-27 17:00:16.891 13623-13623/com.dji.sdk.sample I/dalvikvm: Could not find method android.widget.FrameLayout.startActionModeForChild, referenced from method android.support.v7.widget.ActionBarContainer.startActionModeForChild
07-27 17:00:16.891 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 17574: Landroid/widget/FrameLayout;.startActionModeForChild (Landroid/view/View;Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
07-27 17:00:16.891 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6f at 0x0002
07-27 17:00:16.901 13623-13623/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v7.content.res.AppCompatResources.getColorStateList
07-27 17:00:16.901 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 310: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
07-27 17:00:16.901 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
07-27 17:00:16.906 13623-13623/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.res.Resources.getDrawable, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawable
07-27 17:00:16.906 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 465: Landroid/content/res/Resources;.getDrawable (ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
07-27 17:00:16.906 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
07-27 17:00:16.906 13623-13623/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.res.Resources.getDrawableForDensity, referenced from method android.support.v7.widget.ResourcesWrapper.getDrawableForDensity
07-27 17:00:16.906 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 467: Landroid/content/res/Resources;.getDrawableForDensity (IILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
07-27 17:00:16.906 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
07-27 17:00:16.916 13623-13623/com.dji.sdk.sample E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
07-27 17:00:16.916 13623-13623/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve instanceof 147 (Landroid/graphics/drawable/RippleDrawable;) in Landroid/support/v7/widget/AppCompatImageHelper;
07-27 17:00:16.916 13623-13623/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c
07-27 17:00:16.971 13623-13623/com.dji.sdk.sample D/AbsListView: Get MotionRecognitionManager
07-27 17:00:17.006 13623-13623/com.dji.sdk.sample V/com.dji.sdk.sample.internal.view.MainContent: initUI
07-27 17:00:17.071 13623-13640/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-3/libSDKRelativeJNI.so 0x42299698
07-27 17:00:17.071 13623-13640/com.dji.sdk.sample D/SDKRelativeJNI: load lib suc
07-27 17:00:17.116 13623-13623/com.dji.sdk.sample D/com.dji.sdk.sample.internal.view.MainContent: Comes into the onAttachedToWindow
07-27 17:00:17.116 13623-13623/com.dji.sdk.sample D/AndroidRuntime: Shutting down VM
07-27 17:00:17.116 13623-13623/com.dji.sdk.sample W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41d48c08)
07-27 17:00:17.166 13623-13623/com.dji.sdk.sample D/EventBus: No subscribers registered for event class dji.publics.DJIObject.DJICrashHandler$DJICrashEvent
No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent
07-27 17:00:17.166 13623-13623/com.dji.sdk.sample E/DJICrashHandler: uncaughtException 3
07-27 17:00:17.226 13623-13648/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-3/libwaes.so 0x42299698
Added shared lib /data/app-lib/com.dji.sdk.sample-3/libwaes.so 0x42299698
No JNI_OnLoad found in /data/app-lib/com.dji.sdk.sample-3/libwaes.so 0x42299698, skipping init
07-27 17:00:17.296 13623-13648/com.dji.sdk.sample E/DJISDKManager: can't find DJIEventBusIndex Class in SharedLib module
java.lang.ClassNotFoundException: dji.event3.sharelib.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
Caused by: java.lang.NoClassDefFoundError: dji/event3/sharelib/DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.sharelib.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-3.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app-lib/com.dji.sdk.sample-3, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
can't find DJIEventBusIndex Class in MidWare module
java.lang.ClassNotFoundException: dji.event3.midware.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
Caused by: java.lang.NoClassDefFoundError: dji/event3/midware/DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.midware.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-3.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app-lib/com.dji.sdk.sample-3, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
can't find DJIEventBusIndex Class in FlyForbid module
07-27 17:00:17.301 13623-13648/com.dji.sdk.sample E/DJISDKManager: java.lang.ClassNotFoundException: dji.event3.flyforbid.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
Caused by: java.lang.NoClassDefFoundError: dji/event3/flyforbid/DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.flyforbid.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-3.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app-lib/com.dji.sdk.sample-3, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
can't find DJIEventBusIndex Class in service module
java.lang.ClassNotFoundException: dji.event3.service.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
Caused by: java.lang.NoClassDefFoundError: dji/event3/service/DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.service.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-3.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app-lib/com.dji.sdk.sample-3, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
can't find DJIEventBusIndex Class in FrLib module
java.lang.ClassNotFoundException: com.dji.frlib.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
Caused by: java.lang.NoClassDefFoundError: com/dji/frlib/DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.dji.frlib.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-3.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app-lib/com.dji.sdk.sample-3, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at java.lang.Class.forName(Class.java:216)
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:841)
dji.thirdparty.v3.eventbus.EventBusException: Default instance already exists. It may be only set once before it's used the first time to ensure consistent behavior.
at dji.thirdparty.v3.eventbus.EventBusBuilder.installDefaultEventBus(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:841)
Failed to installDefaultEventBus: Default instance already exists. It may be only set once before it's used the first time to ensure consistent behavior.
07-27 17:00:17.311 13623-13648/com.dji.sdk.sample D/FPVController: try to load libdjivideo.so
07-27 17:00:17.311 13623-13648/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-3/libdjivideo.so 0x42299698
07-27 17:00:17.316 13623-13648/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-3/libdjivideo.so 0x42299698
07-27 17:00:17.366 13623-13648/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/bluetooth/le/ScanResult;)
VFY: unable to find class referenced in signature (Landroid/bluetooth/le/ScanResult;)
VFY: unable to find class referenced in signature (Landroid/bluetooth/le/ScanResult;)
07-27 17:00:17.371 13623-13648/com.dji.sdk.sample W/dalvikvm: Unable to resolve superclass of Ldji/midware/ble/BLE$1; (42)
Link of class 'Ldji/midware/ble/BLE$1;' failed
07-27 17:00:17.371 13623-13648/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.midware.ble.BLE$1', referenced from method dji.midware.ble.BLE.initScanCallback
07-27 17:00:17.371 13623-13648/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve new-instance 2794 (Ldji/midware/ble/BLE$1;) in Ldji/midware/ble/BLE;
07-27 17:00:17.371 13623-13648/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x22 at 0x0006
07-27 17:00:17.371 13623-13648/com.dji.sdk.sample E/dalvikvm: Could not find class 'android.bluetooth.le.ScanSettings$Builder', referenced from method dji.midware.ble.BLE.simplyScan
07-27 17:00:17.371 13623-13648/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve new-instance 47 (Landroid/bluetooth/le/ScanSettings$Builder;) in Ldji/midware/ble/BLE;
07-27 17:00:17.371 13623-13648/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x22 at 0x0015
07-27 17:00:17.371 13623-13623/com.dji.sdk.sample E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.dji.sdk.sample, PID: 13623
java.lang.NoClassDefFoundError: dji.sdk.sdkmanager.DJISDKManager
at com.dji.sdk.sample.internal.controller.DJISampleApplication.getProductInstance(Unknown Source)
at com.dji.sdk.sample.internal.view.MainContent.refreshSDKRelativeUI(Unknown Source)
at com.dji.sdk.sample.internal.view.MainContent.onAttachedToWindow(Unknown Source)
at android.view.View.dispatchAttachedToWindow(View.java:13532)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2673)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2680)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1519)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1256)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6635)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:812)
at android.view.Choreographer.doCallbacks(Choreographer.java:612)
at android.view.Choreographer.doFrame(Choreographer.java:582)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:798)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5603)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
07-27 17:00:17.376 13623-13648/com.dji.sdk.sample I/dalvikvm: Could not find method android.bluetooth.BluetoothAdapter.getBluetoothLeScanner, referenced from method dji.midware.ble.BLE.init
07-27 17:00:17.376 13623-13648/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 96: Landroid/bluetooth/BluetoothAdapter;.getBluetoothLeScanner ()Landroid/bluetooth/le/BluetoothLeScanner;
07-27 17:00:17.376 13623-13648/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0017
07-27 17:00:17.376 13623-13648/com.dji.sdk.sample I/dalvikvm: Could not find method android.bluetooth.le.BluetoothLeScanner.stopScan, referenced from method dji.midware.ble.BLE.stopScan
07-27 17:00:17.376 13623-13648/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 131: Landroid/bluetooth/le/BluetoothLeScanner;.stopScan (Landroid/bluetooth/le/ScanCallback;)V
07-27 17:00:17.376 13623-13648/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0025
07-27 17:00:17.386 13623-13648/com.dji.sdk.sample W/dalvikvm: Unable to resolve superclass of Ldji/midware/ble/BLE$1; (42)
Link of class 'Ldji/midware/ble/BLE$1;' failed
07-27 17:00:17.386 13623-13648/com.dji.sdk.sample D/dalvikvm: DexOpt: unable to opt direct call 0x43c5 at 0x08 in Ldji/midware/ble/BLE;.initScanCallback
DexOpt: unable to opt direct call 0x0086 at 0x0f in Ldji/midware/ble/BLE;.initScanCallback
DexOpt: unable to opt direct call 0x008e at 0x17 in Ldji/midware/ble/BLE;.simplyScan
07-27 17:00:17.396 13623-13653/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-3/libGroudStation.so 0x42299698
07-27 17:00:17.401 13623-13653/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-3/libGroudStation.so 0x42299698
07-27 17:00:17.401 13623-13653/com.dji.sdk.sample I/onLoad: loaded onLoad.cpp :JNI_OnLoad() go to end
07-27 17:00:17.401 13623-13653/com.dji.sdk.sample D/GroudStation: load lib suc
07-27 17:00:17.416 13623-13664/com.dji.sdk.sample I/DpadProductManager: initBuildConfig cnt = 0
init(), productType = None
07-27 17:00:17.416 13623-13664/com.dji.sdk.sample D/NativeRcController: x try to load libusbdec.so
07-27 17:00:17.416 13623-13664/com.dji.sdk.sample E/NativeRcController: Couldn't load libusbdec.so
07-27 17:00:17.426 13623-13664/com.dji.sdk.sample D/UsbAccessoryService: accessory startStream
07-27 17:00:17.426 13623-13648/com.dji.sdk.sample I/DJIProductManager: lType=Tomato lrcType=Tomato
DJIProductManager register
07-27 17:00:17.436 13623-13648/com.dji.sdk.sample E/DJIUsbAccessoryReceiver: start accessory receiver
07-27 17:00:17.436 13623-13648/com.dji.sdk.sample I/ConnectDebug: (1532703617440) DJIUsbAccessoryReceiver start accessory receiver
07-27 17:00:17.451 13623-13668/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-3/libudt.so 0x42299698
Added shared lib /data/app-lib/com.dji.sdk.sample-3/libudt.so 0x42299698
No JNI_OnLoad found in /data/app-lib/com.dji.sdk.sample-3/libudt.so 0x42299698, skipping init
Trying to load lib /data/app-lib/com.dji.sdk.sample-3/libudtjni.so 0x42299698
Added shared lib /data/app-lib/com.dji.sdk.sample-3/libudtjni.so 0x42299698
07-27 17:00:17.451 13623-13668/com.dji.sdk.sample D/logWrite.cpp: UDT JNI_OnLoad---------------->
UDP jniRegisterNativeMethods: jniRegisterNativeMethods
loaded UDT :JNI_OnLoad() go to end
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.Network.getSocketFactory, referenced from method dji.midware.f.a.a
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 678: Landroid/net/Network;.getSocketFactory ()Ljavax/net/SocketFactory;
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0020
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;)
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.getAllNetworks, referenced from method dji.midware.f.a.b
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 670: Landroid/net/ConnectivityManager;.getAllNetworks ()[Landroid/net/Network;
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0011
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;)
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.setProcessDefaultNetwork, referenced from method dji.midware.f.a.b
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static method 674: Landroid/net/ConnectivityManager;.setProcessDefaultNetwork (Landroid/net/Network;)Z
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x71 at 0x0022
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.bindProcessToNetwork, referenced from method dji.midware.f.a.b
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 668: Landroid/net/ConnectivityManager;.bindProcessToNetwork (Landroid/net/Network;)Z
07-27 17:00:17.456 13623-13667/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x002d
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
Unable to resolve superclass of Ldji/midware/f/a$2; (170)
Link of class 'Ldji/midware/f/a$2;' failed
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample E/dalvikvm: Could not find class 'dji.midware.f.a$2', referenced from method dji.midware.f.a.g
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve new-instance 4134 (Ldji/midware/f/a$2;) in Ldji/midware/f/a;
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x22 at 0x0000
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.requestNetwork, referenced from method dji.midware.f.a.h
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 673: Landroid/net/ConnectivityManager;.requestNetwork (Landroid/net/NetworkRequest;Landroid/net/ConnectivityManager$NetworkCallback;)V
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x00a5
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.unregisterNetworkCallback, referenced from method dji.midware.f.a.s
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 675: Landroid/net/ConnectivityManager;.unregisterNetworkCallback (Landroid/net/ConnectivityManager$NetworkCallback;)V
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;)
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.Network.bindSocket, referenced from method dji.midware.f.a.a
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 676: Landroid/net/Network;.bindSocket (Ljava/io/FileDescriptor;)V
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0027
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample E/dalvikvm: Could not find class 'android.net.NetworkRequest$Builder', referenced from method dji.midware.f.a.a
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve new-instance 175 (Landroid/net/NetworkRequest$Builder;) in Ldji/midware/f/a;
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x22 at 0x0019
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;)
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.Network.bindSocket, referenced from method dji.midware.f.a.a
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 677: Landroid/net/Network;.bindSocket (Ljava/net/Socket;)V
07-27 17:00:17.461 13623-13667/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0013
07-27 17:00:17.466 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
Unable to resolve superclass of Ldji/midware/f/a$2; (170)
Link of class 'Ldji/midware/f/a$2;' failed
07-27 17:00:17.466 13623-13667/com.dji.sdk.sample D/dalvikvm: DexOpt: unable to opt direct call 0x7433 at 0x02 in Ldji/midware/f/a;.g
DexOpt: unable to opt direct call 0x02af at 0x1b in Ldji/midware/f/a;.a
07-27 17:00:17.466 13623-13667/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
VFY: unable to find class referenced in signature (Landroid/net/Network;)
07-27 17:00:17.546 13623-13652/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 5104K, 43% free 8012K/13988K, paused 28ms, total 28ms
07-27 17:00:17.626 13623-13652/com.dji.sdk.sample D/DJIFlycParamInfoManager: readToMemory size = 673
07-27 17:00:17.716 13623-13648/com.dji.sdk.sample D/BluetoothAdapter: 1116201008: getState() : mService = null. Returning STATE_OFF
07-27 17:00:17.741 13623-13648/com.dji.sdk.sample D/a: request wifi-g snr push-false;false;Tomato;
07-27 17:00:17.746 13623-13648/com.dji.sdk.sample D/a: request wifi snr push-false;false;Tomato;
07-27 17:00:17.746 13623-13678/com.dji.sdk.sample E/Lightbridge: Failed to obtain JNIEnv
07-27 17:00:17.746 13623-13679/com.dji.sdk.sample E/Lightbridge: Failed to obtain JNIEnv
07-27 17:00:17.761 13623-13648/com.dji.sdk.sample D/a: DataEvent = ConnectLose
07-27 17:00:17.771 13623-13648/com.dji.sdk.sample D/DJIComponentManager: Fri Jul 27 17:00:17 CEST 2018updateValue
07-27 17:00:17.801 13623-13648/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-3/libsqlcipher.so 0x42299698
Added shared lib /data/app-lib/com.dji.sdk.sample-3/libsqlcipher.so 0x42299698
07-27 17:00:17.941 13623-13648/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 2022K, 43% free 8037K/13988K, paused 37ms, total 38ms
07-27 17:00:17.946 13623-13648/com.dji.sdk.sample I/a: addCameraAbstraction None None
07-27 17:00:18.041 13623-13648/com.dji.sdk.sample I/dalvikvm: Could not find method android.net.ConnectivityManager.getAllNetworks, referenced from method com.dji.h.a.e
07-27 17:00:18.041 13623-13648/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 670: Landroid/net/ConnectivityManager;.getAllNetworks ()[Landroid/net/Network;
07-27 17:00:18.041 13623-13648/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x000f
07-27 17:00:18.321 13623-13648/com.dji.sdk.sample E/dalvikvm: Could not find class 'com.amap.api.location.AMapLocationClientOption', referenced from method com.dji.service.areacode.DJIAreaCodeManger.b
07-27 17:00:18.321 13623-13648/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve new-instance 350 (Lcom/amap/api/location/AMapLocationClientOption;) in Lcom/dji/service/areacode/DJIAreaCodeManger;
07-27 17:00:18.321 13623-13648/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x22 at 0x0001
07-27 17:00:18.326 13623-13648/com.dji.sdk.sample D/dalvikvm: DexOpt: unable to opt direct call 0x050d at 0x03 in Lcom/dji/service/areacode/DJIAreaCodeManger;.b
07-27 17:00:18.376 13623-13663/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 1377K, 38% free 8708K/13988K, paused 34ms, total 35ms
07-27 17:00:18.376 13623-13663/com.dji.sdk.sample D/EventBus: No subscribers registered for event class com.dji.service.areacode.DJIAreaCodeManger$c
No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent
No subscribers registered for event class com.dji.service.areacode.DJIAreaCodeManger$d
No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent
07-27 17:00:18.381 13623-13663/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Lcom/amap/api/location/AMapLocationClientOption;)
07-27 17:00:18.386 13623-13663/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static field 106 (Hight_Accuracy) in Lcom/amap/api/location/AMapLocationClientOption$AMapLocationMode;
07-27 17:00:18.386 13623-13663/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x62 at 0x0021
07-27 17:00:18.386 13623-13663/com.dji.sdk.sample I/dalvikvm: Could not find method com.amap.api.location.AMapLocationClientOption.setGpsFirst, referenced from method com.dji.mapkit.lbs.provider.DispatcherLocationProvider.setWifiScanEnable
07-27 17:00:18.386 13623-13663/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 1294: Lcom/amap/api/location/AMapLocationClientOption;.setGpsFirst (Z)Lcom/amap/api/location/AMapLocationClientOption;
07-27 17:00:18.386 13623-13663/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0031
07-27 17:00:18.391 13623-13663/com.dji.sdk.sample I/DJILocationManager: Configuration requires not to use AMap Services, so skipping that step to Default Location Providers
Attempting to get location from default providers...
07-27 17:00:18.396 13623-13663/com.dji.sdk.sample I/DJILocationManager: Network is not enabled, calling fail...
07-27 17:00:18.396 13623-13663/com.dji.sdk.sample W/dalvikvm: Unable to match class for part: 'Lcom/amap/api/location/AMapLocationClientOption;'
07-27 17:00:18.796 13623-13702/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-3/libFlyForbid.so 0x42299698
07-27 17:00:18.806 13623-13702/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-3/libFlyForbid.so 0x42299698
07-27 17:00:18.806 13623-13702/com.dji.sdk.sample I/onLoad: loaded onLoad.cpp :JNI_OnLoad() go to end
07-27 17:00:18.806 13623-13702/com.dji.sdk.sample D/FlyForbid: load lib success
07-27 17:00:18.816 13623-13702/com.dji.sdk.sample E/nfz: 2018-07-27 17:00:18: db init step free size: 10228
07-27 17:00:18.876 13623-13648/com.dji.sdk.sample I/dalvikvm: Could not find method android.content.Context.checkSelfPermission, referenced from method dji.pilot.flyforbid.a.a.d
07-27 17:00:18.876 13623-13648/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve virtual method 167: Landroid/content/Context;.checkSelfPermission (Ljava/lang/String;)I
07-27 17:00:18.876 13623-13648/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x6e at 0x0018
07-27 17:00:18.876 13623-13704/com.dji.sdk.sample D/EventBus: No subscribers registered for event class dji.pilot.flyforbid.f$a
No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent
No subscribers registered for event class dji.pilot.flyforbid.f$a
No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent
No subscribers registered for event class dji.pilot.flyforbid.f$a
07-27 17:00:18.881 13623-13704/com.dji.sdk.sample D/EventBus: No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent
07-27 17:00:18.901 13623-13698/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
07-27 17:00:18.901 13623-13698/com.dji.sdk.sample I/dalvikvm: Could not find method java.nio.file.Files.newOutputStream, referenced from method okio.Okio.sink
07-27 17:00:18.901 13623-13698/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static method 36235: Ljava/nio/file/Files;.newOutputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
07-27 17:00:18.901 13623-13698/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x71 at 0x000a
07-27 17:00:18.901 13623-13698/com.dji.sdk.sample W/dalvikvm: VFY: unable to find class referenced in signature (Ljava/nio/file/Path;)
VFY: unable to find class referenced in signature ([Ljava/nio/file/OpenOption;)
07-27 17:00:18.901 13623-13698/com.dji.sdk.sample I/dalvikvm: Could not find method java.nio.file.Files.newInputStream, referenced from method okio.Okio.source
07-27 17:00:18.901 13623-13698/com.dji.sdk.sample W/dalvikvm: VFY: unable to resolve static method 36234: Ljava/nio/file/Files;.newInputStream (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
07-27 17:00:18.901 13623-13698/com.dji.sdk.sample D/dalvikvm: VFY: replacing opcode 0x71 at 0x000a
07-27 17:00:19.116 13623-13648/com.dji.sdk.sample D/dalvikvm: Trying to load lib /data/app-lib/com.dji.sdk.sample-3/libFR.so 0x42299698
07-27 17:00:19.256 13623-13648/com.dji.sdk.sample D/dalvikvm: Added shared lib /data/app-lib/com.dji.sdk.sample-3/libFR.so 0x42299698
07-27 17:00:19.256 13623-13648/com.dji.sdk.sample E/FR_JNI: JNI_OnLoad
07-27 17:00:19.261 13623-13648/com.dji.sdk.sample D/FRCore: load lib suc
07-27 17:00:19.276 13623-13648/com.dji.sdk.sample D/c: Register All Adapters
07-27 17:00:19.346 13623-13648/com.dji.sdk.sample I/checkNetworkStatus: connect
07-27 17:00:19.471 13623-13696/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 2552K, 27% free 10302K/13988K, paused 51ms, total 51ms
07-27 17:00:19.576 13623-13648/com.dji.sdk.sample W/System.err: java.util.concurrent.TimeoutException
at dji.midware.util.t.a(Unknown Source)
at dji.midware.broadcastReceivers.DJINetWorkReceiver.b(Unknown Source)
at dji.midware.broadcastReceivers.DJINetWorkReceiver.f(Unknown Source)
at dji.midware.broadcastReceivers.DJINetWorkReceiver.<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:841)
07-27 17:00:19.581 13623-13648/com.dji.sdk.sample D/nfz: 2018-07-27 17:00:19: polygon update network switch to connect ok
07-27 17:00:19.596 13623-13725/com.dji.sdk.sample E/Registration: Exception is: /data/data/com.dji.sdk.sample/files/test.json: open failed: ENOENT (No such file or directory)
07-27 17:00:19.681 13623-13702/com.dji.sdk.sample E/nfz: 2018-07-27 17:00:19: db init step free size: 10228
07-27 17:00:20.711 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 1765K, 25% free 10577K/13988K, paused 40ms, total 40ms
07-27 17:00:20.746 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 4K, 25% free 10589K/13988K, paused 32ms, total 32ms
07-27 17:00:20.746 13623-13702/com.dji.sdk.sample I/dalvikvm-heap: Grow heap (frag case) to 11.230MB for 40976-byte allocation
07-27 17:00:20.781 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 16K, 25% free 10613K/14032K, paused 36ms, total 36ms
07-27 17:00:20.871 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 1499K, 30% free 12050K/16988K, paused 64ms, total 64ms
07-27 17:00:20.921 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 1568K, 33% free 13545K/20056K, paused 29ms, total 29ms
07-27 17:00:20.966 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 3064K, 37% free 16617K/26196K, paused 31ms, total 31ms
07-27 17:00:21.046 13623-13702/com.dji.sdk.sample D/nfz: 2018-07-27 17:00:21: circle db create success 01.00.01.07 1518590973
07-27 17:00:21.051 13623-13702/com.dji.sdk.sample E/nfz: 2018-07-27 17:00:21: db init step free size: 10228
07-27 17:00:21.321 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 10021K, 25% free 10523K/13988K, paused 31ms, total 31ms
07-27 17:00:21.326 13623-13702/com.dji.sdk.sample I/dalvikvm-heap: Grow heap (frag case) to 11.219MB for 98320-byte allocation
07-27 17:00:21.351 13623-13632/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 32K, 25% free 10586K/14088K, paused 28ms, total 28ms
07-27 17:00:21.381 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 96K, 26% free 10714K/14316K, paused 28ms, total 28ms
07-27 17:00:21.411 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 704K, 28% free 11482K/15796K, paused 27ms, total 27ms
07-27 17:00:21.461 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 3008K, 34% free 14554K/21884K, paused 28ms, total 28ms
07-27 17:00:21.461 13623-13702/com.dji.sdk.sample I/dalvikvm-heap: Grow heap (frag case) to 18.638MB for 3748480-byte allocation
07-27 17:00:21.496 13623-13632/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 16K, 17% free 18199K/21884K, paused 35ms, total 35ms
07-27 17:00:21.531 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 4069K, 35% free 14378K/22052K, paused 29ms, total 29ms
07-27 17:00:21.531 13623-13702/com.dji.sdk.sample I/dalvikvm-heap: Grow heap (frag case) to 18.465MB for 3748480-byte allocation
07-27 17:00:21.561 13623-13744/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed <1K, 19% free 18038K/22052K, paused 29ms, total 29ms
07-27 17:00:21.561 13623-13668/com.dji.sdk.sample E/step: step UDT.startup() start 1532703621566
step UDT.startup() end 1532703621567
07-27 17:00:21.581 13623-13663/com.dji.sdk.sample E/App registration: API Key successfully registered
07-27 17:00:21.581 13623-13663/com.dji.sdk.sample V/MainActivity: API Key successfully registered
07-27 17:00:21.586 13623-13630/com.dji.sdk.sample I/dalvikvm: Total arena pages for JIT: 11
Total arena pages for JIT: 12
Total arena pages for JIT: 13
Total arena pages for JIT: 14
Total arena pages for JIT: 15
07-27 17:00:21.591 13623-13630/com.dji.sdk.sample I/dalvikvm: Total arena pages for JIT: 16
Total arena pages for JIT: 17
07-27 17:00:21.606 13623-13630/com.dji.sdk.sample I/dalvikvm: Total arena pages for JIT: 18
07-27 17:00:22.451 13623-13669/com.dji.sdk.sample E/swudp-jni: SW_Pro_Gnd_Entry already stop
07-27 17:00:22.496 13623-13702/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 22K, 19% free 18062K/22052K, paused 43ms, total 43ms
07-27 17:00:22.501 13623-13702/com.dji.sdk.sample I/dalvikvm-heap: Grow heap (frag case) to 22.064MB for 3748465-byte allocation
07-27 17:00:22.546 13623-13669/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 3660K, 30% free 18062K/25716K, paused 44ms, total 44ms
07-27 17:00:22.551 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:23.356 13623-13702/com.dji.sdk.sample D/EventBus: No subscribers registered for event class dji.midware.data.forbid.db.FlyfrbBaseDbManager$FlyfrbDbInfoEvent
No subscribers registered for event class dji.thirdparty.v3.eventbus.NoSubscriberEvent
07-27 17:00:23.361 13623-13702/com.dji.sdk.sample E/nfz: 2018-07-27 17:00:23: db init step free size: 10228
07-27 17:00:24.466 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:26.461 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:28.461 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:30.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:32.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:34.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:36.461 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:38.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:40.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:42.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:44.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:46.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:48.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:50.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:52.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:54.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:56.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:00:58.466 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:00.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:02.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:04.466 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:06.466 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:08.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:10.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:12.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:14.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:16.466 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:18.466 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:20.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:22.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:24.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:26.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:28.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:30.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:32.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:34.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:36.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:38.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:40.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:42.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:44.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:46.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:48.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:50.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:52.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:54.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:56.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:01:58.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:00.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:02.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:04.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:06.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:08.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:10.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:12.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:14.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:16.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:18.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:20.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:22.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:24.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:26.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:28.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:30.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:32.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:34.486 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:36.471 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:38.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:40.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:42.486 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:44.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:45.881 13623-13646/com.dji.sdk.sample D/dalvikvm: GC_FOR_ALLOC freed 11597K, 51% free 10963K/22020K, paused 46ms, total 47ms
07-27 17:02:46.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:48.481 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:50.486 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:52.486 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:54.486 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:56.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:02:56.766 13623-13630/com.dji.sdk.sample I/dalvikvm: Jit: resizing JitTable from 4096 to 8192
07-27 17:02:58.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
07-27 17:03:00.476 13623-13669/com.dji.sdk.sample E/a: getNetworkObject return null for null cm
You have a few class not found exceptions for DJI classes. Maybe ProGuard is the issue? Set minifyEnable to false in the gradle file then sync the project with gradle and see if you still get that error.
I have tried to run this on an other device and changing the minifyEnable to false. It was true only for debug mode though, but it seems nothing has really changed.
Now I am trying on an Epson Moverio Bt300FPV smart glass which runs android 5.1, and earlier I ran on Samsung galaxy note 10 if I recall properly.
07-31 11:48:31.116 4530-4530/? I/art: Late-enabling -Xcheck:jni
07-31 11:48:31.134 4530-4539/? I/art: Debugger is no longer active
07-31 11:48:31.760 4530-4530/? I/MultiDex: VM with version 2.1.0 has multidex support
install
VM has multidex support, MultiDex support library is disabled.
07-31 11:48:32.895 4530-4530/com.dji.sdk.sample I/InstantRun: starting instant run server: is main process
07-31 11:48:32.992 4530-4530/com.dji.sdk.sample W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
07-31 11:48:33.123 4530-4552/com.dji.sdk.sample D/SDKRelativeJNI: load lib suc
07-31 11:48:33.153 4530-4539/? I/art: Ignoring second debugger -- accepting and dropping
07-31 11:48:33.251 4530-4530/? V/com.dji.sdk.sample.internal.view.MainContent: initUI
07-31 11:48:33.283 4530-4557/? D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
07-31 11:48:33.286 4530-4530/? I/ufoGralloc: Hello, this is UFO GRALLOC/Intel Corporation
07-31 11:48:33.287 4530-4530/? D/Atlas: Validating map...
07-31 11:48:33.299 4530-4530/? D/com.dji.sdk.sample.internal.view.MainContent: Comes into the onAttachedToWindow
07-31 11:48:33.300 4530-4530/? D/com.dji.sdk.sample.internal.view.MainContent: mProduct: null
07-31 11:48:33.328 4530-4557/? I/OpenGLRenderer: Initialized EGL, version 1.4
07-31 11:48:33.328 4530-4557/? W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
07-31 11:48:33.328 4530-4557/? D/ufoEGL: droid_create_context : config id = 9 conf->NativeVisualID=1
07-31 11:48:33.328 4530-4557/? I/ufoEGL: Requested context : GLES 2.0
07-31 11:48:33.328 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888
07-31 11:48:33.335 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888
07-31 11:48:33.337 4530-4557/? D/OpenGLRenderer: Enabling debug mode 0
07-31 11:48:33.337 4530-4557/? D/skuwa: Detected device 22B0:54 family 17:11
07-31 11:48:33.338 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888
07-31 11:48:33.376 4530-4530/? W/art: Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
07-31 11:48:33.401 4530-4556/? W/linker: libwaes.so: unused DT entry: type 0x6ffffffe arg 0x380
libwaes.so: unused DT entry: type 0x6fffffff arg 0x1
07-31 11:48:33.477 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in SharedLib module
07-31 11:48:33.478 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: dji.event3.sharelib.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:306)
at java.lang.Class.forName(Class.java:270)
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:818)
Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.sharelib.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:306)
at java.lang.Class.forName(Class.java:270)
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:818)
Suppressed: java.lang.ClassNotFoundException: dji.event3.sharelib.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 8 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
07-31 11:48:33.479 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in MidWare module
07-31 11:48:33.480 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: dji.event3.midware.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:306)
at java.lang.Class.forName(Class.java:270)
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:818)
Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.midware.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:306)
at java.lang.Class.forName(Class.java:270)
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:818)
Suppressed: java.lang.ClassNotFoundException: dji.event3.midware.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 8 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
can't find DJIEventBusIndex Class in FlyForbid module
07-31 11:48:33.481 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: dji.event3.flyforbid.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:306)
at java.lang.Class.forName(Class.java:270)
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:818)
Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.flyforbid.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:306)
at java.lang.Class.forName(Class.java:270)
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:818)
Suppressed: java.lang.ClassNotFoundException: dji.event3.flyforbid.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 8 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
07-31 11:48:33.482 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in service module
java.lang.ClassNotFoundException: dji.event3.service.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:306)
at java.lang.Class.forName(Class.java:270)
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:818)
Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.service.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:306)
at java.lang.Class.forName(Class.java:270)
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:818)
Suppressed: java.lang.ClassNotFoundException: dji.event3.service.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 8 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
07-31 11:48:33.483 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in FrLib module
07-31 11:48:33.484 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: com.dji.frlib.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:306)
at java.lang.Class.forName(Class.java:270)
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:818)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.dji.frlib.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:306)
at java.lang.Class.forName(Class.java:270)
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:818)
Suppressed: java.lang.ClassNotFoundException: com.dji.frlib.DJIEventBusIndex
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 8 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
07-31 11:48:33.488 4530-4556/? D/FPVController: try to load libdjivideo.so
07-31 11:48:33.542 4530-4573/? I/DpadProductManager: initBuildConfig cnt = 0
07-31 11:48:33.545 4530-4573/? I/DpadProductManager: init(), productType = None
07-31 11:48:33.545 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888
07-31 11:48:33.545 4530-4573/? D/NativeRcController: x try to load libusbdec.so
07-31 11:48:33.546 4530-4573/? E/NativeRcController: Couldn't load libusbdec.so
07-31 11:48:33.547 4530-4573/? D/UsbAccessoryService: accessory startStream
07-31 11:48:33.548 4530-4556/? I/DJIProductManager: lType=Tomato lrcType=Tomato
07-31 11:48:33.549 4530-4556/? I/DJIProductManager: DJIProductManager register
07-31 11:48:33.553 4530-4556/? E/DJIUsbAccessoryReceiver: start accessory receiver
07-31 11:48:33.553 4530-4556/? I/ConnectDebug: (1533037713553) DJIUsbAccessoryReceiver start accessory receiver
07-31 11:48:33.570 4530-4578/? D/logWrite.cpp: UDT JNI_OnLoad---------------->
UDP jniRegisterNativeMethods: jniRegisterNativeMethods
loaded UDT :JNI_OnLoad() go to end
07-31 11:48:33.576 4530-4530/? E/DJIUsbAccessoryReceiver: android.hardware.usb.action.USB_STATE
07-31 11:48:33.576 4530-4530/? I/ConnectDebug: (1533037713576) DJIUsbAccessoryReceiver android.hardware.usb.action.USB_STATE
07-31 11:48:33.609 4530-4556/? D/BluetoothAdapter: 387911663: getState() : mService = null. Returning STATE_OFF
387911663: getState() : mService = null. Returning STATE_OFF
07-31 11:48:33.615 4530-4556/? D/a: request wifi-g snr push-false;false;Tomato;
07-31 11:48:33.616 4530-4556/? D/a: request wifi snr push-false;false;Tomato;
07-31 11:48:33.616 4530-4581/? E/Lightbridge: Failed to obtain JNIEnv
07-31 11:48:33.619 4530-4556/? D/a: DataEvent = ConnectLose
07-31 11:48:33.620 4530-4556/? D/DJIComponentManager: Tue Jul 31 11:48:33 GMT+00:00 2018updateValue
07-31 11:48:33.621 4530-4582/? E/Lightbridge: Failed to obtain JNIEnv
07-31 11:48:33.628 4530-4563/? I/onLoad: loaded onLoad.cpp :JNI_OnLoad() go to end
07-31 11:48:33.628 4530-4563/? D/GroudStation: load lib suc
07-31 11:48:33.657 4530-4556/? I/a: addCameraAbstraction None None
07-31 11:48:33.853 4530-4591/? E/D-Assets: copyFromAsset, finalFiles size:1
copyFromAsset, file:internal
07-31 11:48:33.884 4530-4562/? D/DJIFlycParamInfoManager: readToMemory size = 673
07-31 11:48:33.968 4530-4556/? W/System.err: javax.crypto.IllegalBlockSizeException: last block incomplete in decryption
at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:850)
at javax.crypto.Cipher.doFinal(Cipher.java:1340)
at dji.midware.a.a.a.b(Unknown Source)
at dji.internal.useraccount.a.a(Unknown Source)
at dji.internal.useraccount.a.g(Unknown Source)
at dji.internal.useraccount.a.a(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:818)
07-31 11:48:34.024 4530-4604/? I/onLoad: loaded onLoad.cpp :JNI_OnLoad() go to end
07-31 11:48:34.025 4530-4604/? D/FlyForbid: load lib success
07-31 11:48:34.027 4530-4604/? E/nfz: 2018-07-31 11:48:34: db init step free size: 8897
07-31 11:48:34.055 4530-4556/? D/nfz: 2018-07-31 11:48:34: provider does not exist provider doesn't exist: network
07-31 11:48:34.109 4530-4556/? W/linker: libFR.so: unused DT entry: type 0x6ffffffe arg 0x1f5d7c
libFR.so: unused DT entry: type 0x6fffffff arg 0x3
07-31 11:48:34.175 4530-4556/? E/FR_JNI: JNI_OnLoad
07-31 11:48:34.178 4530-4556/? D/FRCore: load lib suc
07-31 11:48:34.181 4530-4556/? D/c: Register All Adapters
07-31 11:48:34.204 4530-4556/? I/checkNetworkStatus: connect
07-31 11:48:34.433 4530-4556/? W/System.err: java.util.concurrent.TimeoutException
at dji.midware.util.t.a(Unknown Source)
at dji.midware.broadcastReceivers.DJINetWorkReceiver.b(Unknown Source)
at dji.midware.broadcastReceivers.DJINetWorkReceiver.f(Unknown Source)
at dji.midware.broadcastReceivers.DJINetWorkReceiver.
Is there anyone who can just download the SDK and it runs for them? I mean... is it at least working for some and only not me, or it is not working at all? Also I do not really know what to look for. I have SDK and NDK installed and was using these for other kinds of android development in the past (although not these days, but several months ago).
I just now did a test.
I pulled the current SDK sample, compiled and ran.
The app runs as-is, no changes except doit the SDK code.
I wonder if you may have accidentally changed something???
Sent from BlueMail On Jul 31, 2018, at 7:53 PM, "Thier Richárd István" notifications@github.com wrote:
I have tried to run this on an other device and changing the minifyEnable to false. It was true only for debug mode though, but it seems nothing has really changed.
Now I am trying on an Epson Moverio Bt300FPV smart glass which runs android 5.1, and earlier I ran on Samsung galaxy note 10 if I recall properly.
07-31 11:48:31.116 4530-4530/? I/art: Late-enabling -Xcheck:jni 07-31 11:48:31.134 4530-4539/? I/art: Debugger is no longer active 07-31 11:48:31.760 4530-4530/? I/MultiDex: VM with version 2.1.0 has multidex support install VM has multidex support, MultiDex support library is disabled. 07-31 11:48:32.895 4530-4530/com.dji.sdk.sample I/InstantRun: starting instant run server: is main process 07-31 11:48:32.992 4530-4530/com.dji.sdk.sample W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable 07-31 11:48:33.123 4530-4552/com.dji.sdk.sample D/SDKRelativeJNI: load lib suc 07-31 11:48:33.153 4530-4539/? I/art: Ignoring second debugger -- accepting and dropping 07-31 11:48:33.251 4530-4530/? V/com.dji.sdk.sample.internal.view.MainContent: initUI 07-31 11:48:33.283 4530-4557/? D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true 07-31 11:48:33.286 4530-4530/? I/ufoGralloc: Hello, this is UFO GRALLOC/Intel Corporation 07-31 11:48:33.287 4530-4530/? D/Atlas: Validating map... 07-31 11:48:33.299 4530-4530/? D/com.dji.sdk.sample.internal.view.MainContent: Comes into the onAttachedToWindow 07-31 11:48:33.300 4530-4530/? D/com.dji.sdk.sample.internal.view.MainContent: mProduct: null 07-31 11:48:33.328 4530-4557/? I/OpenGLRenderer: Initialized EGL, version 1.4 07-31 11:48:33.328 4530-4557/? W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... 07-31 11:48:33.328 4530-4557/? D/ufoEGL: droid_create_context : config id = 9 conf->NativeVisualID=1 07-31 11:48:33.328 4530-4557/? I/ufoEGL: Requested context : GLES 2.0 07-31 11:48:33.328 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888 07-31 11:48:33.335 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888 07-31 11:48:33.337 4530-4557/? D/OpenGLRenderer: Enabling debug mode 0 07-31 11:48:33.337 4530-4557/? D/skuwa: Detected device 22B0:54 family 17:11 07-31 11:48:33.338 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888 07-31 11:48:33.376 4530-4530/? W/art: Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView 07-31 11:48:33.401 4530-4556/? W/linker: libwaes.so: unused DT entry: type 0x6ffffffe arg 0x380 libwaes.so: unused DT entry: type 0x6fffffff arg 0x1 07-31 11:48:33.477 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in SharedLib module 07-31 11:48:33.478 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: dji.event3.sharelib.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.sharelib.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Suppressed: java.lang.ClassNotFoundException: dji.event3.sharelib.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 8 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 07-31 11:48:33.479 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in MidWare module 07-31 11:48:33.480 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: dji.event3.midware.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.midware.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Suppressed: java.lang.ClassNotFoundException: dji.event3.midware.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 8 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available can't find DJIEventBusIndex Class in FlyForbid module 07-31 11:48:33.481 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: dji.event3.flyforbid.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.flyforbid.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Suppressed: java.lang.ClassNotFoundException: dji.event3.flyforbid.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 8 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 07-31 11:48:33.482 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in service module java.lang.ClassNotFoundException: dji.event3.service.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.service.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Suppressed: java.lang.ClassNotFoundException: dji.event3.service.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 8 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 07-31 11:48:33.483 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in FrLib module 07-31 11:48:33.484 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: com.dji.frlib.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.dji.frlib.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Suppressed: java.lang.ClassNotFoundException: com.dji.frlib.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 8 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 07-31 11:48:33.488 4530-4556/? D/FPVController: try to load libdjivideo.so 07-31 11:48:33.542 4530-4573/? I/DpadProductManager: initBuildConfig cnt = 0 07-31 11:48:33.545 4530-4573/? I/DpadProductManager: init(), productType = None 07-31 11:48:33.545 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA8888 07-31 11:48:33.545 4530-4573/? D/NativeRcController: x try to load libusbdec.so 07-31 11:48:33.546 4530-4573/? E/NativeRcController: Couldn't load libusbdec.so 07-31 11:48:33.547 4530-4573/? D/UsbAccessoryService: accessory startStream 07-31 11:48:33.548 4530-4556/? I/DJIProductManager: lType=Tomato lrcType=Tomato 07-31 11:48:33.549 4530-4556/? I/DJIProductManager: DJIProductManager register 07-31 11:48:33.553 4530-4556/? E/DJIUsbAccessoryReceiver: start accessory receiver 07-31 11:48:33.553 4530-4556/? I/ConnectDebug: (1533037713553) DJIUsbAccessoryReceiver start accessory receiver 07-31 11:48:33.570 4530-4578/? D/logWrite.cpp: UDT JNI null. Returning STATE_OFF 387911663: getState() : mService = null. Returning STATE_OFF 07-31 11:48:33.615 4530-4556/? D/a: request wifi-g snr push-false;false;Tomato; 07-31 11:48:33.616 4530-4556/? D/a: request wifi snr push-false;false;Tomato; 07-31 11:48:33.616 4530-4581/? E/Lightbridge: Failed to obtain JNIEnv 07-31 11:48:33.619 4530-4556/? D/a: DataEvent = ConnectLose 07-31 11:48:33.620 4530-4556/? D/DJIComponentManager: Tue Jul 31 11:48:33 GMT+00:00 2018updateValue 07-31 11:48:33.621 4530-4582/? E/Lightbridge: Failed to obtain JNIEnv 07-31 11:48:33.628 4530-4563/? I/ 673 07-31 11:48:33.968 4530-4556/? W/System.err: javax.crypto.IllegalBlockSizeException: last block incomplete in decryption at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:850) at javax.crypto.Cipher.doFinal(Cipher.java:1340) at dji.midware.a.a.a.b(Unknown Source) at dji.internal.useraccount.a.a(Unknown Source) at dji.internal.useraccount.a.g(Unknown Source) at dji.internal.useraccount.a.a(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:818) 07-31 11:48:34.024 4530-4604/? I/"font-size:small;-webkit-text-size-adjust:none;color:#666;">— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
On Jul 31, 2018, 7:53 PM, at 7:53 PM, "Thier Richárd István" notifications@github.com wrote:
I have tried to run this on an other device and changing the minifyEnable to false. It was true only for debug mode though, but it seems nothing has really changed.
Now I am trying on an Epson Moverio Bt300FPV smart glass which runs android 5.1, and earlier I ran on Samsung galaxy note 10 if I recall properly.
07-31 11:48:31.116 4530-4530/? I/art: Late-enabling -Xcheck:jni 07-31 11:48:31.134 4530-4539/? I/art: Debugger is no longer active 07-31 11:48:31.760 4530-4530/? I/MultiDex: VM with version 2.1.0 has multidex support install VM has multidex support, MultiDex support library is disabled. 07-31 11:48:32.895 4530-4530/com.dji.sdk.sample I/InstantRun: starting instant run server: is main process 07-31 11:48:32.992 4530-4530/com.dji.sdk.sample W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable 07-31 11:48:33.123 4530-4552/com.dji.sdk.sample D/SDKRelativeJNI: load lib suc 07-31 11:48:33.153 4530-4539/? I/art: Ignoring second debugger -- accepting and dropping 07-31 11:48:33.251 4530-4530/? V/com.dji.sdk.sample.internal.view.MainContent: initUI 07-31 11:48:33.283 4530-4557/? D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true 07-31 11:48:33.286 4530-4530/? I/ufoGralloc: Hello, this is UFO GRALLOC/Intel Corporation 07-31 11:48:33.287 4530-4530/? D/Atlas: Validating map... 07-31 11:48:33.299 4530-4530/? D/com.dji.sdk.sample.internal.view.MainContent: Comes into the onAttachedToWindow 07-31 11:48:33.300 4530-4530/? D/com.dji.sdk.sample.internal.view.MainContent: mProduct: null 07-31 11:48:33.328 4530-4557/? I/OpenGLRenderer: Initialized EGL, version 1.4 07-31 11:48:33.328 4530-4557/? W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... 07-31 11:48:33.328 4530-4557/? D/ufoEGL: droid_create_context : config id = 9 conf->NativeVisualID=1 07-31 11:48:33.328 4530-4557/? I/ufoEGL: Requested context : GLES 2.0 07-31 11:48:33.328 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888 07-31 11:48:33.335 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888 07-31 11:48:33.337 4530-4557/? D/OpenGLRenderer: Enabling debug mode 0 07-31 11:48:33.337 4530-4557/? D/skuwa: Detected device 22B0:54 family 17:11 07-31 11:48:33.338 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888 07-31 11:48:33.376 4530-4530/? W/art: Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView 07-31 11:48:33.401 4530-4556/? W/linker: libwaes.so: unused DT entry: type 0x6ffffffe arg 0x380 libwaes.so: unused DT entry: type 0x6fffffff arg 0x1 07-31 11:48:33.477 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in SharedLib module 07-31 11:48:33.478 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: dji.event3.sharelib.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.sharelib.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Suppressed: java.lang.ClassNotFoundException: dji.event3.sharelib.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 8 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 07-31 11:48:33.479 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in MidWare module 07-31 11:48:33.480 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: dji.event3.midware.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.midware.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Suppressed: java.lang.ClassNotFoundException: dji.event3.midware.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 8 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available can't find DJIEventBusIndex Class in FlyForbid module 07-31 11:48:33.481 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: dji.event3.flyforbid.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.flyforbid.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Suppressed: java.lang.ClassNotFoundException: dji.event3.flyforbid.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 8 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 07-31 11:48:33.482 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in service module java.lang.ClassNotFoundException: dji.event3.service.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.event3.service.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Suppressed: java.lang.ClassNotFoundException: dji.event3.service.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 8 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 07-31 11:48:33.483 4530-4556/? E/DJISDKManager: can't find DJIEventBusIndex Class in FrLib module 07-31 11:48:33.484 4530-4556/? E/DJISDKManager: java.lang.ClassNotFoundException: com.dji.frlib.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.dji.frlib.DJIEventBusIndex" on path: DexPathList[[zip file "/data/app/com.dji.sdk.sample-1/base.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.dji.sdk.sample-1/split_lib_slice_9_apk.apk", zip file "/data/data/com.dji.sdk.sample/.cache_sdk/sdkclasses.jar"],nativeLibraryDirectories=[/data/app/com.dji.sdk.sample-1/lib/x86, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:306) at java.lang.Class.forName(Class.java:270) 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:818) Suppressed: java.lang.ClassNotFoundException: com.dji.frlib.DJIEventBusIndex at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 8 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available 07-31 11:48:33.488 4530-4556/? D/FPVController: try to load libdjivideo.so 07-31 11:48:33.542 4530-4573/? I/DpadProductManager: initBuildConfig cnt = 0 07-31 11:48:33.545 4530-4573/? I/DpadProductManager: init(), productType = None 07-31 11:48:33.545 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888 07-31 11:48:33.545 4530-4573/? D/NativeRcController: x try to load libusbdec.so 07-31 11:48:33.546 4530-4573/? E/NativeRcController: Couldn't load libusbdec.so 07-31 11:48:33.547 4530-4573/? D/UsbAccessoryService: accessory startStream 07-31 11:48:33.548 4530-4556/? I/DJIProductManager: lType=Tomato lrcType=Tomato 07-31 11:48:33.549 4530-4556/? I/DJIProductManager: DJIProductManager register 07-31 11:48:33.553 4530-4556/? E/DJIUsbAccessoryReceiver: start accessory receiver 07-31 11:48:33.553 4530-4556/? I/ConnectDebug: (1533037713553) DJIUsbAccessoryReceiver start accessory receiver 07-31 11:48:33.570 4530-4578/? D/logWrite.cpp: UDT JNI_OnLoad----------------> UDP jniRegisterNativeMethods: jniRegisterNativeMethods loaded UDT :JNI_OnLoad() go to end 07-31 11:48:33.576 4530-4530/? E/DJIUsbAccessoryReceiver: android.hardware.usb.action.USB_STATE 07-31 11:48:33.576 4530-4530/? I/ConnectDebug: (1533037713576) DJIUsbAccessoryReceiver android.hardware.usb.action.USB_STATE 07-31 11:48:33.609 4530-4556/? D/BluetoothAdapter: 387911663: getState() : mService = null. Returning STATE_OFF 387911663: getState() : mService = null. Returning STATE_OFF 07-31 11:48:33.615 4530-4556/? D/a: request wifi-g snr push-false;false;Tomato; 07-31 11:48:33.616 4530-4556/? D/a: request wifi snr push-false;false;Tomato; 07-31 11:48:33.616 4530-4581/? E/Lightbridge: Failed to obtain JNIEnv 07-31 11:48:33.619 4530-4556/? D/a: DataEvent = ConnectLose 07-31 11:48:33.620 4530-4556/? D/DJIComponentManager: Tue Jul 31 11:48:33 GMT+00:00 2018updateValue 07-31 11:48:33.621 4530-4582/? E/Lightbridge: Failed to obtain JNIEnv 07-31 11:48:33.628 4530-4563/? I/onLoad: loaded onLoad.cpp :JNI_OnLoad() go to end 07-31 11:48:33.628 4530-4563/? D/GroudStation: load lib suc 07-31 11:48:33.657 4530-4556/? I/a: addCameraAbstraction None None 07-31 11:48:33.853 4530-4591/? E/D-Assets: copyFromAsset, finalFiles size:1 copyFromAsset, file:internal 07-31 11:48:33.884 4530-4562/? D/DJIFlycParamInfoManager: readToMemory size = 673 07-31 11:48:33.968 4530-4556/? W/System.err: javax.crypto.IllegalBlockSizeException: last block incomplete in decryption at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:850) at javax.crypto.Cipher.doFinal(Cipher.java:1340) at dji.midware.a.a.a.b(Unknown Source) at dji.internal.useraccount.a.a(Unknown Source) at dji.internal.useraccount.a.g(Unknown Source) at dji.internal.useraccount.a.a(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:818) 07-31 11:48:34.024 4530-4604/? I/onLoad: loaded onLoad.cpp :JNI_OnLoad() go to end 07-31 11:48:34.025 4530-4604/? D/FlyForbid: load lib success 07-31 11:48:34.027 4530-4604/? E/nfz: 2018-07-31 11:48:34: db init step free size: 8897 07-31 11:48:34.055 4530-4556/? D/nfz: 2018-07-31 11:48:34: provider does not exist provider doesn't exist: network 07-31 11:48:34.109 4530-4556/? W/linker: libFR.so: unused DT entry: type 0x6ffffffe arg 0x1f5d7c libFR.so: unused DT entry: type 0x6fffffff arg 0x3 07-31 11:48:34.175 4530-4556/? E/FR_JNI: JNI_OnLoad 07-31 11:48:34.178 4530-4556/? D/FRCore: load lib suc 07-31 11:48:34.181 4530-4556/? D/c: Register All Adapters 07-31 11:48:34.204 4530-4556/? I/checkNetworkStatus: connect 07-31 11:48:34.433 4530-4556/? W/System.err: java.util.concurrent.TimeoutException at dji.midware.util.t.a(Unknown Source) at dji.midware.broadcastReceivers.DJINetWorkReceiver.b(Unknown Source) at dji.midware.broadcastReceivers.DJINetWorkReceiver.f(Unknown Source) at dji.midware.broadcastReceivers.DJINetWorkReceiver.
(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:818) 07-31 11:48:34.435 4530-4556/? D/nfz: 2018-07-31 11:48:34: polygon update network switch to connect ok 07-31 11:48:34.447 4530-4572/? V/MainActivity: The app key submitted is invalid. Please check the app key you provided. 07-31 11:48:34.491 4530-4604/? E/nfz: 2018-07-31 11:48:34: db init step free size: 8894 07-31 11:48:35.176 4530-4604/? D/nfz: 2018-07-31 11:48:35: circle db create success 01.00.01.07 1518590973 07-31 11:48:35.177 4530-4604/? E/nfz: 2018-07-31 11:48:35: db init step free size: 8888 07-31 11:48:35.834 4530-4604/? D/nfz: 2018-07-31 11:48:35: SDK polygonDb create success 01.00.01.09 1516269918 07-31 11:48:35.834 4530-4604/? E/nfz: 2018-07-31 11:48:35: db init step free size: 8879 07-31 11:48:37.589 4530-4578/? E/step: step UDT.startup() start 1533037717588 07-31 11:48:37.595 4530-4578/? E/step: step UDT.startup() end 1533037717595 07-31 11:48:37.614 4530-4530/? I/checkNetworkStatus: connect 07-31 11:48:37.615 4530-4572/? I/DJILocationManager: Configuration requires not to use AMap Services, so skipping that step to Default Location Providers Attempting to get location from default providers... 07-31 11:48:37.619 4530-4572/? I/DJILocationManager: GPS is already enabled, getting location... 07-31 11:48:37.639 4530-4572/? I/DJILocationManager: LastKnownLocation is not usable. 07-31 11:48:37.643 4530-4572/? I/DJILocationManager: Ask for location update... 07-31 11:48:37.669 4530-4557/? D/ufoEGL: Surface destroy: ANDROID_NATIVE_WINDOW_MAGIC 07-31 11:48:37.760 4530-4557/? D/ufoEGL: Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888 07-31 11:48:37.806 4530-4557/? V/RenderScript: Application requested CPU execution 07-31 11:48:37.819 4530-4557/? V/RenderScript: 0xf3de9800 Launching thread(s), CPUs 4 07-31 11:48:37.869 4530-4631/? W/System.err: java.util.concurrent.TimeoutException 07-31 11:48:37.870 4530-4631/? W/System.err: at dji.midware.util.t.a(Unknown Source) at dji.midware.broadcastReceivers.DJINetWorkReceiver.b(Unknown Source) at dji.internal.geo.GeoDatabaseUpdateLogic.onEvent3BackgroundThread(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at dji.thirdparty.v3.eventbus.EventBus.invokeSubscriber(Unknown Source) at dji.thirdparty.v3.eventbus.EventBus.invokeSubscriber(Unknown Source) at dji.thirdparty.v3.eventbus.BackgroundPoster.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818) 07-31 11:48:38.570 4530-4579/? E/swudp-jni: SW_Pro_Gnd_Entry already stop 07-31 11:48:38.571 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:48:39.650 4530-4557/? D/ufoEGL: Surface destroy: ANDROID_NATIVE_WINDOW_MAGIC 07-31 11:48:40.583 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:48:42.586 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:48:44.588 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:48:46.580 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:48:48.583 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:48:50.585 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:48:52.580 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:48:54.584 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:48:56.588 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:48:57.648 4530-4530/? I/DJILocationManager: We waited enough for GPS, switching to Network provider... 07-31 11:48:57.650 4530-4530/? I/DJILocationManager: Network is not enabled, calling fail... 07-31 11:48:58.582 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:00.593 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:02.596 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:04.599 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:06.600 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:08.591 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:10.603 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:12.606 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:14.608 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:16.611 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:18.603 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:20.615 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:22.608 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:24.609 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:26.613 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:28.615 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:30.617 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:32.618 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:34.615 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:36.626 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:38.628 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:40.619 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:42.621 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:44.622 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:46.623 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:48.635 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:50.627 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:52.629 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:54.627 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:56.639 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:49:58.641 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:50:00.633 4530-4579/? E/a: getNetworkObject return null for null cm 07-31 11:50:02.636 4530-4579/? E/a: getNetworkObject return null for null cm Is there anyone who can just download the SDK and it runs for them? I mean... is it at least working for some and only not me, or it is not working at all? Also I do not really know what to look for. I have SDK and NDK installed and was using these for other kinds of android development in the past (although not these days, but several months ago).
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/dji-sdk/Mobile-SDK-Android/issues/334#issuecomment-409193479
I did a fresh pull from git and if I open the project in android studio it complains like this:
The specified Android SDK Build Tools version (25.0.3) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4.
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '25.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
Update Build Tools version and sync project
Open File
One of the plugins you are using supports Java 8 language features. To try the support built into the Android plugin, remove the following from your build.gradle:
apply plugin: 'me.tatarka.retrolambda'
To learn more, go to https://d.android.com/r/tools/java-8-support-message.html
Configuration 'provided' is obsolete and has been replaced with 'compileOnly'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Failed to resolve: com.android.support:multidex:1.0.2
Add Google Maven repository and sync project
Open File
Show in Project Structure dialog
Failed to resolve: com.android.support:multidex-instrumentation:1.0.2
Add Google Maven repository and sync project
Open File
Show in Project Structure dialog
I think last time I already tried to solve these so I might have changed things. What versions of the android studio, gradle plugin, build tools, and android SDK is preferred? I use 3.1.x versions of the studio right now btw.
Now it seem to work and operate - but actually I am using another device now which is a normal tablet and not an old android 5.0.1 thingy....
I will test soon in the fields and see if it works when in flight and then close the issue.
Btw I reinstalled everything and did the same steps to get rid of the above errors like I did before so either I accidentally changed something last time or it is the different device now...
Works on the field too.
Dear team!
Earlier I could not build the project, but change the following values:
to the following values:
and I got a build success. Then however I get a lot of runtime errors as seen below - which seems to be unrelated to the above:
Can you help me please?