Project load is successful, new emulator opens, but with no content - android

I created a new AVD and things seemed to be going so swimmingly well. Yes a couple warnings and failures, but then apparent success - "Installing Tic-Tac-Toe.apk... Success! Starting activity... Starting: Intent" But nothing appears in the emulator, and underneath the date and time on the emulator screen is, "Charging (50%)" whatever that means.
Any ideas are tremendously appreciated.
Bruce
[2012-01-02 19:55:32 - Tic-Tac-Toe] ------------------------------
[2012-01-02 19:55:32 - Tic-Tac-Toe] Android Launch!
[2012-01-02 19:55:32 - Tic-Tac-Toe] adb is running normally.
[2012-01-02 19:55:32 - Tic-Tac-Toe] Performing com.wiley.fordummies.androidsdk.tictactoe.SplashScreen activity launch
[2012-01-02 19:55:32 - Tic-Tac-Toe] Automatic Target Mode: launching new emulator with compatible AVD 'TrialAVD'
[2012-01-02 19:55:32 - Tic-Tac-Toe] Launching a new emulator with Virtual Device 'TrialAVD'
[2012-01-02 19:56:02 - Emulator] emulator: warning: opening audio input failed
[2012-01-02 19:56:02 - Emulator]
[2012-01-02 19:56:05 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error
[2012-01-02 19:56:05 - Tic-Tac-Toe] New emulator found: emulator-5554
[2012-01-02 19:56:05 - Tic-Tac-Toe] Waiting for HOME ('android.process.acore') to be launched...
[2012-01-02 19:57:34 - Tic-Tac-Toe] WARNING: Application does not specify an API level requirement!
[2012-01-02 19:57:34 - Tic-Tac-Toe] Device API version is 12 (Android 3.1)
[2012-01-02 19:57:34 - Tic-Tac-Toe] HOME is up on device 'emulator-5554'
[2012-01-02 19:57:34 - Tic-Tac-Toe] Uploading Tic-Tac-Toe.apk onto device 'emulator-5554'
[2012-01-02 19:57:37 - Tic-Tac-Toe] Installing Tic-Tac-Toe.apk...
[2012-01-02 19:58:35 - Tic-Tac-Toe] Success!
[2012-01-02 19:58:35 - Tic-Tac-Toe] Starting activity com.wiley.fordummies.androidsdk.tictactoe.SplashScreen on device emulator-5554
[2012-01-02 19:58:36 - Tic-Tac-Toe] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.wiley.fordummies.androidsdk.tictactoe/.SplashScreen }

Related

Failed to install HelloWorld.apk on device

[2015-04-27 22:12:51 - HelloWorld] ------------------------------
[2015-04-27 22:12:51 - HelloWorld] Android Launch!
[2015-04-27 22:12:51 - HelloWorld] adb is running normally.
[2015-04-27 22:12:51 - HelloWorld] Performing com.example.helloworld.MainActivity activity launch
[2015-04-27 22:12:51 - HelloWorld] Automatic Target Mode: launching new emulator with compatible AVD 'Android1'
[2015-04-27 22:12:51 - HelloWorld] Launching a new emulator with Virtual Device 'Android1'
[2015-04-27 22:14:14 - HelloWorld] New emulator found: emulator-5554
[2015-04-27 22:14:14 - HelloWorld] Waiting for HOME ('android.process.acore') to be launched...
[2015-04-27 22:17:28 - HelloWorld] HOME is up on device 'emulator-5554'
[2015-04-27 22:17:28 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'
[2015-04-27 22:17:35 - HelloWorld] Installing HelloWorld.apk...
[2015-04-27 22:20:05 - HelloWorld] Failed to install HelloWorld.apk on device 'emulator-5554!
[2015-04-27 22:20:05 - HelloWorld] (null)
[2015-04-27 22:20:06 - HelloWorld] Launch canceled!
I am getting this error message. Changed DDMS time, checked manifest file for target SDK version, uninstalled and installed ADT plugin, deleted and created AVD, but I did not disable USB debugging. How to do that? Also any other thing I need to do?
USB debugging can be turned off and on in the Developer Settings on your device. You must have developer options turned on to use this. In case you don't, go into About Phone and tap on the Kernel Version 6 times (or until it says you are now a developer).

Failed to install HelloWorld.apk on device 'emulator-5554! error

I am trying to write HelloWorld program in android. But getting error:
[2014-09-18 21:23:57 - HelloWorld] ------------------------------
[2014-09-18 21:23:57 - HelloWorld] Android Launch!
[2014-09-18 21:23:57 - HelloWorld] adb is running normally.
[2014-09-18 21:23:57 - HelloWorld] Performing com.android.helloworld.MainActivity activity launch
[2014-09-18 21:23:57 - HelloWorld] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2014-09-18 21:24:08 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'
[2014-09-18 21:24:11 - HelloWorld] Installing HelloWorld.apk...
[2014-09-18 21:26:32 - HelloWorld] Failed to install HelloWorld.apk on device 'emulator-5554!
[2014-09-18 21:26:32 - HelloWorld] (null)
[2014-09-18 21:26:33 - HelloWorld] Launch canceled!
[2014-09-18 21:23:57 - HelloWorld] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
Check which version of android your application is being compiled and select the correct version. :)
Managing AVDs with AVD Manager

AVD Not Booting E/dalvikvm No valid entries found in bootclasspath

I'm unable to start my AVD. I've uninstalled and installed it 2nd time. Still the same. I have kept the AVD for approx half an hour, Still no luck.
Below is the Console log i get when try to run the Application in AVD.
[2014-02-12 20:43:02 - HelloAndroid] ------------------------------
[2014-02-12 20:43:02 - HelloAndroid] Android Launch!
[2014-02-12 20:43:02 - HelloAndroid] adb is running normally.
[2014-02-12 20:43:02 - HelloAndroid] Performing com.example.helloandroid.MainActivity activity launch
[2014-02-12 20:43:02 - HelloAndroid] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2014-02-12 20:43:05 - HelloAndroid] Launch canceled!
[2014-02-12 20:44:38 - HelloAndroid] ------------------------------
[2014-02-12 20:44:38 - HelloAndroid] Android Launch!
[2014-02-12 20:44:38 - HelloAndroid] adb is running normally.
[2014-02-12 20:44:38 - HelloAndroid] Performing com.example.helloandroid.MainActivity activity launch
[2014-02-12 20:44:38 - HelloAndroid] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2014-02-12 20:44:49 - HelloAndroid] Launching a new emulator with Virtual Device 'AVD_for_Nexus_4_by_Google'
[2014-02-12 20:45:23 - Emulator] bind: Permission denied
[2014-02-12 20:45:23 - HelloAndroid] New emulator found: emulator-5558
[2014-02-12 20:45:23 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched...
And attached is the logcat when starting the AVD from AVD Manager.
http://sdrv.ms/1bWRKru
I think there is a problem in mounting the data partition or its not available.
In a real device, if you have not flashed the data partition properly, with fastboot, the same issue will occur.

Android SDK Eclipse Error

I'm trying to get some of the samples to run from the Android SDK samples but am having troubles getting them to run on my device.
I am running windows 7 64-bit and my device is an LG Optimus Slider.
I installed the SDK through eclipse indigo (the SDK is the 2.1 version).
I am able to successfully run the samples on an Android Virtual Device but when I try on my LG Optimus SLider I get the following:
[2012-01-02 16:39:57 - ApiDemos] ------------------------------
[2012-01-02 16:39:57 - ApiDemos] Android Launch!
[2012-01-02 16:39:57 - ApiDemos] adb is running normally.
[2012-01-02 16:39:57 - ApiDemos] Performing com.example.android.apis.ApiDemos activity launch
[2012-01-02 16:39:57 - ApiDemos] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2012-01-02 16:40:03 - ApiDemos] WARNING: Application does not specify an API level requirement!
[2012-01-02 16:40:03 - ApiDemos] WARNING: Unknown device API version!
[2012-01-02 16:40:03 - ApiDemos] Uploading ApiDemos.apk onto device 'A10000199B0EF7'
[2012-01-02 16:40:04 - ApiDemos] Installing ApiDemos.apk...
[2012-01-02 16:40:04 - ApiDemos] Failed to install ApiDemos.apk on device 'A10000199B0EF7!
[2012-01-02 16:40:04 - ApiDemos] closed
[2012-01-02 16:40:04 - ApiDemos] Failed to install ApiDemos.apk on device 'A10000199B0EF7': closed
[2012-01-02 16:40:04 - ApiDemos] com.android.ddmlib.InstallException: closed
[2012-01-02 16:40:04 - ApiDemos] Launch canceled!
Also might be related, when the device chooser comes up in eclipse the target on my device is listed as unknown.
Any help would be appreciated, thanks.
I hope at least one of the following will help:
You have to uninstall the application from the application manager
on your cellphone before you can install it again.
Also check the version compatibilty issue
Apparently, your device is not properl connected

Android device not found

I'm trying to build "Hello, Android" with the Android SDK, but Android won't say "hello" to me.
I build with the 2.6 version of the SDK and run in Eclipse on Win XP. (I've installed the plug-in.)
Here's what I get:
[2009-09-23 16:35:19 -
HelloAndroid]Android Launch!
[2009-09-23 16:35:19 -
HelloAndroid]adb is running normally.
[2009-09-23 16:35:19 -
HelloAndroid]Performing
com.example.helloandroid.HelloAndroid
activity launch
[2009-09-23 16:35:19 -
HelloAndroid]Automatic Target Mode:
launching new emulator with compatible
AVD 'my_avd'
[2009-09-23 16:35:19 -
HelloAndroid]Launching a new emulator
with Virtual Device 'my_avd'
[2009-09-23 16:35:21 -
HelloAndroid]New emulator found:
emulator-5554
[2009-09-23 16:35:21 -
HelloAndroid]Waiting for HOME
('android.process.acore') to be
launched...
[2009-09-23 16:36:20 -
HelloAndroid]HOME is up on device
'emulator-5554'
[2009-09-23 16:36:20 -
HelloAndroid]Uploading
HelloAndroid.apk onto device
'emulator-5554'
[2009-09-23 16:36:30 -
HelloAndroid]Installing
HelloAndroid.apk...
[2009-09-23 16:36:43 -
HelloAndroid]Success!
[2009-09-23 16:36:44 -
HelloAndroid]Starting activity
com.example.helloandroid.HelloAndroid
on device
[2009-09-23 16:36:44 -
HelloAndroid]Launch error:
device (emulator-5554) request
rejected: device not found
I got this to work. It may be a timing issue. Have to press Menu button on emulator keypad to unlock the screen. Then the output is displayed.

Categories

Resources