Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - "Android framework is detected in the project"

I am using Android Studio for development (I/O Preview 0.2.3) and have used AS since I started my current project. Every time I open the project I get the Frameworks detected: Android framework is detected in the project Configure message in the event log. I can click Configure and it sorts things out straight away but its happens every time I open the project.

Its not really causing any issues, more of an annoyance than anything. Is there anyway of making AS remember that this is an Android project?

like image 930
Jonny Wright Avatar asked Aug 25 '13 15:08

Jonny Wright


3 Answers

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
like image 146
AndroidMechanic - Viral Patel Avatar answered Oct 21 '22 17:10

AndroidMechanic - Viral Patel


Try to import projectrather than just opening the project. File --> New--> Import Project

like image 33
Umesh Avatar answered Oct 21 '22 16:10

Umesh


Try open the SDK Manager and check if Android Support Repository is installed. If not, install if and reopen the project.

like image 23
Son Huy TRAN Avatar answered Oct 21 '22 16:10

Son Huy TRAN