From 2b733d97776a3aa5e44140423402b9dbb915d203 Mon Sep 17 00:00:00 2001 From: Aleksander Nowakowski Date: Wed, 5 Feb 2020 11:27:55 +0100 Subject: [PATCH] #86 fixed --- app/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 180f88b9..c368247a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -55,6 +55,11 @@ dependencies { // (and also the according lines in the settings.gradle): // implementation project(':dfu') + // Gson is needed for DFU to work. The DFU library dependency to Gson is internal and would + // not be attached to APK. + // See: https://github.com/NordicSemiconductor/Android-nRF-Toolbox/issues/86 + implementation 'com.google.code.gson:gson:2.8.6' + // Import the BLE Common Library. // The BLE Common Library depends on BLE Library. It is enough to include the first one. implementation 'no.nordicsemi.android:ble-common:2.2.0-alpha06'