Hello World Emulator Problem - SDK 1.0 r1 Eclipse Version: 3.4.1

by theRise » Tue, 07 Oct 2008 00:57:23 GMT


Sponsored Links
 I'm trying to get the HelloAndroid app up and running. I can run the
emulator from the command line just fine, but there seems to be an
issue from running it within eclipse when i'm ready to launch my app.
I tried searching for some of these terms and found no luck, anybody
else with this issue or some advice?
My console reads as follows:
[2008-10-06 16:11:07 - HelloAndroid] ------------------------------
[2008-10-06 16:11:07 - HelloAndroid] Android Launch!
[2008-10-06 16:11:07 - HelloAndroid] adb is running normally.
[2008-10-06 16:11:07 - HelloAndroid] Launching:
com.android.hello.HelloAndroid
[2008-10-06 16:11:07 - HelloAndroid] Automatic Target Mode: using
existing emulator: emulator-5554
[2008-10-06 16:11:07 - HelloAndroid] WARNING: Unknown device API
version!
[2008-10-06 16:11:07 - HelloAndroid] Failed to upload HelloAndroid.apk
on device 'emulator-5554': Unable to open sync connection!

--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Problem - SDK 1.0 r1 Eclipse Version: 3.4.1

by Evan... » Tue, 07 Oct 2008 08:19:39 GMT


 Hey man
are you waiting a long time when the dummy Android runing??
or if you did't configure right your SDK in you Eclipse...
please check it!  luck for you!
That's problem,so easy!




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Hello World Emulator Problem - SDK 1.0 r1 Eclipse Version: 3.4.1

by Evan . . . » Tue, 07 Oct 2008 08:26:03 GMT


 So sorry I can't help you !
Hope some super-man can do that!!
lucky All!!!!

2008/10/7 Evan... <[EMAIL PROTECTED]>



--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Problem - SDK 1.0 r1 Eclipse Version: 3.4.1

by Ena » Tue, 07 Oct 2008 08:32:59 GMT


 may it helps u....restart pc....delete folder Android from C:\Documents and
Settings\Administrator\Local Settings\Application Data.....





--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Problem - SDK 1.0 r1 Eclipse Version: 3.4.1

by theRise » Tue, 07 Oct 2008 16:10:49 GMT


 i've run a clean install of both android and eclipse, still no luck.





--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Problem - SDK 1.0 r1 Eclipse Version: 3.4.1

by theRise » Thu, 09 Oct 2008 14:21:39 GMT


 Here's a follow up on the issue.

I've run a completely clean install of eclipse and the sdk in a
separate dir. The issue is still the same. I've also installed it
successfully on a separate machine and run the emulator just fine. I'm
sure it's an isolated issue possibly to this particular machine and
some sort of windows configuration issue. If anyone (google devs?) has
seen this issue or know what may be causing it, i would greatly
appreciate a constructive reply. I've been hacking away at this for a
few days now, and has numerous alternate sources for help, i just
can't seem to get this one working.
Thanks



--~--~---------~--~----~------------~-------~--~----~



Hello World Emulator Problem - SDK 1.0 r1 Eclipse Version: 3.4.1

by theRise » Fri, 10 Oct 2008 19:31:55 GMT


 Resolved, kind of.

The issue that is causing this is when i run eclipse, the DDMS
perspective shows emulator-5554 in an offline state under the devices
list. In order to get a new emulator instance running i have to first
go to Run Configurations > Target tab > Manual radio button. Then when
i run the project DO NOT click the emulator on the list, and select
Run. This will instantiate a new emulator, and will run the project.
As of now i can not find another workaround, or a way to delete this.
If anyone has a solution to deleting an old emulator reference or
knows where to find it (not in the registry, i checked) then please
follow up.
Thanks




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Has the android.app package been removed from 1.5_r2

Hi,
           How we can update the timer widget when seek bar position has
changed..








-- 
Thank & Regards
Peeyush Varshney

--~--~---------~--~----~------------~-------~--~----~

2. Passing data from intent caller to intent receiver?

Having used a dozen GUI toolkits (from Xt to Qt, Java Awt/Swt/Swing,
Qtopia, etc) I really find it difficult to get used to Android. I
guess there should be a Java GUI (or traditional Desktop GUI) to
Android GUI transition guide :)

Suppose I have the MainView Activity class which explicitly calls
DetailedView via intent mechanism as shown next: (Is there another way
to call DetailedView?)

-Since an Activity class is instantiated via onCreate() how do I
customize it? (No constructor, only pass data through intent!)

-Is there a way to get a reference for the DetailedView instance in
MainActivity?

-Is there a way to get a reference for the MainActivity instance in
DetailedView?

-How can I pass the reference to FrontEnd to the DetailedView class?
Intent.putExtras() allows only for certain data types to pass to the
intent receiver class.

----------------------------
MainActivity code ...

...
FrontEnd fe;

...
public void onCreate(Bundle savedInstanceState) {
...
Intent myIntent = new Intent(this, DetailedView.class);
...}

protected void onListItemClick(ListView l, View v, int position, long
id) {
...
    startActivityForResult(myIntent,..);
...
}

--~--~---------~--~----~------------~-------~--~----~

3. Duplicate processes triggered from ongoing notification

4. fullscreen doesn't hide Status Bar in Android SDK 1.5 R2

5. contentobserber for my database

6. Socket timeout not working?

7. Localice Android applications and base system