Ribin Haridas
Ribin Haridas

Reputation: 1620

Cannot install android apk to emulator from command prompt

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
E:\adt-bundle-windows-x86_64-20140321\sdk\tools>adb install D:\HelloFacebookSample.apk
'adb' is not recognized as an internal or external command,
operable program or batch file.
E:\adt-bundle-windows-x86_64-20140321\sdk\tools>

This is my error please help me to solve this.

Upvotes: 1

Views: 184

Answers (2)

Shlublu
Shlublu

Reputation: 11027

adb.exe is not in your system's path, so cmd cannot find it.

It is located in \...\adt-bundle-windows-x86-20140624\sdk\platform-tools>, not in \...\adt-bundle-windows-x86_64-20140624\sdk\tools

Upvotes: 1

Gabe Sechan
Gabe Sechan

Reputation: 93542

You're in the wrong directory. There is no adb in that one, its in platform-tools, not tools. Also, you may want to add that directory to your path environment variable, so you can use it from any directory.

Upvotes: 0

Related Questions