看板 AndroidDev 關於我們 聯絡資訊
我是個開發的新手 第一次做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://www.ptt.cc/bbs/AndroidDev/M.1400996979.A.16B.html
ug945:建議還是用eclipse... 05/26 00:12
tga123:eclipse比較穩定 05/26 09:31
mshockwave:android studio 要加google的lib很方便 但其餘就... 05/26 11:01