Frameworks detected: Android framework is detected in the project Configure
I get the above message when I try to build a particular project in android studio 1.4
If Android Studio notices a difference in the path to the android SDK folder on disk and the path mentioned in your local.properties file, it will prompt and upon confirmation update the path in local.properties. I think you local.properties file is not retaining the change in SDK path once you close the project. Check you check if something is reverting the changes.
Also, try saving the local.properties
file manually after updating the sdk.dir
property with correct path..
It looks like this in the local.properties
file.
# change the SDK path below to match the folder on your system
sdk.dir=D\:\\Android\\android-sdk
Following these instructions, they worked for me
If anybody finds like me that none of the suggested solutions fix this problem then a simple Invalidate Caches / Restart could fix the issue.
I struggled with this problem for months on just the one project, every time I wanted to work on it I had to remove and re-import the project.
Adding under facets didn't work for me. What did: Right click on your project in the Project pane on the left > Open Module Settings > Modules > Click the + to add a module > Android-Gradle
I also needed to modify some of the paths listed for the manifest/resources/assets etc in my Android module
Maybe you have to import the project properly and not just opening?
Goto to File > New Project > Import Project and browse for the project...
You might have just opened the wrong folder, like the folder ABOVE the project folder. (What I did.) Android Studio will create a .idea folder and open an empty project. If this is the case, delete the created .idea folder and select File>Open and navigate to the correct project folder.