3

I downloaded Android SDK with Android Studio but ADB commands do not work at all.

I added %ANDROID_HOME%\platform-tools to PATH but it doesn't help.

When I type adb start-server adb.exe appears in task manager for a second then crashes.

enter image description here
I tried this >set ADB_TRACE=1 and reinstalling but it didn't help.

Install log with error -1073741819
enter image description here
it's driving me crazy
Can someone help?

Orca
  • 33
  • 1
  • 6
  • Have you checked out: http://stackoverflow.com/questions/15663010/adb-is-not-starting-no-error-message Look at the solution that currently has 3 upvotes. It has some steps to possibly solve this. – raddevus Jan 14 '16 at 20:28
  • Yes, I tryied this. Not work(. – Orca Jan 15 '16 at 06:20
  • How about this one: http://stackoverflow.com/questions/5703550/my-eclipse-adb-server-didnt-ack-failed-to-start-daemon Further down there is an answer which shows you how to list (via command line) what apps are listening on ports. It can be that adb is trying to load on the same port that another program is already running on. – raddevus Jan 15 '16 at 13:01

2 Answers2

0

Have you tried this?

type:

echo export "PATH=~/Library/Android/sdk/platform-tools:$PATH" >> ~/.bash_profile

then close the terminal and reopen it

Adam Katz
  • 6,999
  • 11
  • 42
  • 74
0

You can Update your SDK with latest version.

Please try to uninstall & again re-install it.

Hope this will solve your problem !!

Abolee
  • 36
  • 2