Android的工作室0.8任务组装没有根项目发现 [英] Android Studio 0.8 Task assemble not found in root project

查看:359
本文介绍了Android的工作室0.8任务组装没有根项目发现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我米试图建立在Android 0.8的工作室在Ubuntu 14.04的iosched应​​用。导入setting.gradle文件,并按照构建指令后,我得到一个错误说

I m trying to build the iosched app on ubuntu 14.04 on android studio 0.8 . After importing the setting.gradle file and following the build instruction I get an error saying

Error

    :FAILURE: Build failed with an exception.

    * What went wrong:
    Task 'assemble' not found in root project 'iosched'.

    * Try:
    Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

的<一个href=\"http://stackoverflow.com/questions/21364895/android-studio-0-4-3-task-assemble-not-found-in-root-project\">solution在这篇文章中提到的也不行。

The solution mentioned in this post doesn't work either.

推荐答案

尝试添加此:任务组装{} 在你的根文件的build.gradle

Try to add this: task assemble{} in your root build.gradle file.

根据这个线程它有助于(它帮助我,以及)。

According to this thread it helps (it helped me as well).

这篇关于Android的工作室0.8任务组装没有根项目发现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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