Google Play Store Download App Free In Jio Phone Install
Google Play Store Download App Free In Jio Phone Install
Recently I was testing some Google Play Store related functionality in different emulators and I realised that it is a bit tricky to install Google Play in some emulators.
It is easy to install Google Play Store for API 24 and above as we can directly select an emulator that has Google Play from the AVD manager.
               
            
For emulators using API 23 and below it becomes a bit tricky as we cannot directly install an emulator from Android Studio that has Google Play installed.
In this blog post, we will see how we can install Google Play in those emulators.
Let's begin
We need to download the required packages to install Google Play in the emulator based on our specifications from this site.
               
            
We can specify the CPU architecture and Android version of our emulator before we download the zip file.
After you decompress the zip file, you need to open the          Core          folder. The files that we need are highlighted in the screenshot.
               
            
You will notice that the files have          tar.lz          extension, to decompress them you can          cd          into the          Core          folder and use the following command to decompress the required files. You may need to install          lzip          to do that.
          tar -xf vending-x86.tar.lz                               
            
These are the four folders that we require to install Google Play. Each of these folders has one          APK          in them. Based on the configurations of your emulator you may or may not require all of them.
We can check that right now. Let's enter the          adb          shell and check for the privileged apps directory using the following commands.
adb shell ls system/priv-app
               
            
As you can see in the screenshot above I already have          APKs          related to Google services installed in my emulator so I only need to install one          APK          that is inside the          vending-x86          folder with the name          Phonesky.apk.
Press Ctrl+D to exit the          adb          shell 😉
Now we just have to push this          APK          to our emulator and we are done.
We need to use the following command to start our emulator.
          $ANDROID_HOME/tools/emulator @avd_name -writable-system                We provide the name of our emulator and this command will open the emulator in a writable environment. Otherwise, the next command will fail.
          adb remount                This command will make          /system          partition of your emulator writable(By default it is readable). Now we can push the          APK          to the emulator using the following command.
          adb push ~/Phonesky.apk /system/priv-app/                We provide the path to our          APK          and this command will copy it to          /system/priv-app/          directory in the emulator.
Next we need to restart our emulator. We can use the following commands to do that.
          adb shell stop && adb shell start                Now, as soon as your emulator restarts you should be able to see the Google Play Store icon in the apps drawer. You can use it to download apps in the emulator or test any other functionality that you require.
               
            
I hope you were able to follow all the commands mentioned in this article if you faced any difficulties feel free to reach out to me.
Thanks for reading! If you enjoyed this story, please click the 👏 button and share it to help others!
If you have any kind of feedback, feel free to connect with me on Twitter .
Source: https://proandroiddev.com/install-google-play-store-in-an-android-emulator-82cd183fefed
Posted by: steinergothaden.blogspot.com
0 Response to "Google Play Store Download App Free In Jio Phone Install"
Post a Comment