Android Question Drone Library issues

PABLO2013

Well-Known Member
Licensed User
Longtime User
Greetings, I wanted to know if anyone could guide me on what could be happening thanks

*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
~w:1004,main,50
** Activity (main) Resume **
The metadata received from server is invalid, please reconnect to the server and try.
** Activity (main) Pause, UserClosed = true **
 

PABLO2013

Well-Known Member
Licensed User
Longtime User
Thank you
I solved it by modifying some things and mode in the usb debugging of the device ... the applications like dji-go ... request of previous modify the mode of the debugging of the usb of the phone ... in my case since the example of b4a does not have That part of requesting prior modification of these modes .... so i have to do it manually ... as I say now works, thanks
 
Upvote 0

PABLO2013

Well-Known Member
Licensed User
Longtime User
Thank you In the library of donmafred (thanks) indicates that the panels do not work for him ... for me either ... that could be missing ... thanks.



B4X:
LogCat connected to: LGK53011b3ecb7
--------- beginning of system
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
main$ResumableSub_Activity_Createresume (java line: 374)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:166)
    at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
    at b4a.dji.test1.main$ResumableSub_Activity_Create.resume(main.java:374)
    at b4a.dji.test1.main._activity_create(main.java:348)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
    at b4a.dji.test1.main.afterFirstLayout(main.java:102)
    at b4a.dji.test1.main.access$000(main.java:17)
    at b4a.dji.test1.main$WaitForLayout.run(main.java:80)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5551)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:64)
    at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:158)
    ... 15 more
Caused by: android.view.InflateException: Binary XML file line #68: Binary XML file line #68: Error inflating class dji.ui.internal.camera.DULCameraPhotoSettingListView
    at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
    at dji.ui.base.a.initView(Unknown Source)
    at dji.ui.panel.CameraSettingAdvancedPanel.initView(Unknown Source)
    at dji.ui.base.a.<init>(Unknown Source)
    at dji.ui.base.d.<init>(Unknown Source)
    at dji.ui.panel.CameraSettingAdvancedPanel.<init>(Unknown Source)
    at dji.ui.panel.CameraSettingAdvancedPanel.<init>(Unknown Source)
    at anywheresoftware.b4a.objects.CameraSettingAdvancedPanelWrapper._initialize(CameraSettingAdvancedPanelWrapper.java:44)
    ... 18 more
Caused by: android.view.InflateException: Binary XML file line #68: Error inflating class dji.ui.internal.camera.DULCameraPhotoSettingListView
    at android.view.LayoutInflater.createView(LayoutInflater.java:645)
    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
    at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:838)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    ... 27 more
Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Constructor.newInstance(Native Method)
    at android.view.LayoutInflater.createView(LayoutInflater.java:619)
    ... 33 more
Caused by: android.view.InflateException: Binary XML file line #5: Binary XML file line #5: Error inflating class dji.ui.internal.RecyclerListView
    at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    at dji.ui.internal.camera.a.initView(Unknown Source)
    at dji.ui.base.n.<init>(Unknown Source)
    at dji.ui.internal.camera.a.<init>(Unknown Source)
    at dji.ui.internal.camera.DULCameraPhotoSettingListView.<init>(Unknown Source)
    ... 35 more
Caused by: android.view.InflateException: Binary XML file line #5: Error inflating class dji.ui.internal.RecyclerListView
    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:776)
    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    ... 40 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "dji.ui.internal.RecyclerListView" on path: DexPathList
Message longer than Log limit (4000). Message was truncated.
--------- beginning of crash
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Isn´t this another issue than your post #1?
If so then you should have created a new thread for this issue.
indicates that the panels do not work for him
As it did not work for me. This implies that i suggest NOT TO USE the panels at all till there is a solution for it.
It will not help if you include them (KNOWING it will not work) and post a error about them here
 
Upvote 0

PABLO2013

Well-Known Member
Licensed User
Longtime User
Greetings excuse I do not understand ... maybe the translation ... I do not see the problem of trying to solve something ... and of course to learn .... thanks
 
Upvote 0

Similar Threads

Replies
5
Views
1K
Replies
7
Views
945
  • Locked
  • Question
Android Question drone mission crashing
Replies
22
Views
3K
Replies
8
Views
2K
Top