Activitymanager: Starting: intent {act = Android. Intent. Action. Main cat = [Android. Intent. Category. laun

Source: Internet
Author: User

Problem


When I run an Android Application helloandroid, the program is blocking the following sentences.

 

========================================================== ========================================================== ==================

[10:48:39-helloandroid] ----------------------------------

[10:48:39-helloandroid] Android launch!

[10:48:39-helloandroid] ADB is running normally.

[10:48:39-helloandroid] Deming com. example. helloandroid. helloandroidactivity launch

[10:48:39-helloandroid] Automatic Target mode: launching new emulator with compatible AVD 'my _ avd'

[10:48:39-helloandroid] launching a new emulator with virtual device 'my _ avd'

[10:48:48-helloandroid] New emulator found: emulator-5554

[10:48:48-helloandroid] waiting for home ('android. process. acore') to be launched...

[10:49:09-SDK manager] Warning: Ignoring platform 'android-12.7z', not a folder.

[5554 10:50:25-helloandroid] Home is up on device 'emulator-100'

[5554 10:50:25-helloandroid] uploading helloandroid.apk onto device 'emulator-8080'

[10:50:25-helloandroid] installing helloandroid.apk...

[10:51:57-helloandroid] success!

[10:51:58-helloandroid] Starting activity com. example. helloandroid. helloandroidactivity on device emulator-5554

[10:52:01-helloandroid] activitymanager: Starting: intent {act = android. intent. action. main cat = [android. intent. category. launcher] CMP = com. example. helloandroid /. helloandroidactivity}

========================================================== ========================================================== ======/=

 

Fixed problem========================================================== ====================================

 

 

When the program runs to this step as shown above, I view the emulator without "Hello android! "Output. based on my knowledge at that time, I suspect the application is crash or emulator is down. in fact, due to loading emulator at the first time, the application ''helloandroid 'executes slowly. so when I restart the emulator manually and rerun the app, "Hello android" is shown on the emulator I defined.

 

How to start an emulator manually?

 

I just show how to start it in eclipse.Start eclipse, And then selectWindow-->Android SDK and AVD manager,As shown in the following figure1.1. selectVirtual Devices, If there is a emulator, select it and then clickStartButton. If not, click the buttonNewTo create a new AVD.

 

Figure 1.1 manually starting AVD

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.