-1

I know this problem has already asked before a lot. I want developing application on Android device and first of all I follow this steps:

  • Downloaded SDK & Java enter image description here enter image description here
  • Adding this value to System variables:

android : C:\Program Files (x86)\Java\jdk1.7.0_40\bin;D:\ADDT\developer-tools\android-sdk2\android-sdk2\platform-tools

JAVA_HOME: C:\Program Files (x86)\Java\jdk1.7.0_40\

Path : C:\Windows\System32;C:\Program Files (x86)\OpenVPN\bin;C:\Program Files (x86)\Java\jdk1.7.0_40\bin

  • In Eclipse: I assigned this SDK path: enter image description here
  • Since I want run on real device , I set Actual device on Run configuration:

enter image description here

  • When I run program, in Console I got this:

enter image description here

  • I closed Eclipse and run cmd :

enter image description here

I connected Samsung S5 with Android 5 and I enable USB Debugging in this phone, and my OS is windows 7. What should I do?

UPDATED:

Here is my SDK Manager: enter image description here enter image description here

Farzan Najipour
  • 2,442
  • 7
  • 42
  • 81

2 Answers2

1

First thing: Add the full adb path (...\platform-tools) to the system variable 'Path'.
Second, for the 'adb out of date' issue, try to follow the answers here:
adb server is out of date

Community
  • 1
  • 1
0

Do you have the latest tolls updated from the Android SDK manager?

Asaf Pinhassi
  • 15,177
  • 12
  • 106
  • 130