[问题] AndroidStudio 安装第三方 和 buildRelease?

楼主: yhn0tgb60 (呦厚厚)   2014-05-25 13:49:35
我是个开发的新手 第一次做app
我是用 AndroidStudio + MacBookPro
我现在在做 app要沟通server的功能
client端 看到很多人都推荐用 volley 所以我当然就来用看看
应该是要安装第三方Lib 而且要能开启volley类型的Project
我看到网络上都是 eclipse的教学 没找到 AndroidStudio的教学
所以我就凭eclipse的教学 找看看AndroidStudio类似的地方
我的操作步骤是这样
VCS->Checkout from Version Control->Git
填上 https://android.googlesource.com/platform/frameworks/volley
下载档案 和随便找一个安装路径?
我设定路径是 /Applications/Android Studio.app/plugins/gradle
接下来会到 Import Project from Gradle
要设定 Gradle home
其实我不懂这个设定是什么意思
总之我也设定 /Applications/Android Studio.app/plugins/gradle
结果显示错误
You are using an unsupported version of Gradle. Please use version 1.10.
Please point to a supported Gradle version in the project's Gradle
settings or in the project's Gradle wrapper (if applicable.)
Consult IDE log for more details (Help | Show Log)
看来是要去更新 Gradle?
http://services.gradle.org/distributions
我到这下载新版的 Gradle 但是却不知道要怎么 update.....
感觉好麻烦.... 这种更新的事情 怎么没有一键完成的功能.....
另外我在 build release版时 也遇到 signed 的问题....
Installation failed since the APK was either not signed, or signed incorrectly.
If this is a Gradle-based project,
then make sure the signing configuration is specified
in the Gradle build script.
目前也还看不懂要怎么解
怎么会这么麻烦勒 ==
作者: ug945 (ug945)   2014-05-26 00:12:00
建议还是用eclipse...
作者: tga123 (叛帝)   2014-05-26 09:31:00
eclipse比较稳定
作者: mshockwave (夏克维夫)   2014-05-26 11:01:00
android studio 要加google的lib很方便 但其余就...

Links booklink

Contact Us: admin [ a t ] ucptt.com