1. Download our Official Android App: Forums for Android!

Apps How to solve window out view in android

Discussion in 'Android Development' started by soft_akp, Jul 25, 2011.

  1. soft_akp

    soft_akp Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jul 23, 2011

    Jul 23, 2011
    1
    0
    5
    [2011-07-25 17:37:49 - androidTest] ------------------------------
    [2011-07-25 17:37:49 - androidTest] Android Launch!
    [2011-07-25 17:37:49 - androidTest] adb is running normally.
    [2011-07-25 17:37:49 - androidTest] Performing com.taxmann.AndroidTestActivity activity launch
    [2011-07-25 17:37:49 - androidTest] Automatic Target Mode: launching new emulator with compatible AVD 'TaxmannAVD'
    [2011-07-25 17:37:49 - androidTest] Launching a new emulator with Virtual Device 'TaxmannAVD'
    [2011-07-25 17:37:53 - Emulator] emulator: warning: opening audio output failed
    [2011-07-25 17:37:53 - Emulator]
    [2011-07-25 17:37:53 - Emulator] emulator: emulator window was out of view and was recentred
    [2011-07-25 17:37:53 - Emulator]
    [2011-07-25 17:37:53 - androidTest] New emulator found: emulator-5554
    [2011-07-25 17:37:53 - androidTest] Waiting for HOME ('android.process.acore') to be launched...
    [2011-07-25 17:38:32 - androidTest] HOME is up on device 'emulator-5554'
    [2011-07-25 17:38:32 - androidTest] Uploading androidTest.apk onto device 'emulator-5554'
    [2011-07-25 17:38:32 - androidTest] Installing androidTest.apk...
    [2011-07-25 17:38:52 - androidTest] Success!
    [2011-07-25 17:38:52 - androidTest] Starting activity com.taxmann.AndroidTestActivity on device emulator-5554
    [2011-07-25 17:38:53 - androidTest] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.taxmann/.AndroidTestActivity }
    [2011-07-25 18:05:33 - androidTest] ------------------------------
    [2011-07-25 18:05:33 - androidTest] Android Launch!
    [2011-07-25 18:05:33 - androidTest] adb is running normally.
    [2011-07-25 18:05:33 - androidTest] Performing com.taxmann.AndroidTestActivity activity launch
    [2011-07-25 18:05:33 - androidTest] Automatic Target Mode: launching new emulator with compatible AVD 'TaxmannAVD'
    [2011-07-25 18:05:33 - androidTest] Launching a new emulator with Virtual Device 'TaxmannAVD'
    [2011-07-25 18:05:36 - Emulator] emulator: warning: opening audio output failed
    [2011-07-25 18:05:36 - Emulator]
    [2011-07-25 18:05:36 - Emulator] emulator: emulator window was out of view and was recentred
    [2011-07-25 18:05:36 - Emulator]
    [2011-07-25 18:05:36 - androidTest] New emulator found: emulator-5554
    [2011-07-25 18:05:36 - androidTest] Waiting for HOME ('android.process.acore') to be launched...
    [2011-07-25 18:06:16 - androidTest] HOME is up on device 'emulator-5554'
    [2011-07-25 18:06:16 - androidTest] Uploading androidTest.apk onto device 'emulator-5554'
    [2011-07-25 18:06:16 - androidTest] Installing androidTest.apk...
    [2011-07-25 18:06:35 - androidTest] Success!
    [2011-07-25 18:06:35 - androidTest] Starting activity com.taxmann.AndroidTestActivity on device emulator-5554
    [2011-07-25 18:06:36 - androidTest] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.taxmann/.AndroidTestActivity }


    As per the above code,
    "Hello, World" text should be displayed on the screen but not displayed.
    Yes i have waited for a half an hour
    Pls help i have gone through already for all the searches​
     

    Advertisement

  2. JiMMaR

    JiMMaR Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    363
    Joined:
    Jun 12, 2010

    Jun 12, 2010
    363
    57
    53
    please use the CODE tag when posting logs/codes
    also .. console log doesn't help .. show us your code [*.java,*.xml, and the manifest]
    and would be appreciated to include a logcat output for the error
     
  3. seiko

    seiko Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Aug 6, 2011

    Aug 6, 2011
    1
    0
    5
    I have java, android and eclipse installed on Ubuntu 11.04. I have also the same problem on 10.10 Maveric.
    Once I successfully execute a hello world program in the emulator, i run the emulator with NO CHANGES and the emulator stays on the home screen and will not run hello world. The console script is identical to the working script but differs in the last line

    [2011-08-06 21:42:49 - tester] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.tester/.Tester22Activity }

    I have had a look around and heard of issues to do with daemons hanging so i closed eclipse then killed ADB. It still did not seem to work until I deleted my Hello World project and created a new one. Then it worked again for One time only!!!
    I have wasted a lot of time on this and want to get to some coding above and beyond Hello World.
    There must be others out there with a similar problem!
    One small thing...Im running Ubuntu off a 4Gb USB there is 600Mb of space left but surely this cant be the problem. Maybe I will try it on my HDD.
     

Share This Page

Loading...