Android Question package dji.common.mission.waypoint does not exist

Discussion in 'Android Questions' started by John Calhoun, Jan 10, 2019.

  1. John Calhoun

    John Calhoun Member Licensed User

    I am in the process of rebuilding my project after a six month hiatus.

    B4A: v8.8
    Android: 27
    DJI SDK: v4.5

    I am having trouble with the WaypointMissionBuilder class. When I compile my project I get the following:

    B4A Version: 8.80
    Parsing code. (0.07s)
    Building folders structure. (0.33s)
    Compiling code. (8.64s)
    Compiling layouts code. (0.18s)
    Organizing libraries. (27.58s)
    Generating R file. (1.58s)
    Compiling debugger engine code. (2.94s)
    Compiling generated Java code. Error
    B4A line: 1043
    WaypointMissionBuilder.SetFinishAction(\
    src\com\msgumball\m100\mission\main.java:1848: error: package dji.common.mission.waypoint does not exist
    _waypointmissionbuilder.SetFinishAction(BA.getEnumFromString(dji.common.mission.waypoint.WaypointMissionFinishedAction.class,"NO_ACTION"));

    I have loaded the libraries as specified in Don Manfred's DJI Widgets post:

    https://www.b4x.com/android/forum/threads/dji-drones-ui-use-dji-widgets-in-your-app.81007

    Attached is my Additional Libraries listing.

    Can anyone tell me what I am missing to fix this error?

    Thanks in advance,

    ---jscott
     
  2. John Calhoun

    John Calhoun Member Licensed User

    Sorry, here is the Additional Libraries attachment:
     

    Attached Files:

  3. Erel

    Erel Administrator Staff Member Licensed User

  4. John Calhoun

    John Calhoun Member Licensed User

    Erel,

    Finally got a chance to work back through your example from scratch. I was not properly referencing dji-sdk-provided-4.4.1.

    Thanks!
     
    Erel likes this.
  5. Erel

    Erel Administrator Staff Member Licensed User

    Which drone do you have?
     
  6. John Calhoun

    John Calhoun Member Licensed User

    M100 Matrice

    I got my project up and running this morning. Still working through some of small stuff but it is flying on the simulator.

    Thank you very much for the support.
     
    Erel 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