These are chat archives for dronekit/dronekit-android

29th
Jun 2016
Peng Cheng
@tribbloid
Jun 29 2016 23:32
OK now I'll start integration test on SITL. But now I got into a second problem:
The project dronekit-android cannot compile
It gives the following error:
:ClientLib:androidJavadocs
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/DroneApiListener.java:6: error: cannot find symbol
import com.o3dr.services.android.lib.model.IApiListener;
^
symbol: class IApiListener
location: package com.o3dr.services.android.lib.model
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/DroneApiListener.java:12: error: package IApiListener does not exist
public class DroneApiListener extends IApiListener.Stub {
^
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/Drone.java:53: error: cannot find symbol
import com.o3dr.services.android.lib.model.IDroneApi;
^
symbol: class IDroneApi
location: package com.o3dr.services.android.lib.model
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/Drone.java:54: error: cannot find symbol
import com.o3dr.services.android.lib.model.IObserver;
^
symbol: class IObserver
location: package com.o3dr.services.android.lib.model
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/ControlTower.java:17: error: cannot find symbol
import com.o3dr.services.android.lib.model.IDroidPlannerServices;
^
symbol: class IDroidPlannerServices
location: package com.o3dr.services.android.lib.model
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/DroneObserver.java:6: error: cannot find symbol
import com.o3dr.services.android.lib.model.IObserver;
^
symbol: class IObserver
location: package com.o3dr.services.android.lib.model
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/DroneObserver.java:11: error: package IObserver does not exist
final class DroneObserver extends IObserver.Stub {
^
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/Drone.java:112: error: cannot find symbol
private final AtomicReference<IDroneApi> droneApiRef = new AtomicReference<>(null);
^
symbol: class IDroneApi
location: class Drone
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/services/android/lib/drone/connection/ConnectionParameter.java:6: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;
^
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/interfaces/LinkListener.java:3: error: package android.support.annotation does not exist
import android.support.annotation.NonNull;
^
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/services/android/lib/model/AbstractCommandListener.java:6: error: package ICommandListener does not exist
public abstract class AbstractCommandListener extends ICommandListener.Stub {
^
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/Drone.java:512: error: cannot find symbol
private boolean isStarted(IDroneApi droneApi) {
^
symbol: class IDroneApi
location: class Drone
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/Drone.java:566: error: cannot find symbol
private void addAttributesObserver(IDroneApi droneApi, IObserver observer) {
^
symbol: class IDroneApi
location: class Drone
/home/peng/git-drone/dronekit-android/ClientLib/src/main/java/com/o3dr/android/client/Drone.java:566: error: cannot find symbol
private void addAttributesObserver(IDroneApi droneApi, IObserver observer) {
Is there a reason it fails?