Help please!! on SDK Android (Eclipse)_AVD Menager!! - Android Q&A, Help & Troubleshooting

Hi!! all
I have been trying to creat an android virtual device to test my app on ECLIPSE yet i can't
the console of ECLIPSE:
[2014-05-25 16:10:54 - BasicCalcul] ------------------------------
[2014-05-25 16:10:54 - BasicCalcul] Android Launch!
[2014-05-25 16:10:54 - BasicCalcul] adb is running normally.
[2014-05-25 16:10:54 - BasicCalcul] Performing com.example.basiccalcul.MainActivity activity launch
[2014-05-25 16:11:39 - BasicCalcul] Launching a new emulator with Virtual Device '4inch_device'
[2014-05-25 16:11:39 - Emulator] PANIC: Could not open: 4inch_device
He said forme that PANIC could not open my AVD
Im lost ...
there are any solution for my problem
Please answer me if there are...
THNKS

Related

[Q] Actiivty won't launch from Eclipse

Hi all,
I have an elocity A7 Tablet running 2.2 Dexters ElocityA7 Modv1.2, full root access.
I managed to get usb ADB functionality working correctly after forcing the usb mode to client - i can run shell commands etc...
When I first attempted to launch applications from Eclipse I was getting messages stating /sbin/sh : am: not found. I finally managed to get that corrected by editing the am/pm files and creating the correct references with vi.
So now the applications finally install from Eclipse - HOWEVER - they do not launch when I attempt to run or debug. The Apps do get installed correctly, it just appears it Eclipse can't start the activity.
-USB debugging is enabled
Console output when I attempt to run:
==============================================
Code:
[2011-09-25 19:40:58 - test] Android Launch!
2011-09-25 19:40:58 - test] adb is running normally.
[2011-09-25 19:40:58 - test] Performing com.test.TestActivity activity launch
[2011-09-25 19:40:58 - test] Automatic Target Mode: using device '028041454220f4d7'
[2011-09-25 19:40:59 - test] Application already deployed. No need to reinstall.
[2011-09-25 19:40:59 - test] Starting activity com.test.TestActivity on device 028041454220f4d7
At this point nothing further happens - The logcat below just displays the debugger detaches but I don't know exactly why.
LogCat Output when I attempt to run:
==============================================
Code:
09-25 19:40:56.242: DEBUG/AndroidRuntime(12380): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
09-25 19:40:56.242: DEBUG/AndroidRuntime(12380): CheckJNI is OFF
09-25 19:40:56.242: DEBUG/dalvikvm(12380): creating instr width table
09-25 19:40:56.252: DEBUG/dalvikvm(12380): Unable to stat classpath element '/system/framework/com.nvidia.graphics.jar'
09-25 19:40:56.272: DEBUG/AndroidRuntime(12380): --- registering native functions ---
09-25 19:40:56.322: ERROR/BluetoothHidDeviceService.cpp(12380): register_android_server_BluetoothHidDeviceService: Registering HIDD Native Methods
09-25 19:40:56.402: DEBUG/AndroidRuntime(12380): Shutting down VM
09-25 19:40:56.402: DEBUG/dalvikvm(12380): Debugger has detached; object registry had 1 entries
09-25 19:40:56.412: INFO/AndroidRuntime(12380): NOTE: attach of thread 'Binder Thread #3' failed
09-25 19:40:56.592: DEBUG/dalvikvm(1331): GC_EXPLICIT freed 1088 objects / 60016 bytes in 35ms
Grateful if anyone has any ideas or can point me in a direction to determine what the cause may be? I know eclipse is configured correctly as I can launch and debug on my Sony Arc 2.3.3 - I think this might be related to a setting on the A7 system
I've narrowed it down to being a problem with my 'am' command - it's not actually doing anything. Anyone know the proper setup for the am command?
Currently this is what I have:
/sbin/am
--EMPTY-- I think this is the problem. If i delete this file however the am command is not found. Do i need to point this somewhere?
/system/bin/am
# Script to start "am" on the device, which has a very rudimentary
# shell.
#
#!/system/bin/sh
base=/system
export CLASSPATH=$base/framework/am.jar
exec app_process $base/bin com.android.commands.am.Am "[email protected]"
Wow as if - problem solved.
#!/system/bin/sh
Needs to be the FIRST line in the file.

Assistance on Issues with Android Development (Emulator -Will Pay )

Massive apologies if this isn't the correct section, I had a look across the board and couldn't really see where else to put it.
Essentially I have the code to a project, it loads in eclipse and I have everything installed and experience with working in eclipse. But lately the emulator just refuses to load the project. Usually I get a forced close message, or a disconnection etc. If anyone could perhaps get onto a live chat with me, or teamviewer, and help me out - I will gladly pay you $20 per hour of your time as I need this done asap.
This is what I get when I run the the project, if you wish to help out for free then that is also much appreciated.
[2012-02-08 20:46:46 - GoalManager] ------------------------------
[2012-02-08 20:46:46 - GoalManager] Android Launch!
[2012-02-08 20:46:46 - GoalManager] adb is running normally.
[2012-02-08 20:46:46 - GoalManager] Performing com.android.sample.goalmanager.LoginActivity activity launch
[2012-02-08 20:46:46 - GoalManager] Automatic Target Mode: launching new emulator with compatible AVD 'droidX2'
[2012-02-08 20:46:46 - GoalManager] Launching a new emulator with Virtual Device 'droidX2'
[2012-02-08 20:46:50 - Emulator] emulator: emulator window was out of view and was recentered
[2012-02-08 20:46:50 - Emulator]
[2012-02-08 20:46:50 - GoalManager] New emulator found: emulator-5554
[2012-02-08 20:46:50 - GoalManager] Waiting for HOME ('android.process.acore') to be launched...
[2012-02-08 20:46:51 - GoalManager] emulator-5554 disconnected! Cancelling 'com.android.sample.goalmanager.LoginActivity activity launch'!

Unlocking Bootloader FAILED ON EVERY TUT MENTIONED ON THESE FORUMS! [SOLVED]

This has been solved! Check at bottom for solution!
I have been looking around to find a way to unlock it simply, but nothing was possible.
I've enabled all development settings, it's SEMC SIMLOCK, it's still on R, I've even moved to other rom to try it to make it work, disabled AV, firewall, installed drivers, everything but NOTHING worked.
Here are logs (Flashtool 0.6.7.0 and generic msm7227 cmd file):
Code:
18/010/2012 01:10:57 - INFO - <- This level is successfully initialized
18/010/2012 01:10:58 - INFO - Flashtool Version 0.6.7.0 built on 2012-01-15 22:00:21
18/011/2012 01:11:06 - INFO - Device connected with USB debugging off
18/011/2012 01:11:06 - INFO - For 2011 devices line, be sure you are not in MTP mode
18/011/2012 01:11:08 - INFO - List of connected devices (Device Id) :
18/011/2012 01:11:08 - INFO - - USB\VID_0FCE&PID_2138\4342353131534C4E5235 Driver installed : true
18/011/2012 01:11:08 - INFO - - USB\VID_0FCE&PID_2138&MI_01\6&1A726446&0&0001 Driver installed : true
18/011/2012 01:11:08 - INFO - - USB\VID_0FCE&PID_2138&MI_00\6&1A726446&0&0000 Driver installed : true
18/011/2012 01:11:08 - INFO - List of ADB devices :
18/011/2012 01:11:09 - INFO - - 4342353131534C4E5235
[B]18/011/2012 01:11:09 - INFO - - emulator-5554[/B] [I]< What the hell is this!?[/I]
18/011/2012 01:11:09 - INFO - List of fastboot devices :
18/011/2012 01:11:09 - INFO - - none
Code:
process requires standard 2.x android firmware.
Press any key to continue . . .
Getting ROOT rights.
* daemon not running. starting it now *
* daemon started successfully *
error: more than one device and emulator
error: more than one device and emulator
error: more than one device and emulator
error: more than one device and emulator
Waiting ...
error: more than one device and emulator
Removing NAND MPU restrictions via SEMC backdoor. Permanent. Require ROOT rights
.
error: more than one device and emulator
error: more than one device and emulator
error: more than one device and emulator
error: more than one device and emulator
Waiting ...
error: more than one device and emulator
Getting ROOT rights.
error: more than one device and emulator
Waiting ...
error: more than one device and emulator
Writing patched semcboot. Two step process
First, we need get access to semcboot area
error: more than one device and emulator
error: more than one device and emulator
error: more than one device and emulator
Second, we need to write semcboot ;)
error: more than one device and emulator
error: more than one device and emulator
error: more than one device and emulator
Press any key to continue . . .
I really want to know how to fix this damn thing because I've wasted 5 HOURS ON THIS and NOTHING WORKED.
Here's solution: Run CMD, and run adb -e reboot (forces all emulators to reboot), and make sure you don't have any other emulators by running command "adb devices". You'll have to check 3-4 times to be sure by terminating idle adb.exe in task manager.

[Q] Debugger Errors - Any idea how to fix?

I have a rooted TF201 that is otherwise stock (.28). I was trying to load an app I'm working on to the TF201, but I'm seeing the following errors in the Android logs:
[2012-09-17 11:08:03 - xxxx] ------------------------------
[2012-09-17 11:08:03 - xxxx] Android Launch!
[2012-09-17 11:08:03 - xxxx] adb is running normally.
[2012-09-17 11:08:03 - xxxx] Performing com..xxxx activity launch
[2012-09-17 11:08:03 - xxxx] Automatic Target Mode: using device 'C4OKASxxxx'
[2012-09-17 11:08:03 - xxxx] Uploading xxxx.apk onto device 'C4OKASxxxx'
[2012-09-17 11:08:03 - xxxx] Failed to install xxxx.apk on device 'C4OKASxxxx': Not a directory
[2012-09-17 11:08:03 - xxxx] com.android.ddmlib.SyncException: Not a directory
[2012-09-17 11:08:03 - xxxx] Launch canceled!
Can anyone shed any light on how to fix this?

[Q] Android OS Restarting in Emulaor

Hi all,
I am using Ubuntu 10.04 LTS. I am very much new to android programming. I use Eclipse for development environment. I am using android sdk r21. Whenever i run an application in android emulator through eclipse, the android device restarts, please note that android emulator does not get closed but it restarts. I do not why but after 1 minute it restarts.
I have an AndroidGPSTracking project downloaded from androidhive.info. The author of the project mentions that it is running well for him and other. I have followed every direction mentioned in the website to run the project. When i run the project following console output is generated:
2012-11-28 11:00:42 - AndroidGPSTrackingActivity] New emulator found: emulator-5554
[2012-11-28 11:00:42 - AndroidGPSTrackingActivity] Waiting for HOME ('android.process.acore') to be launched...
[2012-11-28 11:01:09 - AndroidGPSTrackingActivity] HOME is up on device 'emulator-5554'
[2012-11-28 11:01:09 - AndroidGPSTrackingActivity] Uploading AndroidGPSTrackingActivity.apk onto device 'emulator-5554'
[2012-11-28 11:01:10 - AndroidGPSTrackingActivity] Installing AndroidGPSTrackingActivity.apk...
[2012-11-28 11:01:27 - AndroidGPSTrackingActivity] Success!
[2012-11-28 11:01:27 - AndroidGPSTrackingActivity] Starting activity com.example.gpstracking.AndroidGPSTrackingActivity on device emulator-5554
[2012-11-28 11:01:28 - AndroidGPSTrackingActivity] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat= [android.intent.category.LAUNCHER] cmp=com.example.gpstracking/.AndroidGPSTrackingActivity
After i run the project i use DDMS perspective in eclipse to send latitude and logitude information to android emulator.
Please help me. I am unable to undertand whether the problem lies with emulator, sdk or something else.
I have attached herewith the entire project
Regards
Yusuf:crying:

Categories

Resources