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 <[email protected]> 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" <[email protected]> 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 <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

