在android studio中检测到的框架 [英] Frameworks detected in android studio

查看:178
本文介绍了在android studio中检测到的框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

检测到框架:在配置项目中检测到Android框架

Frameworks detected: Android framework is detected in the project Configure

当我尝试在android studio 1.4中构建特定项目时,收到上述消息

I get the above message when I try to build a particular project in android studio 1.4

该项目为空白,无法运行该项目.我搜索了解决方案,但没有找到合适的解决方案.

The project is blank, and not able to run this project. I searched for the solution and didn't find any proper solution.

我遇到了这个答案 https://stackoverflow.com/a/18394291/5093415 ,但是据此,就我而言,"Android支持存储库"已安装在sdk管理器中.这种解决方案对我没有帮助.

I came across this answer https://stackoverflow.com/a/18394291/5093415 , but according to this, in my case "Android Support Repository" is already been installed in sdk manager. This solution doesn't help me.

感谢您的帮助.

推荐答案

按照这些说明,它们为我工作了

Following these instructions, they worked for me

  1. CTRL + ALT + SHIFT + S .或转到文件> 项目结构
  2. 转到项目设置> Facets .
  3. 点击 + 按钮并添加 Android-gradle .
  4. 选择您的项目名称.
  5. 单击应用",然后单击确定".
  6. 关闭您的项目,然后重新打开.
  7. 等到gradle完成构建项目.
  1. Press CTRL+ALT+SHIFT+S. Or Go to File> Project Structure
  2. Go to Project Setting > Facets.
  3. Click + button and add Android-gradle.
  4. Select your project name.
  5. Click Apply and Ok.
  6. Close your project and reopen.
  7. Wait until gradle finishes build your project.

这篇关于在android studio中检测到的框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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