How to add Google Play store on a custom device of AVD? - android-virtual-device

I'm trying to have a particular install of Android to test one of my clients claim (she has a bug with Chrome on her phone, that I can't myself replicate)
So I want to create a device that is the same as her phone model, a Samsung Galaxy S5. Thing is, AVD won't let me have the Google Play Store on a custom hardware created.
Is there a way to add the playstore to a device?
Its weird because the screenshot given is before even I select an Android Build, so what is preventing my hardware from being compatible with the playstore? Even cloning one that already exists with Play Store seemingly desactivates it.

Unfortunately you can't add google play to a custom device, instead you could just install devices that already have google play.

Related

Why Google Play Store is showing two devices when I try to download and open an app?

Play Store showing multiple devices
I have no idea why this is happening.

How to install app from beta track on Wear OS smartwatch?

I created a standalone smartwatch app for Wear OS. I use a Huawei Watch 2 4G for testing. I now want to have it in the beta track on Google Play Store so that users can test it. I've created some smartphone apps already and put them in the Play Store, so I'm used to the process. What I did so far:
Created entry on Google Play Console
Added a release to the open beta track
Filled all necessary stuff
Published the app and got the URL to participate in the beta test
Opened the URL while logged in with my test account and agreed to become a tester
Wiped the smartwatch and copied the same account to the watch during setup
Now I don't know how to install the app from the Play Store. On a smartphone I would simply open the URL in a browser and would be able to install it from there. What I tried so far:
Searching for the app name and for the package name on the Play Store on the smartwatch, but it can't find it.
Opening the Play Store entry in a browser and click the install button, but it says that I have no devices.
Opening the URL on the paired smartphone, but it only says that the device is not compatible.
How can I install a standalone Wear OS app that is in the open beta track on Google Play Store?
As suggest in #tofferj 's comment I simply had to wait a few more hours. I'm now able to find it by simply searching for the app name in the Play Store on the smartwatch.
Seems like the status "published" on the Google Play Console doesn't mean that it's already in the search index.

wear 2.0 app not appearing on wear play store

I am making a standalone wear app and have uploaded the wear apk in beta testing
and have also added account in tester list but still the app won't appear in
wear play store
Can someone help me with this? i m new to android wear
I assume you are tring to use a closed beta distribution mode.
If you want your app to be found by simple search on the Play Store use an openBeta instead (everybody can search your app).
However, if you still have difficulties finding your app on the watch store you can use the following method starting directly at point (3).
If you need to stick with closed beta, you need to install the app trough the browser of your PC/MAC.
Use the test link of your app:
https://play.google.com/apps/testing/{YOUR_PACKAGE_NAME}
(Make sure you are logged in to the Google Play in your browser with the Google Account you authorized as a beta tester)
Accept to become a beta tester, and click on "Download the {YOUR_APP_NAME} app on Google Play" or Search it directly in the store.
Once you are in the Google Play listing page of your app, install it by clicking on the install button and
selecting your device:

Google Play: Declaring an App is Only for TVs

I'm trying to publish an Android TV app, but the developer console is saying:
"You need to add at least 2 non-Android TV screenshots."
But this apk is only for Android TV, since there's another apk specific for tablets and phones. How can I target only Android TV?
Also, I would like to submit this particular APK only for NexusPlayer, and then add other Android TVs as the app is tested on them and the compatibility confirmed. The problem is that the developer console starts with almos 3000 devices (including tablets and phones) set as compatible by default, and I can only see a manual disable function.
EDIT
A temporary solution was to target only large and xlarge screens, reducing the number of auto-supported devices to 800. Still had to manually disable the unwanted ones, but with less overkill.
<supports-screens android:smallScreens="false"
android:normalScreens="false"
android:largeScreens="true"
android:xlargeScreens="true"
android:requiresSmallestWidthDp="720" />
Yes, you have to upload screenshots for Android TV and one other device, even if it's only for Android TV.
To limit device compatibility, make sure you have the following in your manifest:
<uses-feature android:name="android.software.leanback"
android:required="true" />
This will limit it to Android TV devices, and then you can manually limit from there as needed.
For the first part, it sounds like a limitation on the Play Console. Just upload two of the same TV screenshots that you already have uploaded and you're going to be just fine.
For the second part, I guess you need to need to go through all the 3000 devices manually. You could also restrict the range by specifying that your APK is x86-only.

How can I run chromecast sample without whitelisting

When I try to write my custom app, I am asked to white list the device. But how can I run the sample apps without whitelisting my chromecast device.
Sample apps here, https://github.com/googlecast/CastHelloText-android
First you need to add the app on your Google Cast SDK Developer Console. Once it is added, click on your application and publish the app. As stated:
When published, your application can be launched on any device. When
unpublished, your application can only be launched on your authorized
devices.
If you want to use your own receiver, you have no choice but to whitelist your device for your app (unless you decide to publish your app which is not a good idea). You can use the app id that is provided in that project and that refers to a published on but that is not your receiver anymore.

Resources