Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid emulator not loading the application
    primarykey
    data
    text
    <p>I am trying to run "HelloWorld" android application, but the application doesn't load in the emulator.</p> <p>Emulator loads fine with Home screen and nothing happens after that, any help is appreciated. </p> <p><strong>Here is console log</strong></p> <pre><code>[2011-09-18 15:37:37 - HelloWorld] Performing test.helloworld.HelloWorld activity launch [2011-09-18 15:37:37 - HelloWorld] Performing test.helloworld.HelloWorld activity launch [2011-09-18 15:37:37 - HelloWorld] Automatic Target Mode: launching new emulator with compatible AVD 'Test' [2011-09-18 15:37:37 - HelloWorld] Launching a new emulator with Virtual Device 'Test' [2011-09-18 15:37:39 - HelloWorld] New emulator found: emulator-5554 [2011-09-18 15:37:39 - HelloWorld] Waiting for HOME ('android.process.acore') to be launched... [2011-09-18 15:38:19 - HelloWorld] WARNING: Application does not specify an API level requirement! [2011-09-18 15:38:19 - HelloWorld] Device API version is 7 (Android 2.1) [2011-09-18 15:38:19 - HelloWorld] HOME is up on device 'emulator-5554' [2011-09-18 15:38:19 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554' [2011-09-18 15:38:20 - HelloWorld] Installing HelloWorld.apk... [2011-09-18 15:39:43 - HelloWorld] Success! [2011-09-18 15:39:44 - HelloWorld] Starting activity test.helloworld.HelloWorld on device [2011-09-18 15:39:57 - HelloWorld] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=test.helloworld/.HelloWorld } </code></pre> <p><strong>Here is code</strong></p> <pre><code>package test.helloworld; public class HelloWorld 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 world!"); setContentView(tv); } } </code></pre> <p><strong>update</strong> <br/> app didn't load automatically on Emulator but I find it on apps screen. I thought app would load automatically when I run from IDE. When I select the installed "HelloWorld" app on Emulator it works fine. Is it possible to load the app automatically when it is run from the IDE?</p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload