Error building GroundSDK

Hello all. I am running Debian 10 and have an issue building the GroundSDK - this is my error message. I have tried to install libtinfo5 to no luck. No idea what is wrong.

[I] Starting task 'build'
[I] Starting task 'build-jni'
[I] Starting task 'build-common'
[I] Starting task 'build-common-armeabi-v7a'
[I] In '/home/meraki/AAR_Folder/groundsdk': ALCHEMY_HOST_OUT_BUILD="/home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/host/build" ALCHEMY_HOST_OUT_STAGING="/home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/host/staging" ALCHEMY_TARGET_CONFIG_DIR="/home/meraki/AAR_Folder/groundsdk/products/groundsdk/android/config" ALCHEMY_TARGET_OUT="/home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a" ALCHEMY_TARGET_PRODUCT="groundsdk" ALCHEMY_TARGET_PRODUCT_VARIANT="android" ALCHEMY_TARGET_SCAN_ADD_DIRS=" /home/meraki/AAR_Folder/groundsdk/packages" ALCHEMY_TARGET_SCAN_PRUNE_DIRS=" /home/meraki/AAR_Folder/groundsdk" ALCHEMY_USE_COLORS="1" ALCHEMY_WORKSPACE_DIR="/home/meraki/AAR_Folder/groundsdk" ANDROID_ABI="armeabi-v7a" PARROT_BUILD_PROP_GROUP="drones" PARROT_BUILD_PROP_PRODUCT="groundsdk" PARROT_BUILD_PROP_PROJECT="groundsdk" PARROT_BUILD_PROP_UID="groundsdk-android-20220113-0042-0.0.0" PARROT_BUILD_PROP_VARIANT="android" PARROT_BUILD_PROP_VERSION="0.0.0" /home/meraki/AAR_Folder/groundsdk/build/alchemy/scripts/alchemake -j 4 all sdk
/bin/bash: line 1: cc: command not found
/bin/bash: line 1: cc: command not found
/bin/bash: line 1: llvm-config: command not found
expr: syntax error: unexpected argument ‘4.4.0’
expr: syntax error: unexpected argument ‘4.0.0’
expr: syntax error: unexpected argument ‘4.9.0’
expr: syntax error: unexpected argument ‘4.9.0’
expr: syntax error: unexpected argument ‘4.5.0’
expr: syntax error: unexpected argument ‘4.5.2’
expr: syntax error: unexpected argument ‘7’
expr: syntax error: unexpected argument ‘4.5.0’
----------------------------------------------------------------------
+ ALCHEMY_WORKSPACE_DIR = /home/meraki/AAR_Folder/groundsdk
+ TARGET_PRODUCT = groundsdk
+ TARGET_PRODUCT_VARIANT = android
+ TARGET_OS = linux
+ TARGET_OS_FLAVOUR = android
+ TARGET_LIBC = bionic
+ TARGET_ARCH = arm
+ TARGET_CPU = armv7a
+ TARGET_OUT = /home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a
+ TARGET_CONFIG_DIR = /home/meraki/AAR_Folder/groundsdk/products/groundsdk/android/config
+ TARGET_CC_PATH = /home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a/toolchain/bin/arm-linux-androideabi-clang
+ TARGET_CC_VERSION = 
----------------------------------------------------------------------
/bin/bash: line 1: cc: command not found
Scanning /home/meraki/AAR_Folder/groundsdk/packages for makefiles...
Found 52 makefiles
Found 100 modules
Computing modules dependencies...
Checking modules dependencies...
Generating rules...
/home/meraki/AAR_Folder/groundsdk/build/alchemy/classes/CMAKE/rules.mk:10: *** json: cmake not found.  Stop.
[E] Command failed (returncode=2)


I installed CMAKE - and got a little further - it’s still failing to build

meraki@debian:~/AAR_Folder/groundsdk$ ./build.sh -p groundsdk-android -t build -j
[I] Installed NDK version: r17c
/home/meraki/AAR_Folder/groundsdk/products/groundsdk/android/config/product.mk:43: Missing ANDROID_ABI using armeabi-v7a
[I] Starting task 'build'
[I] Starting task 'build-jni'
[I] Starting task 'build-common'
[I] Starting task 'build-common-armeabi-v7a'
[I] In '/home/meraki/AAR_Folder/groundsdk': ALCHEMY_HOST_OUT_BUILD="/home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/host/build" ALCHEMY_HOST_OUT_STAGING="/home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/host/staging" ALCHEMY_TARGET_CONFIG_DIR="/home/meraki/AAR_Folder/groundsdk/products/groundsdk/android/config" ALCHEMY_TARGET_OUT="/home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a" ALCHEMY_TARGET_PRODUCT="groundsdk" ALCHEMY_TARGET_PRODUCT_VARIANT="android" ALCHEMY_TARGET_SCAN_ADD_DIRS=" /home/meraki/AAR_Folder/groundsdk/packages" ALCHEMY_TARGET_SCAN_PRUNE_DIRS=" /home/meraki/AAR_Folder/groundsdk" ALCHEMY_USE_COLORS="1" ALCHEMY_WORKSPACE_DIR="/home/meraki/AAR_Folder/groundsdk" ANDROID_ABI="armeabi-v7a" PARROT_BUILD_PROP_GROUP="drones" PARROT_BUILD_PROP_PRODUCT="groundsdk" PARROT_BUILD_PROP_PROJECT="groundsdk" PARROT_BUILD_PROP_UID="groundsdk-android-20220113-0103-0.0.0" PARROT_BUILD_PROP_VARIANT="android" PARROT_BUILD_PROP_VERSION="0.0.0" /home/meraki/AAR_Folder/groundsdk/build/alchemy/scripts/alchemake -j 4 all sdk
/bin/bash: line 1: llvm-config: command not found
expr: syntax error: unexpected argument ‘4.4.0’
expr: syntax error: unexpected argument ‘4.0.0’
expr: syntax error: unexpected argument ‘4.9.0’
expr: syntax error: unexpected argument ‘4.5.0’
expr: syntax error: unexpected argument ‘4.5.2’
expr: syntax error: unexpected argument ‘7’
expr: syntax error: unexpected argument ‘4.5.0’
----------------------------------------------------------------------
+ ALCHEMY_WORKSPACE_DIR = /home/meraki/AAR_Folder/groundsdk
+ TARGET_PRODUCT = groundsdk
+ TARGET_PRODUCT_VARIANT = android
+ TARGET_OS = linux
+ TARGET_OS_FLAVOUR = android
+ TARGET_LIBC = bionic
+ TARGET_ARCH = arm
+ TARGET_CPU = armv7a
+ TARGET_OUT = /home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a
+ TARGET_CONFIG_DIR = /home/meraki/AAR_Folder/groundsdk/products/groundsdk/android/config
+ TARGET_CC_PATH = /home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a/toolchain/bin/arm-linux-androideabi-clang
+ TARGET_CC_VERSION = 
----------------------------------------------------------------------
Scanning /home/meraki/AAR_Folder/groundsdk/packages for makefiles...
Found 52 makefiles
Found 100 modules
Computing modules dependencies...
Checking modules dependencies...
Generating rules...
Processing rules...
Link: out/groundsdk-android/armeabi-v7a/staging/usr/include/json => json-c
Link: out/groundsdk-android/armeabi-v7a/staging/usr/lib/libjson.a => libjson-c.a
CMake: liblz4 => Unpacking
Database dump: start
Gdb wrapper: /home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a/alchemy.gdb
CMake: liblz4 => Patching
Applying cmake.patch: 
patching file CMakeLists.txt
Applying 0001-android_avoid_so_version.patch: 
patching file CMakeLists.txt
Database dump: done -> /home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a/alchemy-database.xml
thumb C++: libulog <= packages/common/ulog/libulog/ulog.cpp
thumb C: libulog <= packages/common/ulog/libulog/ulog_read.c
thumb C: libulog <= packages/common/ulog/libulog/ulog_write.c
thumb C: libulog <= packages/common/ulog/libulog/ulog_write_android.c
thumb C: libulog <= packages/common/ulog/libulog/ulog_write_bin.c
thumb C: libulog <= packages/common/ulog/libulog/ulog_write_raw.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_addr.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_buffer.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_conn.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_ctx.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_decoder.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_encoder.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_evt.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_log.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_loop.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_msg.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_prot.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_timer.c
thumb C: libpomp <= packages/common/libpomp/src/pomp_watchdog.c
thumb C: libfutils <= packages/common/libfutils/src/hash.c
thumb C: libfutils <= packages/common/libfutils/src/mbox.c
thumb C: libfutils <= packages/common/libfutils/src/systimetools.c
thumb C: libfutils <= packages/common/libfutils/src/timetools.c
thumb C: libfutils <= packages/common/libfutils/src/random.c
thumb C: libfutils <= packages/common/libfutils/src/varint.c
thumb C: libfutils <= packages/common/libfutils/src/inotify.c
thumb C: libfutils <= packages/common/libfutils/src/fdutils.c
thumb C: libfutils <= packages/common/libfutils/src/fs.c
thumb C: libfutils <= packages/common/libfutils/src/safew.c
thumb C: libfutils <= packages/common/libfutils/src/synctools.c
thumb C: libmux <= packages/common/libmux/src/mux.c
thumb C: libmux <= packages/common/libmux/src/mux_channel.c
thumb C: libmux <= packages/common/libmux/src/mux_log.c
thumb C: libmux <= packages/common/libmux/src/mux_queue.c
thumb C: libmux <= packages/common/libmux/src/mux_ip_proxy.c
thumb C: libmediacodec-wrapper <= packages/common/libmediacodec-wrapper/src/mcw.c
thumb C: libmediacodec-wrapper <= packages/common/libmediacodec-wrapper/src/mcw_jni.c
thumb C: libmediacodec-wrapper <= packages/common/libmediacodec-wrapper/src/mcw_ndk.c
thumb C: libmp4 <= packages/common/libmp4/src/mp4.c
thumb C: libmp4 <= packages/common/libmp4/src/mp4_box.c
thumb C: libmp4 <= packages/common/libmp4/src/mp4_demux.c
thumb C: libmp4 <= packages/common/libmp4/src/mp4_track.c
thumb C: librtsp <= packages/common/librtsp/src/rtsp.c
thumb C: librtsp <= packages/common/librtsp/src/rtsp_client.c
thumb C: librtsp <= packages/common/librtsp/src/rtsp_client_session.c
thumb C: librtsp <= packages/common/librtsp/src/rtsp_server.c
thumb C: librtsp <= packages/common/librtsp/src/rtsp_server_request.c
thumb C: librtsp <= packages/common/librtsp/src/rtsp_server_session.c
thumb C: libsdp <= packages/common/libsdp/src/sdp.c
thumb C: libsdp <= packages/common/libsdp/src/sdp_base64.c
thumb C: libvideo-buffers <= packages/common/libvideo-buffers/src/vbuf.c
thumb C: libvideo-buffers <= packages/common/libvideo-buffers/src/vbuf_pool.c
thumb C: libvideo-buffers <= packages/common/libvideo-buffers/src/vbuf_queue.c
thumb C: libvideo-buffers-generic <= packages/common/libvideo-buffers/implem/generic/src/vbuf_generic.c
thumb C: librtp <= packages/common/librtp/src/rtcp_pkt.c
thumb C: librtp <= packages/common/librtp/src/rtp_jitter.c
thumb C: librtp <= packages/common/librtp/src/rtp_pkt.c
CMake: json => Configuring
Copy: packages/common/arsdk-xml/arsdkparser.py => out/groundsdk-android/host/staging/usr/lib/arsdkgen/arsdkparser.py
Copy: packages/common/arsdk-xml/arsdkgen.py => out/groundsdk-android/host/staging/usr/lib/arsdkgen/arsdkgen.py
Copy: packages/common/arsdk-xml/xml/skyctrl.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/skyctrl.xml
Copy: packages/common/arsdk-xml/xml/minidrone.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/minidrone.xml
Copy: packages/common/arsdk-xml/xml/mediastore.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/mediastore.xml
Copy: packages/common/arsdk-xml/xml/wifi.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/wifi.xml
Copy: packages/common/arsdk-xml/xml/powerup.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/powerup.xml
Copy: packages/common/arsdk-xml/xml/jpsumo.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/jpsumo.xml
Copy: packages/common/arsdk-xml/xml/security_edition.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/security_edition.xml
Copy: packages/common/arsdk-xml/xml/generic.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/generic.xml
Copy: packages/common/arsdk-xml/xml/precise_home.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/precise_home.xml
Copy: packages/common/arsdk-xml/xml/thermal.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/thermal.xml
Copy: packages/common/arsdk-xml/xml/dri.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/dri.xml
Copy: packages/common/arsdk-xml/xml/drone_manager.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/drone_manager.xml
Copy: packages/common/arsdk-xml/xml/sequoia.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/sequoia.xml
Copy: packages/common/arsdk-xml/xml/battery.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/battery.xml
Copy: packages/common/arsdk-xml/xml/move.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/move.xml
Copy: packages/common/arsdk-xml/xml/common.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/common.xml
Copy: packages/common/arsdk-xml/xml/mapper.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/mapper.xml
-- The C compiler identification is Clang 6.0.2
Copy: packages/common/arsdk-xml/xml/user_storage.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/user_storage.xml
-- Detecting C compiler ABI info
Copy: packages/common/arsdk-xml/xml/camera.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/camera.xml
Copy: packages/common/arsdk-xml/xml/followme.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/followme.xml
Copy: packages/common/arsdk-xml/xml/animation.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/animation.xml
Copy: packages/common/arsdk-xml/xml/piloting_style.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/piloting_style.xml
Copy: packages/common/arsdk-xml/xml/gauge_fw_updater.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/gauge_fw_updater.xml
Copy: packages/common/arsdk-xml/xml/ardrone3.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/ardrone3.xml
Copy: packages/common/arsdk-xml/xml/controller_info.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/controller_info.xml
Copy: packages/common/arsdk-xml/xml/mapper_mini.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/mapper_mini.xml
Copy: packages/common/arsdk-xml/xml/thermal_cam.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/thermal_cam.xml
Copy: packages/common/arsdk-xml/xml/rc.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/rc.xml
Copy: packages/common/arsdk-xml/xml/gimbal.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/gimbal.xml
Copy: packages/common/arsdk-xml/xml/leds.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/leds.xml
Copy: packages/common/arsdk-xml/xml/rth.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/rth.xml
Copy: packages/common/arsdk-xml/xml/debug.xml => out/groundsdk-android/host/staging/usr/lib/arsdkgen/xml/debug.xml
Copy: packages/common/libtar/compat/tar.h => out/groundsdk-android/armeabi-v7a/staging/usr/include/tar.h
Autotools: libtar => Configuring
CMake: liblz4 => Configuring
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a/toolchain/bin/arm-linux-androideabi-clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for sys/resource.h
-- The C compiler identification is Clang 6.0.2
-- Detecting C compiler ABI info
-- Looking for sys/resource.h - found
-- Looking for getrusage
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a/toolchain/bin/arm-linux-androideabi-clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for sys/types.h
-- Looking for getrusage - found
-- Wrote /home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a/build/json/obj/apps_config.h
-- Looking for fcntl.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for fcntl.h - found
-- Looking for inttypes.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for inttypes.h - found
-- Looking for stdarg.h
-- Looking for stddef.h - found
-- Check size of void *
-- Looking for stdarg.h - found
-- Looking for strings.h
-- Check size of void * - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a/build/liblz4/obj
StaticLib: libulog => out/groundsdk-android/armeabi-v7a/build/libulog/libulog.a
-- Looking for strings.h - found
-- Looking for string.h
CMake: liblz4 => Building
Scanning dependencies of target liblz4
[  9%] Building C object CMakeFiles/liblz4.dir/lib/lz4.c.o
-- Looking for string.h - found
-- Looking for syslog.h
-- Looking for syslog.h - found
-- Looking for 4 include files stdlib.h, ..., float.h
-- Looking for 4 include files stdlib.h, ..., float.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for endian.h
-- Looking for endian.h - found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for locale.h
-- Looking for locale.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
[ 18%] Building C object CMakeFiles/liblz4.dir/lib/lz4hc.c.o
Custom: eigen => Installing
/bin/bash: line 1: rsync: command not found
make: *** [/home/meraki/AAR_Folder/groundsdk/build/alchemy/classes/GENERIC/rules.mk:129: /home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/armeabi-v7a/build/eigen/eigen.installed.stamp] Error 127
[ 27%] Building C object CMakeFiles/liblz4.dir/lib/lz4frame.c.o
-- Looking for stdlib.h - found
-- Looking for sys/cdefs.h
-- Looking for sys/cdefs.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/stat.h
[ 36%] Building C object CMakeFiles/liblz4.dir/lib/xxhash.c.o
-- Looking for sys/stat.h - found
-- Looking for xlocale.h
-- Looking for xlocale.h - found
-- Looking for _isnan
[ 45%] Linking C static library liblz4.a
-- Looking for _isnan - not found
-- Looking for _finite
[ 45%] Built target liblz4
Scanning dependencies of target lz4
-- Looking for _finite - not found
-- Looking for INFINITY
[ 54%] Building C object CMakeFiles/lz4.dir/lib/lz4frame.c.o
[ 63%] Building C object CMakeFiles/lz4.dir/lib/xxhash.c.o

MAKE ERROR DETECTED
[E] Command failed (returncode=254)
meraki@debian:~/AAR_Folder/groundsdk$ ^C
meraki@debian:~/AAR_Folder/groundsdk$ 

i fixed it by

1.) Increasing the memory size of my VM
2.) Installing the lz4 missing dependancy
3.) Installing android studio Android 8 image
4.) creating a local.properties file where i stored the path to the SDK

GroundSDK sources are not available yet for Anafi AI.

The Parrot Anafi (not AI) says it’s compatible with the groundSDK on the purchase page

This is the drone that i have - the purcahse page claims the groundSDK is compatible.

turns out - i didn’t solve it. The build failed at the end with this error

 Task :groundsdkdemo:lint
Ran lint on variant debug: 16 issues found
Ran lint on variant release: 14 issues found
Wrote HTML report to file:///home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/gradle/groundsdkdemo/reports/lint-results.html
Wrote XML report to file:///home/meraki/AAR_Folder/groundsdk/out/groundsdk-android/gradle/groundsdkdemo/reports/lint-results.xml

> Task :groundsdkdemo:lint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':groundsdkdemo:lint'.
> Lint found errors in the project; aborting build.
  
  Fix the issues identified by lint, or add the following to your build script to proceed with errors:
  ...
  android {
      lintOptions {
          abortOnError false
      }
  }
  ...
  The first 3 errors (out of 11) were:
  
  /home/meraki/AAR_Folder/groundsdk/packages/groundsdk-android/sdkcore/src/main/java/com/parrot/drone/sdkcore/arsdk/backend/ble/ArsdkBleConnection.java:191: Error: Missing permissions required by BluetoothDevice.connectGatt: android.permission.BLUETOOTH_CONNECT [MissingPermission]
          mGatt = mBtDevice.connectGatt(mContext, false, mDeviceConnectionListener);
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /home/meraki/AAR_Folder/groundsdk/packages/groundsdk-android/sdkcore/src/main/java/com/parrot/drone/sdkcore/arsdk/backend/ble/ArsdkBleConnection.java:211: Error: Missing permissions required by BluetoothGatt.close: android.permission.BLUETOOTH_CONNECT [MissingPermission]
          mGatt.close();
          ~~~~~~~~~~~~~
  /home/meraki/AAR_Folder/groundsdk/packages/groundsdk-android/sdkcore/src/main/java/com/parrot/drone/sdkcore/arsdk/backend/ble/ArsdkBleConnection.java:239: Error: Missing permissions required by BluetoothGatt.writeDescriptor: android.permission.BLUETOOTH_CONNECT [MissingPermission]
              mGatt.writeDescriptor(descriptor);
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2m 33s
201 actionable tasks: 201 executed
[E] Command failed (returncode=1)


i updated the build.gradle (as was suggesrted in the error message) and i got a successful build - finally. Now, onto the next!! Lol!

now that it’s built, i opened the project in android studio and i get this warning:

Unsupported Modules Detected: Compilation is not supported for following modules: groundsdk-android. Unfortunately you can’t have non-Gradle Java modules and Android-Gradle modules in one project.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.