PDA

View Full Version : Problem running Hello World App on Mac



Veitstanz
10-08-2011, 11:52 AM
Hej there,

I'm a beginner in android programming and wanted to try out the HelloWorld app as written on the android developer page, but it just won't work.
I followed the SDK Installation guide, set up Eclipse with the ADT Plugin, created a new android project, entered the code from the tutorial and then I start the program.
After I click run, the emulator takes a long time to start and after installing the apk, the text is not shown as a text but rather as a package that can be clicked (see screenshot below), is it correct this way?

11901

Is it also ok that it needs such a long time to start?

My data:
OS: Mac OS X 10.7.1
eclipse version: eclipse SDK 3.7.1 for Mac
Android SDK: r13 for mac
AVD: Android 3.2

My log from eclipse:

[2011-10-08 18:38:08 - HelloAndroid] New emulator found: emulator-5554
[2011-10-08 18:38:08 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched...
[2011-10-08 18:39:26 - HelloAndroid] HOME is up on device 'emulator-5554'
[2011-10-08 18:39:26 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554'
[2011-10-08 18:39:27 - HelloAndroid] Installing HelloAndroid.apk...
[2011-10-08 18:40:19 - HelloAndroid] Success!
[2011-10-08 18:40:20 - HelloAndroid] Starting activity com.example.helloandroid.HelloAndroid on device emulator-5554
[2011-10-08 18:40:22 - HelloAndroid] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.helloandroid/.HelloAndroid }

And the according catlog file for the starting process: (too big to add as attachement)
http://slowmo.at/download/logcat.txt

I'm sorry if this is a trivial question for you, but as said I'm fairly new to android programming and sitting on this problem for quite some time now. :(

Veitstanz
10-11-2011, 03:39 PM
no idea anyone? :(