Access Google Play Store APKs library from your PC
There is a simple tool allowing to access and download Google Play Store APKs; without having an Android device – directly to your PC. And with few tricks all can be adjusted to use in batch for CI Integration as CLI interface is available.
Download Raccoon, its free and simple to use, it only requires Google account credentials and entire Play Store is open to you.
But let’s talk about a sophisticated case – downloading & installing 50 apps with a single script.
After downloading the raccoon.jar a following folder/file structure is required:
- raccoon.jar -> Raccoon download engine
- app_list.txt -> list of Google Play apps
- default -> root dir for Google account and APKs
- apk_storage -> APKs will be stored here
- logs -> download sessions will be stored here
- credentials.cfg -> Google account details stored here
Here is the example format for credentials.cfg:
androidid=<random string of 16 alphanumeric characters>
userid=<Google username (without @gmail.com at the end)>
password=<password to Google account>
What’s also required is a list of the APKs to download. Each app should be listed per line in the following format:
You can find out a package name for the app by visiting the Play Store website with your browser, example:
With all information gathered with this simple command the download can begin:
java -jar <path to>/raccoon.jar -i <path to>/app_list.txt -a <path to>/default -u
After the download is completed the following script can be used to install all downloaded APKs on a device:
#!/bin/sh for FILE in ./default/apk_storage/*/*.apk do adb install $FILE done
And this is it, you are ready for app compatibility tests on your device.