Android Studio-“Android framework is detected in the project”
来源:互联网 发布:身份证ps软件 编辑:程序博客网 时间:2024/05/21 18:40
问题描述
上午的时候项目一切正常,下午不知道操作了什么,打开项目就出现了如下的问题。
Frameworks detected: Android framework is detected in the project Configure
问题解决
关闭此项目的窗口,然后以 import project 的方式导入打开 ,等待gradle running 完毕即可。
如果用这个方法没有解决你的问题,可以参考这个:
Frameworks detected in android studio
里面很多解决方法,总有一款适合你~
以下是我用我的渣英语从上个链接翻译过来的几个靠谱答案,希望能帮到你。
解决方法1:
1.使用 CTRL+ALT+SHIFT+S
快捷键进入Project Setting 页面
2.进入 Facets 选项
3.点击 +
按钮选择 Android-gradle.
4.弹出的对话框中选择我们的项目名称
5.点击 apply
和 ok
按钮
6.退出并重新打开,等待构建完毕即可
解决方法2:
1.关闭项目所在窗口
2.从File- > import project 打开
3.等待构建完毕即可
解决方法3:
1.检查项目中的 local.properties 文件,查看 sdk 的配置是否正确。
2.如果错误,请修改为正确的路径。
解决方法4:
这个最清奇,重启Android Studio 即可。
问题原因
- 不小心删除了配置文件
- sdk 或者 gradle 的配置路径错误
和我一样莫名其妙的(可能是我们失忆了吧)
你是哪一种呢?
阅读全文
0 0
- Android Studio-“Android framework is detected in the project”
- Android Studio 出现Frameworks detected:Android framework is detected in the project Configure
- Frameworks detected: Android framework is detected in the project
- AndroidStudio Frameworks detected: Android framework is detected in the project Configure
- 提示错误:Frameworks detected: Android framework is detected in the project Configure
- AndroidStudio Frameworks detected: Android framework is detected in the project Configure
- AndroidStudio Frameworks detected: Android framework is detected in the project Configure
- Android Studio Rename the Project
- android studio :The file is not part of the project.Please include it
- The project is using an unsupported version of the Android Gradle plug-in
- Android Studio Ubuntu ‘tools.jar’ is not in the Android Studio classpath. Please ensure JAVA_HOME
- android studio no usages found in project
- Setup OpenCV SDK in Android Studio project
- android studio no usages found in project
- 【异常】Configure Android Studio such that source detected in git but Unregistered Vcs root detected
- android in practice_Using the AlarmManager(portfolio project)
- Error:The project is using an unsupported version of the Android Gradle plug-in (0.8.3). The recomme
- Android Studio--FrameWorks detected解决方法
- Java_基础—Arrays工具类的asList()方法的使用
- 第三章 Hello World App 浅述(二)
- 【刷题剑指offer】丑数
- 简单介绍Struts2的数据中心 ---context map中的根ValueStack
- Hive性能优化
- Android Studio-“Android framework is detected in the project”
- Maven(spring boot)多环境打包
- Getting arbitrary code execution in TrustZone's kernel from any context
- java初学者的浅谈(3)
- JSP页面的返回方法
- laravel笔记
- 第四章 自动布局(一)
- 北京大学可视化发展前沿研究生暑期学校Day6
- 科研论文有用的网站