Play services 9.+ don't install wear app - wear-os

I have an application with a wear and a handheld side.
Before the update:
compile 'com.google.android.gms:play-services-wearable:7.8.0'
compile 'com.google.android.gms:play-services-location:7.8.0'
After the update:
compile 'com.google.android.gms:play-services-wearable:9.0.2'
compile 'com.google.android.gms:play-services-location:9.0.2'
When I've updated the gradle with the last google play services version the application is not installed on the watch anymore. Does anyone know if there is a different requirement to automate the process of installing the application on the watch?

The watch app only gets installed if the watch has the required Google play services.
This changed recently. Maybe 9.0 or maybe it's android wear 1.5 doing the check. it used to install no matter the version before.
This is a common problem at the moment, a few users having trouble updateing their watches to greater than 9.0. there's even a g+ post on the android wear developer community asking for bug reports to help fix the problem.

Related

Xamarin Android target version

I am receiving the error message below when trying to release a Xamarin Android app on the Play Developer Console
Upload failed
Your app currently targets API level 26 and must target
at least API level 28 to ensure that it is built on the latest APIs
optimised for security and performance. Change your app's target API
level to at least 28. Find out how.
I have the following settings in VS for Mac
Also, all of the Xamarin.Android libraries that I am using are v28.0.0.3.
It must be an issue with your Android support libraries or the version. Can you ensure the below and try to publish it with a new version?
Ensure the latest SDK (API level 28) is installed in your Android SDK Manager
Ensure you have the latest Android Support libraries and Build tools installed.
Set your Android Target version to API level 28 and Minimum Android version to something lesser than that.
Following points you should note:
When Google play talks about target Android version it is talking about the Target Framework in your Android Project Properties.
The error message that you are getting has nothing to do with what version of support libraries that you have. But when you target the latest version you might want to have the support libraries of the same version.
Adding all the SDK's that your Android app is going to support is recommended which means if you Min Android support version is 21 per se and you want to target the latest version then make sure that your Android SDK has all these sdks's so that there are no issues while parsing your APK in the desired version.
I wouldn't recommend that your min Android version is set to version 9 because of the fact 90% of the devices do not have this version of SDK which means none of them will be able to install or use your APP. Which if you ask me should never be the case. Supporting the widest possible audience is always the best call.
After making the above changes your app should work fine. Feel free to get back to me if you have any questions or queries...

Xamarin Android Emulator with Maps

I want to run local test of an app using the Android Emulator within Visual Studio 17. It works great using the Visual Studio Emulator for Android and the app is almost complete.
However I need to add a map with a few pins and I have this working and tested on my PC using the UWP app. However trying to run on the Android emulator there is no Maps as there is no play store.
I have googled lots and found lots of things to try but none seem to work and I notice that the latest of all the pages and blogs I have read are dated 2015 so in software terms and indeed Xamarin they are very old.
So if I want to test the maps part of my app what is the best way if I can't get the Emulator to run with maps or am I missing some fancy new tool to test with other than shipping the app and hoping that it works in the wild?
Thanks
Cliff.
You cannot see the map as Visual studio emulators for Android do not have google play services installed by default. In order to test and see your map, you should install google play services in the android emulator.
You can do this by installing gapps on your emulator which provides you with google play services functionallity. The installation is just a drag and drop in the emulator. After installing this packge, you could use maps on the emulator.
I would create a new Android VM in that process you can tell it to add the google store to the android VM

Issue with Fabric Unity setup. Cannot get past 1st step

I've been trying to setup Fabric on my unity project for analytics and fastlane, but it will not get past Step 1 of the setup.
I have Unity 5.6.3f1 and the plugin installation got through without a hitch on Unity, but it's like the dashboard will not recognize the installation.
I also installed (and reinstalled multiple times) Android Studio with the Android SDK and still nothing.
As per the instructions from Unity, I Built my prototype and ran it on my phone and it worked OK, but still no progress on the Setup.
The Android SDK and JDK point to the correct file path on Unity's preferences as well.
I wanted to try to reinstall the Fabric plugin, but the uninstall instructions on the site's knowledge base is only applicable for Macs and I use a PC. I don't have an option to "quit fabric" nor does it appear in my Android SDK plugin list.
I'm not too sure what to do next.
If I'm missing any info, please let me know.
Thanks!
Edit: forgot to add the screenshot
Screenshot: https://imgur.com/a/JOQuP

How to install Google Play Service in Xamarin Android Player

How to install Google Play Service in Xamarin Android Player. I have found the link https://university.xamarin.com/resources/how-to-install-google-play-on-android-emulator which does not work in windows. It does not allow me to drop the Google Play Services .zip file from www.teamandroid.com/gapps/ .Any suggestion or link please.
Thanks!
I would recommend to use the android emulator that ships with the current version of Android Studio (by now 2.1). Google did a good job and a major overhaul with that version. It now is as fast as Genymotion or the Xamarin Android Player. Plus it as Google services support build in.

Basic Android App not working on Xamarin Android Player via VS2015

I have been trying to run basic Android App provided by Visual Studio 2015 via XAMARIN Android Player. Program gets build and deployed successfully, yet, App or anything does not appear on screen. Xamarin Player takes more than 20 mins to start and then nothing happens. Find Screenshots as well.
WIthin the Android SDK Manager look under Extras there is an package called Intel x86 Emulator Accelerator (HAXM Installer). Installing HAXM will increase the speed of the emulator when you use the Intel Atom CPU/ABI
Also when creating the emulator device check Use Host GPU for increaded performance.
I ran into few issues with Xamarin Android Player as well. Currently I am using Genymotion Emulator and it is much faster.
Well, Well, Well, I got my thing up and running. Following are the steps I performed:
After installing Xamarin for VS2015, I checked for latest Android SDK via SDK Manager. Got all the necessary updates installed.
Installed Xamarin Android Player and used emulator Nexus 5 KitKat API level 19.
Earlier I was using Nexus 5 Lollipop, was the reason why, it was not working. May be its not fixed for buil yet.
As, described by Mr.Pilatus in above answer, the particular HAXM things surely does help in accelerating emulator.
Got my Android app running.
Thank you all for all the necessary suggestion and guiding my in my baby steps in XAMARIN development. Gracias. NAMASTE!

Resources