I want to install apk on my emulator, I found this page how to install apk and This thread
and my problem is when I type adb in my command line I got this:
'adb' is not recognized as an internal or external commands
i set the path
on windows advance, the path is the tool director in my sdk directory
, I mean the path I set is C:\Program Files (x86)\Android\android-sdk\tools
, I am working on windows 7
Case 2: If adb is present This generally occurs if the platform-tools are not installed properly. Reinstalling the platform tools might fix this problem. Open Android Studio, click SDK Manager in the toolbar or click Tools > SDK Manager, click SDK Tools, then uncheck Android-SDK Platform-Tools (as shown above).
Open a command window in the folder by holding shift and right-clicking in an empty spot in the folder and selecting "Open command prompt/PowerShell here" in the menu. Then you can start using ADB — connect your phone and try . ADB devices to see if it's working. A list with attached devices should show up.
Appearance & Behaviour --> System Settings --> Android SDK You can get the path where SDK is installed and can edit the location as well. Show activity on this post. Type adb shell. Now able to access adb and the db.
Enable adb debugging on your device To make it visible, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options at the bottom. On some devices, the Developer options screen might be located or named differently. You can now connect your device with USB.
First add your Android SDK path like "C:\Android\android-sdk\platform-tools"
to your OS path
Second use this command to restart adb:
adb kill-server
adb start-server
Try this
First chage your current directory to platform-tools
cd C:\Program Files\Android\android-sdk\platform-tools
Then install your apk on emulator
adb install "<Path to your apk file>"
for example
adb install "c:\Apps\abc.apk"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With