Android的工作室,没有模块 [英] Android Studio-No Module

查看:133
本文介绍了Android的工作室,没有模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Andr​​oid Studio.This是我的项目screenshot.My项目构建成功,但是当我运行它只是建立成功的显示。
通过我的理解,我认为在这里构建写在工具栏上应该有我的项目name.When我去编辑里面的模块配置,只有一个选项是没有模块,而我认为我的项目名称应该是there.When我的权利点击我的项目,然后点击不得而知happens.This项目模块IBL2 Eclipse副本是在Eclipse中运行良好。

I am new to Android Studio.This is my project screenshot.My project builds successfully but when i run it only Build Successful is shown.
By what I understand I think where build is written in the toolbar there should be my project name.When I go to Edit Configuration inside Module there is only one option that is No Module while I think my project name should be there.When I right click on my project and click on Make Module 'Copy of IBL2 eclipse' nothing happens.This project was running fine in eclipse.

推荐答案

转到安卓>>摇篮脚本>>构建摇篮(模块:应用程序)

goto Android >> Gradle Scripts>>Build Gradle(Module :app)

请确保该文件的第一行是这样的。

make sure the first line of this file is like this.

apply plugin: 'com.android.application'

不喜欢这样

apply plugin: 'com.android.library'

这篇关于Android的工作室,没有模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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