我是新来的Android 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'
相关推荐
最新文章