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

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
 

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!
 
Upvote 0

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.
 
Upvote 0
Top