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

Gradle Sync failed - Android Studio 1.4 and NRFToolbox App

Hi,

in order to find out how Android nRFToolbox App works, I downloaded Source Code on: https://github.com/NordicSemiconductor/Android-nRF-Toolbox/releases

I unzipped this volume in My Workspace, I run Android Studio 1.4 and I opened the project.

At the moment the code is displayed in the IDE, Messages window shows the following:

"Error:Configuration with name 'default' not found."

I suppose this error is related to Gradle sync. It's failed.

In the picture below, you can see the problem:

image description

Do you have any idea what could be wrong with my configuration?

Parents
  • Hi Fran,

    there is some info in the Dependencies section of the Readme file found on the nRF Toolbox's Github page.

    This is what I've done to make a successful build: Download the Nordic's nRF Toolbox and DFU Library archives from the Github. Extract both archives into a same folder, you will be left with the "Android-nRF-Toolbox-master" and "Android-DFU-Library-release" folders. Simply change the name of the later folder to "DFULibrary" and then open the nRF Toolbox project with the Android Studio.

    Just a friendly tip, keep the length of the file path short, so that Studio wouldn't give you some erroneous build message.

    Good luck, Matej :)

Reply
  • Hi Fran,

    there is some info in the Dependencies section of the Readme file found on the nRF Toolbox's Github page.

    This is what I've done to make a successful build: Download the Nordic's nRF Toolbox and DFU Library archives from the Github. Extract both archives into a same folder, you will be left with the "Android-nRF-Toolbox-master" and "Android-DFU-Library-release" folders. Simply change the name of the later folder to "DFULibrary" and then open the nRF Toolbox project with the Android Studio.

    Just a friendly tip, keep the length of the file path short, so that Studio wouldn't give you some erroneous build message.

    Good luck, Matej :)

Children
No Data
Related