Android的工作室 - "项目&QUOT检测的Andr​​oid框架; [英] Android Studio - "Android framework is detected in the project"

查看:326
本文介绍了Android的工作室 - "项目&QUOT检测的Andr​​oid框架;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Android的工作室发展(I / O preVIEW 0.2.3),并作为,因为我开始我的当前项目。每次我打开这个项目,我得到检测框架:在项目中检测到Android框架配置消息在事件日志中。我可以点击配置,并立即将其梳理的东西出来,但它每次我打开该项目时发生的。

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.

它没有真正产生任何问题比任何一个烦恼的。反正使得AS记住,这是一个Android项目?

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?

推荐答案

如果Android Studio中注意到一个的路径到磁盘上的Andr​​oid SDK中的文件夹,并在您的 local.properties 文件后,系统会提示并确认后更新 local.properties 。我想你local.properties文件不保留在SDK路径的改变,一旦你关闭该项目。检查您检查如果事情是恢复的变化。

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.

另外,尽量节省local.properties手动档与正确的路径。

Also, try saving the local.properties file manually after updating the sdk.dir property with correct path..

它看起来像这样在 local.properties 文件。

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

这篇关于Android的工作室 - "项目&QUOT检测的Andr​​oid框架;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆