<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Android SDK Content Loader 0% &#8211; 記下來</title>
	<atom:link href="https://noter.tw/tag/android-sdk-content-loader-0/feed/" rel="self" type="application/rss+xml" />
	<link>https://noter.tw</link>
	<description>一路上踩到的坑、遇到的問題，一點一滴記下來，希望能幫助到需要的人~</description>
	<lastBuildDate>Tue, 05 Nov 2019 13:54:22 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.3</generator>

<image>
	<url>https://noter.tw/wp-content/uploads/cropped-old-1130742_1920-1-32x32.jpg</url>
	<title>Android SDK Content Loader 0% &#8211; 記下來</title>
	<link>https://noter.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>MEMO: Eclipse export apk errors</title>
		<link>https://noter.tw/3235/memo-eclipse-export-apk-errors/</link>
					<comments>https://noter.tw/3235/memo-eclipse-export-apk-errors/#respond</comments>
		
		<dc:creator><![CDATA[黃小蛙]]></dc:creator>
		<pubDate>Sat, 14 Jun 2014 14:48:25 +0000</pubDate>
				<category><![CDATA[手機 App]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Andoid]]></category>
		<category><![CDATA[Android SDK Content Loader 0%]]></category>
		<category><![CDATA[android-support-v4.jar]]></category>
		<category><![CDATA[Conversion to Dalvik format failed with error 1]]></category>
		<category><![CDATA[Lint Checking]]></category>
		<guid isPermaLink="false">http://wazai.net/?p=3235</guid>

					<description><![CDATA[<p>不知道為什麼，之前 export apk 時都沒有這些問題，今天卻問題不斷，這裡記錄一下遇到的問題。 1. Export aborted because fatal lint errors were &#46;&#46;&#46;</p>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/3235/memo-eclipse-export-apk-errors/" data-wpel-link="internal">MEMO: Eclipse export apk errors</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></description>
										<content:encoded><![CDATA[<p>不知道為什麼，之前 export apk 時都沒有這些問題，今天卻問題不斷，這裡記錄一下遇到的問題。<br />
<span id="more-3235"></span></p>
<h4>1. Export aborted because fatal lint errors were found.</h4>
<p>在要匯出 apk 的時候，出現以下訊息：</p>
<div>
<div id="highlighter_898410" class="syntaxhighlighter  text">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gutter">
<div class="line number1 index0 alt2">1</div>
<div class="line number2 index1 alt1">2</div>
</td>
<td class="code">
<div class="container">
<div class="line number1 index0 alt2"><code class="text plain">Export Aborted</code></div>
<div class="line number2 index1 alt1"><code class="text plain">Export aborted because fatal lint errors were found. These are listed in the Lint View. Either fix these before running Export again, or turn off "Run full error check where exporting app: in the Android &gt; Lint Error Checking preference page.</code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p>其實這個問題的解法就在錯誤訊息裡面了，只要取消勾選下列路徑即可</p>
<div>
<div id="highlighter_120018" class="syntaxhighlighter  text">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="gutter">
<div class="line number1 index0 alt2">1</div>
</td>
<td class="code">
<div class="container">
<div class="line number1 index0 alt2"><code class="text plain">Window -&gt; Preferences -&gt; Android -&gt; Lint Error Checking -&gt; Run full error check when exporting app and abort if fatal errors are found.</code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<h4>2. Android SDK Content Loader 0%</h4>
<p>開啟 eclipse 的時候，遇到 Android SDK Content Loader 卡在 0% 的情況，請參考 <a href="https://noter.tw/2950/eclipse-%e5%81%9c%e5%9c%a8-android-sdk-content-loader/" target="_blank" rel="noopener noreferrer" data-wpel-link="internal">Eclipse 停在 Android SDK Content Loader</a>。不過還沒辦法完全解決，關閉後重新啟動就又遇到相同狀況，等找到新解法小蛙再更新。</p>
<h4>3. Conversion to Dalvik format failed with error 1</h4>
<p>小蛙之前的文章 <a href="https://noter.tw/1755/conversion-to-dalvik-format-failed-with-error-1/" target="_blank" rel="noopener noreferrer" data-wpel-link="internal">Conversion to Dalvik format failed with error 1</a> 裡面提到兩個解決方法，如果通通都不行的話，最有效的方法是把整個專案複製一份出來，刪掉 Project 後，再重新 Import Exist Android Project，就可以解決這個問題。</p>
<h4>4. [Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;</h4>
<p>造成這個狀況的原因是小蛙的 A 專案載入了 ActionbarSherlock、FacebookSDK、Supportv4PreferenceFragment &#8230; 等，每個專案下面又都載入了一個 android-support-v4.jar，遇到這種錯誤可以把其他的指向同一個 android-support-v4.jar，例如：ActionbarSherlock 下的 android-support-v4.jar。<br />
這邊有遇到其他更多 Eclipse 問題會繼續更新，一方面留作記錄方便查找，一方面希望能幫助到有需要的人。<br />
<strong>參考資料：</strong></p>
<ol>
<li><a href="https://noter.tw/2950/eclipse-%e5%81%9c%e5%9c%a8-android-sdk-content-loader/" data-wpel-link="internal">Eclipse 停在 Android SDK Content Loader</a></li>
<li><a href="https://noter.tw/1755/conversion-to-dalvik-format-failed-with-error-1/" data-wpel-link="internal">Conversion to Dalvik format failed with error 1</a></li>
</ol>
<p>這篇文章 <a rel="nofollow" href="https://noter.tw/3235/memo-eclipse-export-apk-errors/" data-wpel-link="internal">MEMO: Eclipse export apk errors</a> 最早出現於 <a rel="nofollow" href="https://noter.tw" data-wpel-link="internal">記下來</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://noter.tw/3235/memo-eclipse-export-apk-errors/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
