See the other replies in this thread. You don't need to. Just leave
the emulator running, make your code changes and run the application
again. The emulator will not reboot and go through the startup process
over again, but will instead just run the newly changed app.

On Dec 30, 6:37 pm, Xiongzh <zx.zhangxi...@gmail.com> wrote:
> Hope in the next version of Android SDK, developer need not to package
> and reinstall the apk while debugging ...
>
> On 12月31日, 上午7时15分, Xiongzh <zx.zhangxi...@gmail.com> wrote:
>
> > Yes, do not need to restart the simulator. Just re-run the application
> > within Eclipse. The plugin is wise enough to reuse the simulator and
> > reinstall the package.
> > Thanks
> > Here's the console log:
> > [2008-12-31 07:10:35 - ApiDemos] Android Launch!
> > [2008-12-31 07:10:35 - ApiDemos] adb is running normally.
> > [2008-12-31 07:10:35 - ApiDemos] Launching:
> > com.example.android.apis.ApiDemos
> > [2008-12-31 07:10:35 - ApiDemos] Automatic Target Mode: using existing
> > emulator: emulator-5554
> > [2008-12-31 07:10:35 - ApiDemos] Uploading ApiDemos.apk onto device
> > 'emulator-5554'
> > [2008-12-31 07:10:40 - ApiDemos] Installing ApiDemos.apk...
> > [2008-12-31 07:10:56 - ApiDemos] Application already exists.
> > Attempting to re-install instead...
> > [2008-12-31 07:11:17 - ApiDemos] Success!
> > [2008-12-31 07:11:17 - ApiDemos] Starting activity
> > com.example.android.apis.ApiDemos on device
> > [2008-12-31 07:11:20 - ApiDemos] ActivityManager: DDM dispatch reg
> > wait timeout
> > [2008-12-31 07:11:20 - ApiDemos] ActivityManager: Can't dispatch DDM
> > chunk 52454151: no handler defined
> > [2008-12-31 07:11:22 - ApiDemos] ActivityManager: Starting: Intent
> > { comp={com.example.android.apis/com.example.android.apis.ApiDemos} }
>
> > On 12月31日, 上午1时49分, "Justin Collum" <jcol...@gmail.com> wrote:
>
> > > I'm using eclipse. When I start the simulator, run my package, make code
> > > changes and hit run again, the new code goes to the simulator 
> > > automatically
> > > without a restart. I wish there was a way to get the emulator to skip its
> > > boot sequence.
>
> > > On Tue, Dec 30, 2008 at 6:35 AM, Xiongzh <zx.zhangxi...@gmail.com> wrote:
>
> > > > hi friends,
>
> > > > I'm tired of restarting the simulator again and again for just small
> > > > changes in the source codes.
> > > > In my VISTA/3G/Intel Duo laptop, it would take minitues.
>
> > > > Is it possible to uninstall and re-install the package without closing
> > > > the simulator and restarting it?
>
> > > > My way is to use
> > > > adb uninstall <my package>
> > > > adb install my.apk
>
> > > > It's still not quick enough. need nearly 1 minute.
>
> > > > What's your way to save your time?
>
> > > > Thx

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to