Android Question DJI DRONES - ERROR

Discussion in 'Android Questions' started by Roberto P., Nov 30, 2019 at 10:37 AM.

  1. Roberto P.

    Roberto P. Well-Known Member Licensed User

    Hi
    I resumed my attempt to develop an app for DJI with the libraries of the post: https://www.b4x.com/android/forum/threads/dji-drones.75244/

    I was able to activate the app DroneFirst but when it tries to connect from the following error..


    can anyone tell me what it refers to?

    thank in advance
     
  2. DonManfred

    DonManfred Expert Licensed User

    to a artifact from the old support library.

    I guess you are using AndroidX.
    You can try to add a reference in your main activity to
    Code:
    #additionaljar: androidx.legacy:legacy-support-v4
     
  3. Roberto P.

    Roberto P. Well-Known Member Licensed User

    Hi Manfred
    thanks for your reply

    but I have the same error

    see the code below

    Code:
    #BridgeLogger: true
    #MultiDex: true
    #AdditionalJar: dji-sdk-provided-4.4.1, ReferenceOnly
    #Additionaljar: androidx.legacy:legacy-support-v4
    thank for your
     
  4. DonManfred

    DonManfred Expert Licensed User

    have you jetified all libraries? especially the drone lib and the aar?
     
  5. Roberto P.

    Roberto P. Well-Known Member Licensed User

  6. DonManfred

    DonManfred Expert Licensed User

    i dont see any androidx files here.

    anyway i can´t help any further on this. i never used the lib in the last time (about 1,5 years ago). Don´t know if it is maybe incompatible with AndroidX.
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    I'm working on a new version of DJI library.
     
    Roberto P. and DonManfred like this.
  8. Roberto P.

    Roberto P. Well-Known Member Licensed User

    Hi Erel
    very interesting .... do you have any idea how much you could release it? I would like to develop with B4A and not with Android Studio.

    Thanks in advance
    regards
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    Just finished a test flight. Will upload soon.
     
    DonManfred likes this.
  10. Roberto P.

    Roberto P. Well-Known Member Licensed User

    very well, what do you mean soon?

    can you anticipate something of the implementations? thank
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    Tomorrow.

    Not sure what you are asking. The updated library will behave very similarly to the old one.
     
    Roberto P. likes this.
  12. Roberto P.

    Roberto P. Well-Known Member Licensed User

    Great! Please send me a notify....

     
  13. Erel

    Erel Administrator Staff Member Licensed User

    v4.50 was released.
     
    Roberto P. likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice