Useful Commands for Androids
I have listed some commands that are useful when using the emulator
1. Installing packages:
Run Emulator from explorer
- \android\tools\emulator.exe
Go to the directory where package exists
- adb install $APK <== $APK is the name of the package
2. Deleting the packages from the emulator
Run the Linux Shell from the command prompt
- adb shell
Go to the app directory
-cd data/app
Remove packages
-rm *.apk (remove all packages)
3. Telnet to the emulator
Go to the command prompt
- telnet localhost <== usuall it's 5554 (Confirm your emulator - written on the top-left side
telnet localhost 5554
1. Installing packages:
Run Emulator from explorer
- \android\tools\emulator.exe
Go to the directory where package exists
- adb install $APK <== $APK is the name of the package
2. Deleting the packages from the emulator
Run the Linux Shell from the command prompt
- adb shell
Go to the app directory
-cd data/app
Remove packages
-rm *.apk (remove all packages)
3. Telnet to the emulator
Go to the command prompt
- telnet localhost
telnet localhost 5554
コメント
コメントを投稿