android在eclipse中打包(簽名包)方法及常見問題解決

來源:互聯網
上載者:User

標籤:des   android   style   blog   http   io   color   os   ar   

打包成apk

按右鍵項目名稱,選擇"Android Tools",再選擇"Export Signed Application Package…",如所示。


進入左圖所示頁面,單擊"Next>"按鈕,進入如右圖所示視窗。


其中,Location為認證庫將要存放的位置,Password是認證庫的密碼。點擊Next如:


點擊Next,如:


"Destination APK file "指定APK儲存的位置。單擊"Finish"按鈕,打包完成。


如果沒有數位憑證,我們選擇"Create new keystore"新建立一個認證庫,具體的不再敖述,都比較簡單。

打包可能遇到的一些問題:

"your_string_name" is not translated in af, am, ar, be, bg, ca, cs, da, de, el, en-rGB, es, es-rUS, et, fa, fi, fr, hi, hr, hu, in, it, iw, ja, ko, lt, lv, ms, nb, nl, pl, pt, pt-rPT, ro, ru, sk, sl, sr, sv, sw, th, tl, tr, uk, vi, zh-rTW, zu    strings.xml    /projectname/res/values    line 44    Android Lint Problem

 如果你遇到類似上面的錯誤,那你要麼想辦法編製提示到的所有語言版本,一個不漏地將所有字串資源翻譯一遍,要麼就看看調整項目屬性項怎麼解決。

處理辦法:在eclipse中的Windows-->Preferences-->Android-->Lint Error Checking-->Issues
分別輸入MissingTranslation和ExtraTranslation
將Severity:類型改為Warming
然後,在eclipse中的Project-->Clean
接著,再簽名打包apk

android在eclipse中打包(簽名包)方法及常見問題解決

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.