總網頁瀏覽量

關於我自己

我的相片
人生的必修課是接受無常,人生的選修課是放下執著。
顯示具有 Eclipse 標籤的文章。 顯示所有文章
顯示具有 Eclipse 標籤的文章。 顯示所有文章

2015年3月24日 星期二

The zipalign tool was not found in the sdk


就因為出現這個訊息,更新ADT到23.0.0後


【悲劇二】不能Sign APK

Export Signed Application Pac


搜尋網路解法
開啟Eclipse > Window > android SDK Manager,把Tools勾選全部→Install

更新完後Eclipse重啟

ADT 更新22.6後出現無法Build程式

這篇寫得相當好
http://cms.35g.tw/coding/adt-%E6%9B%B4%E6%96%B022-6%E5%BE%8C%E5%87%BA%E7%8F%BE%E7%84%A1%E6%B3%95build%E7%A8%8B%E5%BC%8F/

重點就是
如果您想要好好的配合這個新方式,在建立好新的專案時必需要先:
  1. 先對你建的專案與appcompat_v7做Clean
  2. 先Build appcompat_v7再Build自已的專案
  3. 如果有Clean你的專案,Build發生問題時必需先重新Clean and Buildappcompat_v7
掌握以上原則,基本上你建立的新專案就可以順利的Build成功。

2014年8月7日 星期四

【Eclipse】修改字體大小、程式區風格、中文亂碼


  • 修改字體大小
        1. Window > Preference
        2. 右側General > Appearance > Colors and Fonts
        3. 將 Basic 展開,看到「Text Font」和「Text Editor Block Selection Font」
        4. 按下 Edit ,隨自己喜好調整即可。
  • 修改程式區風格
        1. 先到 Eclipse Color Themes 網頁
        2. 在下方可以看到許多已經修改好的成品,選擇喜歡的下載
        3. 下載時選擇「eclipse preference (EPF)」格式
        4. 下載完後,開啟Eclipse,File > Import
        5. 看到第一個 General 把它展開,選擇裡面的Preference
        6. From preference file 按下右邊的Browse...,開啟剛剛下載好的檔案
        7. 按下 Finish,完成 
 
  • 修改中文亂碼

Step 1. 首先選擇上方選單中的「Window」->「Preferences」,開啟設定視窗。

Step 2. 選左邊樹狀結構中的「General」->「Workspace」。

Step 3. 在右邊有一個「Text file encoding」,將 Default (MS950) 改成「Other:」,並選擇「UTF-8」。

Step 4. 之後按下「Apply」就設定完成。

android-ecodefile_01.png

資料來源:http://usit-yuan.blogspot.tw/2013/04/eclipse.html
     http://www.onejar99.com/2011/12/eclipse-file-encoding-utf8.html