開啟Android開發軟體eclipse時出現parseSdkContent failed

來源:互聯網
上載者:User

標籤:

  使用eclipse開啟xml檔案或在eclipse裡面運行Android virtual device manager,就會出現這個錯誤:Could not initialize class android.graphics.Typeface。


650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/6D/10/wKiom1VbBjyCGGMqAAJ86bxPBwU722.jpg" style="float:none;" title="9a504fc2d56285357db70b3c93ef76c6a7ef635c.jpg" alt="wKiom1VbBjyCGGMqAAJ86bxPBwU722.jpg" />

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/6D/0B/wKioL1VbB7eB0u8sAAUfDP6sJno309.jpg" style="float:none;" title="a044ad345982b2b75042e0d932adcbef77099bca (1).jpg" alt="wKioL1VbB7eB0u8sAAUfDP6sJno309.jpg" />


解決方案:


1.如果沒有更改工作空間,去c:\user\administrator中刪除.android檔案 重啟eclipse 網上通常只說了這種方法。


2.如果 更換了工作空間 則需要將原工作空間中 your workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings檔案copy到新的工作空間的對應檔案夾中


(如果sdk版本更換,還需要在sdk 目錄中buildtools中加入支援新版本的buildtools) 刪除.android檔案 重啟eclipse


3.將原來ADT下sdk檔案夾的內容拷貝到新的Eclipse目錄,見:

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/6D/10/wKiom1VbBwLznY3NAAEulKqWraE763.jpg" title="QQ20150519174813.png" alt="wKiom1VbBwLznY3NAAEulKqWraE763.jpg" />


相關下載網址 http://www.androiddevtools.cn/

本文出自 “--Road--” 部落格,請務必保留此出處http://yangsm.blog.51cto.com/1065729/1652903

開啟Android開發軟體eclipse時出現parseSdkContent failed

聯繫我們

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