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

Issue in building app in Android studio

I want to build nrftoolbox app in android studio. I downloaded the zip file from the github website and also the required dfu library. I unzipped both the files in a folder C:\user\desktop\Android-nrf-toolbox. I renamed the dfu folder as DFULibrary.

On starting android studio, I imported Android-nrf-toolbox-master/app.

But on building, I am getting the error

Error:(17, 0) SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable. <a href="openFile:C:\Users\manuj\Desktop\Android-nRF-Toolbox-master\Android-nRF-Toolbox-master\app\build.gradle"

How should I open the project and build in android studio?

Related