Android Studio中在Ubuntu我不能建项目。摇篮运行构建需要无限 [英] I can't build project in Android Studio on Ubuntu. Gradle running build takes infinity

查看:192
本文介绍了Android Studio中在Ubuntu我不能建项目。摇篮运行构建需要无限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Ubuntu(15.04)的最新分布。
我已经安装了最新的Java(1.8和Android Studio和SDK,但是当我想建立项目它的建设运行的应用程序,它需要无限的时间。(它建立没有任何错误的所有时间)。即使我想停止建设,然后的gradle停止建设需要无穷大。
有没有人有类似的问题?

I have the newest distribution of Ubuntu(15.04). I have installed the newest Java(1.8 and Android Studio with SDK, but when i want to build project it's building running application and it takes infinity time.(It building all time without any error).Even if I want to stop building, then stopping gradle building takes infinity. Does anyone have a similar problem?

推荐答案

我有相同的问题,最后我在终端解决了这个由这两个命令:

I had identical problem and finally I solved this by those two commands in Terminal:

须藤dpkg的--add-i386硬件架构

命令和apt-get安装中的libncurses5:I386的libstdc ++ 6:I386的zlib1g:I386

我发现在这里:
<一href=\"http://stackoverflow.com/questions/30111443/android-studio-fails-to-build-new-project-timed-out-while-wating-for-slave-aapt\">Android Studio无法建立新的项目,超时而瓦亭为从AAPT过程

这篇关于Android Studio中在Ubuntu我不能建项目。摇篮运行构建需要无限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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