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'