You can download android apk file from Google play Store using browser plugin and website. In this tutorial, I am going show, how to download android apk file from Google Play Store using a website
Download an android apk file from Google Play Store:
1. Go to the Play Store and find the app you want to download and copy the app's URL address from the browser's address bar.
Create a Appium Java project in IntelliJ Idea
1. Open IntelliJ Idea, File --> New --> Project
Select 'Java' from left sidebar, Set jdk path and Click 'Next' button
Click 'Next' button
Enter Project name and set desired Project location which wants to save project, finally, Click 'Finish' button
Add Appium Java Client and Selenium Standalone Server jar as external libraries
File --> Project Structure : Select 'libraries' from left sidebar. Click '+' to add Appium Java Client and Selenium Standalone Server jar as external libraries
After starting Genymotion emulator, run 'adb devices' command in terminal to get Genymotion emulator deviceName
Run 'appium' command in terminal to start Appium and also get ip:portnumer
Create a folder name like 'sdk' in your desired location like 'Home' and extract downloaded sdk tools under sdk folder, then Open terminal (Ctrl+Alt+T) and navigate to tools folder
Type below command for executable permission
sudo chmod a+x android
run the command to update desired API version
./android
Select desired API version then click on 'Install packages'
Note: It will take time to update
3. Configure Android Home variable
Run the command
nano ~/.bashrc
Add Android Home variable at the end of line
export ANDROID_HOME=/home/jannat/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
Save Android Home variable
Press: Ctrl+O then Enter
Type 'android' command on terminal: Android SDK Manager shows if properly configured
Appium installation
Run the below command in terminal to get appium
sudo npm install -g appium
Run the below command in terminal to get appium client