4.Android 打包時出現的Android Export aborted because fatal error were founds [closed],4.androidfounds

來源:互聯網
上載者:User

4.Android 打包時出現的Android Export aborted because fatal error were founds [closed],4.androidfounds

         Android 程式開發完成後,如果要發布到互連網上供別人使用,就需要將自己的程式打包成Android 安裝包檔案(Android Package,APK),其副檔名為.apk。使用run as 也能產生一個APK安裝包,但是使用run as 產生的是測試的安裝包,只供開發人員自己測試使用。

接下來就以HelloWord程式為例示範如何產生正式的APK檔案。

 1.右鍵項目名稱,依次選擇Android Tools——>Explort Signed Application Package,:

 但是很不幸,這時並沒有像書上所說的那樣進入Project Check介面,而是報了一個這樣的錯誤。

 遇到這個問題,我頓時感覺頭都大了,找了半天都沒有找到關於"Run full error check when exporting app"選項在哪裡?

於是我開始通過百度尋找資料,最後終於找到一個和我遇到相同問題的。

參考兩篇博文後找到瞭解決方法。

博文一:Android Export aborted because fatal error were founds [closed]

博文二:  [轉](Eclipse打包問題)Export aborted because fatal lint errors we

於是我按照上面的方法:

具體解決方案如下:

故障解除後,按照書上操作:

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.