作者yhn0tgb60 (呦厚厚)
看板AndroidDev
标题[问题] AndroidStudio 安装第三方 和 buildRelease?
时间Sun May 25 13:49:35 2014
我是个开发的新手 第一次做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.
目前也还看不懂要怎麽解
怎麽会这麽麻烦勒 ==
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 122.116.254.70
※ 文章网址: http://webptt.com/cn.aspx?n=bbs/AndroidDev/M.1400996979.A.16B.html
1F:推 ug945:建议还是用eclipse... 05/26 00:12
2F:推 tga123:eclipse比较稳定 05/26 09:31
3F:→ mshockwave:android studio 要加google的lib很方便 但其余就... 05/26 11:01