<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.weweweb.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Androidsdk</id>
	<title>Androidsdk - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.weweweb.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Androidsdk"/>
	<link rel="alternate" type="text/html" href="https://www.weweweb.net/wiki/index.php?title=Androidsdk&amp;action=history"/>
	<updated>2026-04-09T09:09:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://www.weweweb.net/wiki/index.php?title=Androidsdk&amp;diff=77&amp;oldid=prev</id>
		<title>Willy: Created page with &quot;Download the SDK from http://developer.android.com/index.html.  Extract it into a directory. (say c:\android-sdk)  Append the folder &quot;c:\android-sdk\tools&quot; to PATH environment...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.weweweb.net/wiki/index.php?title=Androidsdk&amp;diff=77&amp;oldid=prev"/>
		<updated>2022-01-27T03:55:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Download the SDK from http://developer.android.com/index.html.  Extract it into a directory. (say c:\android-sdk)  Append the folder &amp;quot;c:\android-sdk\tools&amp;quot; to PATH environment...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Download the SDK from http://developer.android.com/index.html.&lt;br /&gt;
&lt;br /&gt;
Extract it into a directory. (say c:\android-sdk)&lt;br /&gt;
&lt;br /&gt;
Append the folder &amp;quot;c:\android-sdk\tools&amp;quot; to PATH environment variable.&lt;br /&gt;
&lt;br /&gt;
For Linux, add a line the following line into the file .bashrc in home directory:&lt;br /&gt;
  export PATH=${PATH}:/opt/android-sdk/tools&lt;br /&gt;
&lt;br /&gt;
If you run the problem, android, the following error message may be disppeared:&lt;br /&gt;
  Exception in thread &amp;quot;main&amp;quot; java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in swt.library.path,&lt;br /&gt;
  java.library.path or the jar file&lt;br /&gt;
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)&lt;br /&gt;
It is because the version of library cannot be load.&lt;br /&gt;
&lt;br /&gt;
To solve the problem:&lt;br /&gt;
# Install the packages (libswt-gtk-3.4-java and libswt-gtk-3.4-jni)&lt;br /&gt;
# Remove the file ./tools/lib/x86/swt.jar&lt;br /&gt;
# Set a symbolic link with the command &amp;quot;ln -s /usr/lib/java/swt-gtk-3.4.2.jar swt.jar&amp;quot;&lt;br /&gt;
# set the environment variable with &amp;quot;export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run setup to download and install the platform. (currently is Android 2.2)&lt;br /&gt;
&lt;br /&gt;
You may experience an error: &amp;quot;Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings.&amp;quot;. Just go to setttings and force http will be ok.&lt;br /&gt;
&lt;br /&gt;
List the target device. In DOS prompt:&lt;br /&gt;
&lt;br /&gt;
  android.bat list target&lt;br /&gt;
&lt;br /&gt;
Add the target device: (android-2.2 any name, and 1 is target id which show in the last command.)&lt;br /&gt;
&lt;br /&gt;
  android.bat create avd -n android-2.2 -t 1&lt;br /&gt;
&lt;br /&gt;
Done!&lt;br /&gt;
----&lt;br /&gt;
Goto [[android]]&lt;/div&gt;</summary>
		<author><name>Willy</name></author>
	</entry>
</feed>