This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

android-nRF-Beacon-master error

Yesterday was the nrf Beacon application for Andriod Studio released. I added the project DFU library to the same folder as described. But I get an error:

Gradle 'Android-nrf-Beacon-master'project refresh failed ->Error:Configuration with name 'default' not found.

How I can fix this error?

image description

image description

Parents
  • The nRFBeacon and DFULibrary folders should be in the same folder. Let's say you have the folder AndroidstudioProjects (let's call it ASP). Clone the Android-nRF-Beacon project from GitHub to nRFBeacon folres inside ASP, then clone the Android-DFU-Library to the DFULibrary project to ASP. The nRFBeacon folder should have just one module 'app', and the DFULibrary - 'dfu'. The nRFBeacon imports the 'dfu' module using this line in the app/build.gradle: compile project(':..:DFULibrary:dfu').

Reply
  • The nRFBeacon and DFULibrary folders should be in the same folder. Let's say you have the folder AndroidstudioProjects (let's call it ASP). Clone the Android-nRF-Beacon project from GitHub to nRFBeacon folres inside ASP, then clone the Android-DFU-Library to the DFULibrary project to ASP. The nRFBeacon folder should have just one module 'app', and the DFULibrary - 'dfu'. The nRFBeacon imports the 'dfu' module using this line in the app/build.gradle: compile project(':..:DFULibrary:dfu').

Children
No Data
Related