Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362434 - running a helloworld app android 2.1 & getting emulator to work
Summary: running a helloworld app android 2.1 & getting emulator to work
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-30 13:51 EDT by andrew CLA
Modified: 2011-10-30 15:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andrew CLA 2011-10-30 13:51:06 EDT
Build Identifier: Build id: 20110916-0149

i have tried to start off my first program  in java android 2.1 using your emulator and have a problem getting the emulator to pick up on the "Hello, Android" text
- the emulator does run after    run as - android application - is asked but only to display the word "android"
this is my program
 :-
package com.example.helloandroid;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class ASDA1Activity extends Activity {
   /** Called when the activity is first created. */
   @Override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       TextView tv = new TextView(this);
       tv.setText("Hello, Android");
       setContentView(tv);
   }
}

and this is the console output
:-
[2011-10-30 16:52:31 - ASDA] ------------------------------
[2011-10-30 16:52:31 - ASDA] Android Launch!
[2011-10-30 16:52:31 - ASDA] adb is running normally.
[2011-10-30 16:52:31 - ASDA] Performing a.b.c.ASDAActivity activity launch
[2011-10-30 16:52:31 - ASDA] Automatic Target Mode: launching new emulator with compatible AVD 'AVD'
[2011-10-30 16:52:32 - ASDA] Launching a new emulator with Virtual Device 'AVD'
[2011-10-30 16:52:32 - Emulator] emulator: emulator window was out of view and was recentered
[2011-10-30 16:52:32 - Emulator] 
[2011-10-30 16:52:32 - ASDA] New emulator found: emulator-5554
[2011-10-30 16:52:32 - ASDA] Waiting for HOME ('android.process.acore') to be launched...
[2011-10-30 16:52:32 - Emulator] Unknown savevm section type 95
[2011-10-30 16:52:38 - ASDA] emulator-5554 disconnected! Cancelling 'a.b.c.ASDAActivity activity launch'!
[2011-10-30 16:54:30 - Dex Loader] Unable to execute dex: wrapper was not properly loaded first
[2011-10-30 16:54:30 - ASDA] Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first
[2011-10-30 16:59:33 - Dex Loader] Unable to execute dex: wrapper was not properly loaded first
[2011-10-30 16:59:33 - ASDA1] Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first
[2011-10-30 17:01:08 - Dex Loader] Unable to execute dex: wrapper was not properly loaded first
[2011-10-30 17:01:08 - ASDA1] Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first
[2011-10-30 17:04:52 - ASDA1] ------------------------------
[2011-10-30 17:04:52 - ASDA1] Android Launch!
[2011-10-30 17:04:52 - ASDA1] adb is running normally.
[2011-10-30 17:04:52 - ASDA1] Performing a.b.c.ASDA1Activity activity launch
[2011-10-30 17:04:52 - ASDA1] Automatic Target Mode: launching new emulator with compatible AVD 'AVD'
[2011-10-30 17:04:52 - ASDA1] Launching a new emulator with Virtual Device 'AVD'
[2011-10-30 17:04:53 - Emulator] emulator: emulator window was out of view and was recentered
[2011-10-30 17:04:53 - Emulator] 
[2011-10-30 17:04:53 - ASDA1] New emulator found: emulator-5554
[2011-10-30 17:04:53 - ASDA1] Waiting for HOME ('android.process.acore') to be launched...
[2011-10-30 17:04:53 - Emulator] Unknown savevm section type 95
[2011-10-30 17:05:00 - ASDA1] emulator-5554 disconnected! Cancelling 'a.b.c.ASDA1Activity activity launch'!

CAN YOU PLEASE HELP ME
YOURS SINCERELY
Andrew Philip B.Sc(E&E.E)

-- Configuration Details --
Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.jdt 3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK


Reproducible: Always

Steps to Reproduce:
1.as above on bug sheet
2.
3.
Comment 1 Remy Suen CLA 2011-10-30 15:16:40 EDT
This appears to be an issue with the Android plug-in. Please open a bug with the developers of the Android plug-in. Their issue tracking system is not hosted at Eclipse.org. Alternatively you can try asking for assistance on whatever support channels they provide.