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?
Related
I've got ADB 1.0.26 running on my Windows 7 x64 and Eclipse SDK 3.6.2 with ADT 10.0.1 SDK tools r10, and I've got all the Android SDK versions installed.
When I connect my phone to the computer in debug mode, and type `adb devices` into the command prompt, my phone shows up. It's an Inspire 4G. I can `adb shell` into the device and `ls`, so I'm assuming that the adb/driver/phone part of the chain is working properly.
Now, if I connect my phone and go into Eclipse, I get:
[2011-03-28 17:46:33 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host
[2011-03-28 17:46:34 - DeviceMonitor]Connection attempts: 1
[2011-03-28 17:46:36 - DeviceMonitor]Connection attempts: 2
Click to expand...
Click to collapse
[...etc...]
[2011-03-28 17:47:53 - DeviceMonitor]Connection attempts: 10
[2011-03-28 17:46:54 - DeviceMonitor]Connection attempts: 11
[2011-03-28 17:47:00 - adb]
[2011-03-28 17:47:00 - adb]This application has requested the Runtime to terminate it in an unusual way.
[2011-03-28 17:47:00 - adb]Please contact the application's support team for more information.
[2011-03-28 17:47:04 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host
[2011-03-28 17:47:05 - DeviceMonitor]Connection attempts: 1
[2011-03-28 17:47:07 - DeviceMonitor]Connection attempts: 2
Click to expand...
Click to collapse
etc, etc... This loops forever.
It doesn't matter if I start Eclipse and then connect the phone, or if I connect the phone and then start Eclipse.
I don't think it should matter, but my phone is an Inspire 4G which is rooted and running Revolution 4G 3.2
As suggested somewhere else, I've tried resetting ADB in DDMS but that has no effect.
i have the same problem... can anyone help me please?
This happens to me too sometimes.
To solve this I have to this:
- close the IDE (in your case Eclipse... )
- open up cmd, and type: adb kill-server
- Start Eclipse and it should work again
http://code.google.com/p/android/issues/detail?id=12141
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.
Hello guys, I have a little problem with developing apps in my phone.
I installed Stock Android 4.1.2 v4 for my Xperia U ST25i ( http://forum.xda-developers.com/showthread.php?t=2284394 ) (I wanted to post this issue in this thread but i'm new here and I just can't... anyways, rules are rules), and i'm have some issues when I want test APK's in my phone via ADB or Eclipse-ADT.
When I click excecute ( or do adb install), the process will fail, showing me that:
Code:
[2013-07-23 16:40:48 - AWifiSignal] ------------------------------
[2013-07-23 16:40:48 - AWifiSignal] Android Launch!
[2013-07-23 16:40:48 - AWifiSignal] adb is running normally.
[2013-07-23 16:40:48 - AWifiSignal] Performing net.elsemieni.awifisignal.SplashActivity activity launch
[2013-07-23 16:40:48 - AWifiSignal] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2013-07-23 16:40:51 - AWifiSignal] WARNING: Unknown device API version!
[2013-07-23 16:40:51 - AWifiSignal] Uploading AWifiSignal.apk onto device 'YT9002B59S'
[2013-07-23 16:40:52 - AWifiSignal] Installing AWifiSignal.apk...
[2013-07-23 16:40:53 - AWifiSignal] Installation failed due to invalid APK file!
[2013-07-23 16:40:53 - AWifiSignal] Please check logcat output for more details.
[2013-07-23 16:40:53 - AWifiSignal] Launch canceled!
In simple words, doesn't install beacuse [INSTALL_FAILED_INVALID_APK] error code.
Of course, i have Debugging activated in my phone and install 3rd party applications.
By the way, Logcat gives me that
Code:
07-21 18:05:23.663: W/zipro(25492): Unable to open zip '/data/local/tmp/AWifiSignal.apk': Permission denied
07-21 18:05:23.673: W/PackageParser(25492): Unable to read AndroidManifest.xml of /data/local/tmp/AWifiSignal.apk
That's curious I can't write inside it. I searched the forums and I applied a workaroud solution (http://forum.xda-developers.com/showthread.php?p=40040546&postcount=4), to make a link from tmp to sdcard folder. It worked in this way, but ruined the phone sys after reboot ( crashes randomly, most critical app's frezzes, etc), so doesn't work.
I know that's a firmware bug, but... any ideas about this? There's another workaround to make tmp safely writable, or any way to change the folder who ADB uses to install apps remotely?
Thanks! :laugh:
Hello-
I am trying to update my HTC Titan from Windows Phone 7.5 to 7.8 and am receiving error code 8007013.
The only method for updating I have attempted is using the SevenEighter tool from http://windowsphonehacker.com/articles/want_windows_phone_7.8_now_try_this_easy_tool-01-31-13
I have performed a factory reset and still receive the error when attempting to update.
I have found mentions of the issue in this thread, but did not find a resolution: [CAB] Official WP7 Updates List up to WP 7.8 + ALL LANGUAGES complete + OEM updates http://forum.xda-developers.com/showthread.php?t=1306415
The problem is referenced in this thread: [SOLVED] 80070013 error while updating to 7740 http://forum.xda-developers.com/showthread.php?t=1435745 however, the solution is apparently found at http://forum.xda-developers.com/showthread.php?t=1334468, which does not exist.
I have found an archive for thread 1334468 via the Wayback Machine: [ROM]Eternity Shipped ROM Collection http://web.archive.org/web/20111124033746/http://forum.xda-developers.com/showthread.php?t=1334468 however:
1.) I do not understand the instructions located in this thread.
2.) As the thread has been deleted, so have the attachments.
3.) The referenced attachments are apparently only for European handsets. Mine is from the United States.
I do not appear able to get past this on my own, and would appreciate any help from the community. Thank you.
Log entries for most recent attempt
UpdateWP.exe Information: 0 : 3/9/2014 12:26:04 PM: Device Manager Initializing
UpdateWP.exe Information: 0 : 3/9/2014 12:26:04 PM: Device Manager Initialized
UpdateWP.exe Information: 0 : zune-tuner://windowsphone/2ead28ff%20-%207a54c5d5%20-%20961a12ae%20-%20937d942b
UpdateWP.exe Information: 0 : 3/9/2014 12:26:05 PM: Device 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b Executing Downloading updates 0%
UpdateWP.exe Information: 0 : 3/9/2014 12:26:07 PM: Device 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b Executing Transferring updates 23%
UpdateWP.exe Information: 0 : 3/9/2014 12:26:07 PM: Device 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b Executing Transferring updates 47%
UpdateWP.exe Information: 0 : 3/9/2014 12:26:07 PM: Device 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b Executing Transferring updates 70%
UpdateWP.exe Information: 0 : 3/9/2014 12:26:07 PM: Device 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b Executing Transferring updates 94%
UpdateWP.exe Information: 0 : 3/9/2014 12:26:07 PM: Device 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b Executing Transferring updates 100%
UpdateWP.exe Information: 0 : 3/9/2014 12:26:07 PM: Device 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b Executing Preparing to install 0%
UpdateWP.exe Information: 0 : 3/9/2014 12:26:09 PM: Device 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b Executing Restarting your phone 0%
UpdateWP.exe Information: 0 : 3/9/2014 12:26:09 PM: Waiting for reboot
UpdateWP.exe Information: 0 : 3/9/2014 12:26:15 PM: Device Removal: 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b
UpdateWP.exe Information: 0 : 3/9/2014 12:26:15 PM: Receive Removal Event!
UpdateWP.exe Information: 0 : 3/9/2014 12:26:30 PM: Device Arrival: 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b
UpdateWP.exe Information: 0 : 3/9/2014 12:26:30 PM: Receive Arrival Event!
UpdateWP.exe Information: 0 : zune-tuner://windowsphone/2ead28ff%20-%207a54c5d5%20-%20961a12ae%20-%20937d942b
UpdateWP.exe Information: 0 : 3/9/2014 12:26:32 PM: Device 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b Executing Installing updates 0%
UpdateWP.exe Information: 0 : 3/9/2014 12:26:38 PM: Device 2ead28ff - 7a54c5d5 - 961a12ae - 937d942b Update Error 80070013 An unexpected error has occurred.%
More information
Here is another thread which states the problem is solved:
(SOLVED) Error 80070013 when installing update? Check your serial number http://forum.xda-developers.com/showthread.php?t=1481445
However, the solutions appear to be dependent on http://www.htc.com/www/help/htc-titan/#download, which does not work, and, once again, thread 1334468, which does not exist.
It appears what I need to be able to do is "flash Eternity_Cingular_US_1.10.502.04_Radio_16.23.02.2 6 _A_16.27.00.23_Signed_ETERNITY_RELEASE.nbh" however I do not know how to do this, and do not know where I can get this file.
Found the file from HTC
I found the patch from HTC by viewing the page source of an archived page:
dl4.htc.com/managed-assets/support/software/rom-code/htc-titan-zune-RUU/spl_2.6.160015.3_WWE.exe
I have also found the following instructions:
<strong>Release Date: </strong>2012-05-04
<p>This update for HTC TITAN will let your phone to be successfully upgraded via Zune. (Microsoft Zune Error Code: 80070013 / 8007000F)</p>
<h4>Requirements:</h4>
<br /> <ol>
<li> PC installed with Zune</li>
<li> Battery Capacity: At least 35%</li>
<li> OS Version: 7720 (7.10.7720.68) or later version</li>
</ol><br />
<h4>Installation Instructions:</h4>
<br /><br /> Follow the instructions below to download and install the update on your phone:<br /><br /> <ol>
<li>From your phone device:<br /> (a). With the phone turned off, press and hold the VOLUME DOWN and VOLUME UP buttons, and then briefly press the POWER button.<br /> (b). Release the VOLUME DOWN and VOLUME UP button after you see the white screen with "security" on left-upper corner.</li>
<br />
<li>Use the USB cable to connect your phone with computer, You will see "USB" shown on screen of the phone. </li>
<br />
<li>From your computer:<br /> (a). Click Download which is located at the bottom of this page to download this update (spl_2.6.160015.3_xxx.exe) onto your computer.<br /> (b). Start the software update by executing the download file (spl_2.6.160015.3_xxx.exe), and follow the on-screen instructions.</li>
I will attempt this and report the results.
Success
All updates have been successful. The phone had been running 7.10.7740, essentially the original Mango release from September 2011. No update available from Zune, no update available from AT&T. Ridiculous. There were so many updates pending the whole process took 40 minutes.
Huge thanks to everyone who contributed to the threads and tools I used to finally crack this nut.
Hopefully this thread will help other stragglers such as myself.
successful Titan II WP 7.8 load
Just wanted to chime in and report a successful update. I followed the procedure at Windows Central http://forums.windowscentral.com/htc-titan-ii/214875-2.htm "ATT Titan II updated to 7.8." This process uses the Seven-Eighter update tool, which even worked through a Parallels virtual machine. Just follow the steps and voila!
I had tried the cab moving method, and that only gave me a set of errors, regardless of what I tried to do. I also tried the "trick Zune" method of quick disconnect of the network connection with no dice. With the Seven-Eighter update tool, it worked as advertised after two false starts, one where the connection timed out (due to Parallels asking me "which OS do you want to connect this device to"). Six updates loaded onto my phone...
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