Environment - Visual Studio 2019, Xamarin Android SDK v11.1.0.17. Three Android platforms installed and each have Google Play installed:
Likewise, Google Play services enabled in the Tools tab:
In Android Device Manager, when I look at the settings for each device emulator, the Google Play Store is checked:
In the emulator Settings, the Google Play Services version just stays at Loading.
Any ideas why that version never resolves? The downstream affect is that I can't display Google Maps in my emulator projects.
EDIT: I am running an out of the box Microsoft sample app found here:
https://learn.microsoft.com/en-us/samples/xamarin/monodroid-samples/mapsandlocationdemo-v3/
After importing SDK 's below
SDK's in android studio
Then Android Studio version below
[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
Open AVD Manager
Pixel 2 and others below, play services coming with this emulator.
Then Play Store is active and automatically installed anymore...
It seems you do not have installed Google Play services for your emulator. You should install the 3rd last with the name Google API Intel x86 Atom _64 System Image in your Android 9.0 pie.
Sometime it even do not show the map in emulator. So you should wipe your emulator and make sure the settings you are using for emulator are present in your sdk and your project. i.e android version, google api services etc.
Related
I have updated Emulators from SDK manager and created new Virtual Device. Still having trouble with running my app from Android Studio using Google Maps API. Please help.
UPDATE:
I have fixed it by installing a Virtual Device which is 1 API lower (API 25) using x86_64. This installs the necessary Intel Atom System Image. Now I can see the Goodle Map in the emulator
There can be two ways
1: https://medium.com/#dai_shi/installing-google-play-services-on-an-android-studio-emulator-fffceb2c28a1
2: use genymotion (requires virtual box) link- https://www.genymotion.com/
Relevant Visual Studio Version Information -
Microsoft Visual Studio Community 2015 Version 14.0.23107.0 D14REL
Microsoft .NET Framework Version 4.6.00079
Visual C# 2015 00322-20000-00000-AA127 Microsoft Visual C# 2015
Windows Phone SDK 8.0 - ENU 00322-20000-00000-AA127 Windows Phone
SDK 8.0 - ENU
Microsoft Emulator version installed 10.0.26624
Although in the Device Selector in Visual Studio it says 10.0.1024.0.
If I create a new UWP (Windows Universal App) and try to deploy it to any mobile emulator is fails with
"There were deployment errors. Continue?"
Investigating the output window and error list there is absolutely nothing there.
I can deploy the application when the target is Local Machine.
Hyper V has no virtual machines registered.
Any ideas?
the information you get "Hyper V has no virtual machines registered" suggest that your Hyper-V is disabled.
Try to type in coreinfo-v.exe in your cmd to find out.
Make sure that your processor supports Virtualization otherwise there is nothing you can do.:(
If you follow this link you will find quite a lot of information how to enable Hyper-V in your computer.
It's an article for Windows phone emulator 8.1 but still quite useful.
https://msdn.microsoft.com/en-us/library/windows/apps/jj863509(v=vs.105).aspx#coreinfo
I have created a Xamarin application and compiled to Release. It was succesfully tested on an Android emulator so I decided to deploy it to a Windows Phone 8.0 Emulator.
I tried to use the Application Deployment but it cannot install because it starts the emulator that never boots, it shows OS starting (starting the emulator on its own is working).
So I downloaded it to the phone and when I try to open it, it says:
Can't install company app. There is a problem with this company app.
Contact your company's support person for help.
Why is the app considered company app? How can I install it to the emulator? What should I set?
The solution consists of two steps.
The company app issue is present because I've downloaded the application from a website, so it is unsafe (the source is the Internet). I have to install it through application deployment (via Visual Studio 2013 or the Windows Phone Application Deployment application).
The second step is to discard (and uninstall) Windows Phone 8.0 and change to Windows Phone 8.1. That helps a lot.
I'm using MonoGame to create a Windows Store game based on sprites but when I right-click my project and try to add pubCenter integration in as a connected service it doesn't have the option to add any connected services.
That being said, how would you add pubCenter Windows Ads in to MonoGame applications?
I am using Windows 8.1 and Visual Studio 2013, with the latest Advertising SDK extension installed correctly on my machine.
Whoops, looks like I forgot to set my project's Target Platform Version to Windows 8.1! Hope this helps other people out; the latest build (as of right now) enables your platform to only Windows 8 by default.
Does IBM Worklight 6.1 supports Google Maps for Windows Phone 8?
If yes, then how to integrate it in my project? (any sample if possible)
Why not do some googling on your own?
The question is not whether Worklight support it, but if Windows Phone 8 support it.
I've followed this guide (in the context of a Worklight app) and it worked for me:
Cross Platform Geolocation Mobile App in Windows Phone 8 and Android using Apache
Also read the following:
Cordova Geolocation API
Google Maps JavaScript API
Google Maps Getting Started
Here's a sample project in Worklight 6.1: Google Maps using Cordova in Windows Phone 8
After you build the project in Eclipse and opening it in Visual Studio 2012, make sure to open the WMAppManifest.xml file and verify the following required capabilities are checked: ID_CAP_LOCATION, ID_CAP_MAP.
Screen shot from Windows Phone 8 Emulator: