What is Android ?
Android is a mobile operating system developed by Google in 2008.
Steps to Setup Android on Windows Operating System
Latest version of Android : Android Marshmallow
Upcoming Version of Android : N
Some basic commands of Android :-
adb stands for android debug bridge
apkstands for android application package
Some basic commands of Android :-
To know about the overall information of an Android application
If you wants to know about the overall information of an android application you have to use command aapt dump badging “full path of the application”.
If the path of aapt is not configured , you have to pass the full path of aapt which is available in SDK–>build-tools–>API Version
e.g.
D:/android-sdk-windows/build-tools/22.0.1>aapt dump badging C:/Users/Keshav/Downloads/Latest.apk
The output of the above command contains package name of the application, and activity name of the application.
Package Name of the application : package: name=’com.game’
Activity Name of the application : launchable-activity: name=’com.game.activity.SplashActivity’
To know the list of attached Android Devices with the System
If you wants to know the list of attached devices with your system, you have to use adb devices command.
adb devices : It will display the list of attached devices to the system.
To transfer a file into Android Device
adb push : If you wants to transfer a file into an android device using command then you can use adb push command in which you have to pass full path of the file you’re pushing, and the full path to where you want to put it. adb push Path_of_file_you_pushing Place_of_file_where_you_are_pushing e.g. adb push Latest.apk/sdcard/apk/
To transfer a file from Android Device
adb pull : If you wants to transfer a file into an android device using command then you can use adb push command in which you have to pass full path of the file you’re pushing, and the full path to where you want to put it. adb push Path_of_file_you_pushing Place_of_file_where_you_are_pushing e.g. adb pull sdcard/apk/Latest.apk C:\Users\Keshav\Desktop
To Install an application :-
To install an application into an android device, we have to use adb install “Path of the application” command.
adb install path_of_the_application e.g. C:\Users\Keshav>adb install C\:Users\Keshav\Downloads\Latest.apk
To Un-Install an application :-
To uninstall an application from an android device, we have to use adb uninstall “Package name of the application” command.
adb uninstall package_name_of_the_application e.g. adb uninstall com.shopclues
To know about the complete log of the application:-
If you wants to know the log of the android device , you have to use adb logcat command. It returns the logs of running events in the android system.
adb logcat