Difference between revisions of "Android Eclipse AVD"

From InCircuit
Jump to: navigation, search
(Die Seite wurde neu angelegt: „Unter '''Window->Android SDK and AVD Manager''' den AVD Manager öffnen Dort kann man über '''New...''' ein neues Android Virtual Device erstellen mit folgenden…“)
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Unter '''Window->Android SDK and AVD Manager''' den AVD Manager öffnen
+
{{ood}}
  
Dort kann man über '''New...''' ein neues Android Virtual Device erstellen mit folgenden Einstellungen:
+
== purpose ==
 +
 
 +
the AVD manager - AVD is an acronym for ''Android Virtual Devices'' - can be used to setup up and handle different configurations for the android emulator.
 +
 
 +
== usage ==
 +
 
 +
To open the AVD manager, click '''Window->Android SDK and AVD Manager'''.
 +
 
 +
To create a new device, click '''New...'''. To use it along with an [[ICnova ADB4000]], the following settings should be met:
 
* Name: adb4000_5in
 
* Name: adb4000_5in
 
* Target: Android 1.6 - API Level 4
 
* Target: Android 1.6 - API Level 4
Line 7: Line 15:
 
* Resolution: 800x480
 
* Resolution: 800x480
  
[[Datei:Android_avd.png]]
+
[[File:Android_avd.png]]
  
mit einem Klick auf '''Create AVD''' wird das neue Virtuelle Device erstellt.
+
Clicking '''Create AVD''' the new virtual device will be created. Afterwards the device can be choosen and started by clicking '''Start...'''. The first start of a new device needs a longer duration of time to configure all parameters within the device. Afterwards a Window is appearing, showing the content of the Devices Display.
Danach kann man das AVD mit der Maus auswählen und über '''Start...''' starten.
+
Der erste Start dauert immer etwas länger da das Gerät erst noch konfiguriert wird.
+
Danach erscheint ein Fenster:
+
  
[[Datei:Android_avd_startup.png]]
+
[[File:Android_avd_startup.png]]
  
Wenn Android gestartet ist erscheint der Android Desktop:
+
After Android was started, the Android Desktop is appearing
  
[[Datei:Android_avd_home.png]]
+
[[File:Android_avd_home.png]]
  
Über die SDK Tools kann auch auf die Android Konsole zugegriffen werden um z.B. Logausgaben zu sehen.
+
Using the SDK-Tools, the debugging interface of the virtual device can be accessed, eg. to see logging messages in the terminal. To start the terminal, a command line has to be started and the command '''c:\path\to\android-sdk\tools\adb.exe shell''' executed.
Dazu muss man ein Terminal öffnen und folgenden Befehl eingeben:
+
'''c:\pfad\zu\android-sdk>tools\adb.exe shell'''
+
  
Eine '''#''' zeigt an das man sich auf dem Android Device befindet, wenn man hier den Befehl '''logcat''' eingibt kann man sich die Logausgaben des Systems und der Anwendungen anzeigen lassen.
+
A Sharp (#) is signaling the Android Device's terminal. Executing the command '''logcat''' here, will show the current logging output from the system and running applications.
  
  
[[Kategorie:Android]]
+
[[Category:Android]] [[Category:HowTo]]

Latest revision as of 16:53, 14 March 2017

This product is End of Life
This page is out of date

[edit] purpose

the AVD manager - AVD is an acronym for Android Virtual Devices - can be used to setup up and handle different configurations for the android emulator.

[edit] usage

To open the AVD manager, click Window->Android SDK and AVD Manager.

To create a new device, click New.... To use it along with an ICnova ADB4000, the following settings should be met:

  • Name: adb4000_5in
  • Target: Android 1.6 - API Level 4
  • SD Card Size: 128MB
  • Resolution: 800x480

Android avd.png

Clicking Create AVD the new virtual device will be created. Afterwards the device can be choosen and started by clicking Start.... The first start of a new device needs a longer duration of time to configure all parameters within the device. Afterwards a Window is appearing, showing the content of the Devices Display.

Android avd startup.png

After Android was started, the Android Desktop is appearing

Android avd home.png

Using the SDK-Tools, the debugging interface of the virtual device can be accessed, eg. to see logging messages in the terminal. To start the terminal, a command line has to be started and the command c:\path\to\android-sdk\tools\adb.exe shell executed.

A Sharp (#) is signaling the Android Device's terminal. Executing the command logcat here, will show the current logging output from the system and running applications.

Personal tools