Note that there are some explanatory texts on larger screens.

plurals
  1. POADB is not starting (no error message)
    text
    copied!<p>I am trying to run adb. When I run : "adb start-server" it hangs during a while, and then no message.</p> <p>After that the command "adb get-state" receive the answer "error: protocol fault (no status)" If I run then "adb kill-server" the answer is "* server not running *"</p> <p>I am using windows 7. An admin has elevated my rights to local admin, but it did not solve anything. </p> <p>I used resources monitor to verify if any other app is using the ports of adb, but it is not the case.</p> <p>on <a href="https://developers.google.com/chrome-developer-tools/docs/remote-debugging" rel="noreferrer">https://developers.google.com/chrome-developer-tools/docs/remote-debugging</a> the step 3 indicates to "Enable USB Web debugging" under Settings > Advanced > DevTools. But on my test phone, there is no "advanced" category in the chrome settings. I couldn't find out either what is the version of chrome installed.</p> <p>Somewhere on the web I saw a suggestion to change the rights of "tmp/android/" to allow read &amp; write for all users, but in C:\Users\me\AppData\Local\Android\android-sdk\temp there is no android folder.</p> <p>So I am pretty desperate now, any help would be immensely appreciated.</p> <p>thanks</p> <p>-olivier</p> <p><strong>EDIT 1</strong>: I could't find "Enable USB Web debugging" because it was "android browser" and not chrome (a bit ridiculous yes). I did not know that. Using another device with a proper chrome installed, I could check the option there, but adb is still crashing at startup.</p> <p><strong>EDIT 2</strong>: I did a wild guess that there was some Write issue with the platform-tools folder. So I uninstalled everything using the sdk manager, I deleted the whole adt-bundle-windows-x86_64. Then I unzipped it elsewhere, on c:. Strange thing is, when I launch SDKManager.exe, several packages are already marked as installed :</p> <ul> <li>Tools>Android SDK Tools</li> <li>Tools>Android SDK Plateform-tools</li> <li>Android 4.2.2>SDK Plateform</li> <li>Android 4.2.2>ARM EABI v7a System Image</li> <li>Extras>Android Support Library</li> </ul> <p>I tried deinstall them again, delete the folder, unzip again and re-install, but still same result. It seems that somehow, it is installed wrong, but refuses to uninstall properly. Anyone knows how to force the unistallation ?</p> <p><strong>EDIT 3</strong> : output of adb start-server after having used set ADB_TRACE=1</p> <pre><code>C:\adt-bundle-windows-x86_64-20130219\sdk\platform-tools&gt;adb start-server system/core/adb/adb.c::main():Handling commandline() system/core/adb/adb_client.c::_adb_connect():_adb_connect: host:version system/core/adb/sysdeps_win32.c::socket_loopback_client():socket_loopback_client: port 5037 type tcp =&gt; fd 100 system/core/adb/transport.c::writex():writex: fd=100 len=4: 30303063 000c system/core/adb/transport.c::writex():writex: fd=100 len=12: 686f73743a76657273696f6e host:version system/core/adb/transport.c::readx():readx: fd=100 wanted=4 system/core/adb/transport.c::readx():readx: fd=100 disconnected system/core/adb/sysdeps_win32.c::adb_close():adb_close: 100(lo-client:5037) system/core/adb/adb_client.c::adb_connect():adb_connect: service host:start-server </code></pre>
 

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