No Android facet found in the module 的解决办法
2015-11-29 16:51
597 查看
在github上下载安卓代码在本机运行的时候由于环境不一样,运行时可能会报出这样的错误:
No Android facet found in the module
在IDEA/Android Stdio下可以可以这样解决:
Add an android facet to your module by following below steps.
1) Go To File Menu -> Project Structure, or press (Ctrl+Alt+Shift+S) shortcut to open “Project Structure”.
2) Select “Facets” which is under the “Project Settings” tab. (First column)
3) Click on “+” button which is at the top of the Second Column to add new facets.
4) Select “Android” facet from that “Add “menu which will prompt another dialog box to select a module. (Select a module to which you want to apply this facet).
5) Select your module and that’s it. :)
No Android facet found in the module
在IDEA/Android Stdio下可以可以这样解决:
Add an android facet to your module by following below steps.
1) Go To File Menu -> Project Structure, or press (Ctrl+Alt+Shift+S) shortcut to open “Project Structure”.
2) Select “Facets” which is under the “Project Settings” tab. (First column)
3) Click on “+” button which is at the top of the Second Column to add new facets.
4) Select “Android” facet from that “Add “menu which will prompt another dialog box to select a module. (Select a module to which you want to apply this facet).
5) Select your module and that’s it. :)
相关文章推荐
- Android自带的Theme主题图解
- android-当android studio更新时遇到Connetion failed
- Android-Android开发者文档阅读1-Device Compatibility
- 42.Android LocationManager
- Android学习笔记-SQLite和Content Provider
- android ViewPager嵌套PhotoView报错的解决办法
- Android之Context、this
- Android之Context、this
- Android开发Service
- Android开发Service
- Android手机传感器介绍
- Android手机传感器介绍
- Android-SQLite3_4-greenDAO的使用
- Android之Handler用法总结
- Android之Handler用法总结
- Android OS--Looper、Thread、Handler
- Android OS--Looper、Thread、Handler
- Android开发:一个SharedPreference的工具类,方便保存和读取数据
- Android IPC方式
- Android-利用SharedPreferences实现记住密码和账号功能