Categories: C #, Android, VS2015 (comes with Update2), Win10
Date Created: 2016-06-10 First, about the version of Xamarin for VS
Here's a brief introduction to Xamarin for VS release:
...... Earlier version (slightly)
November 2015 release: Xamarin for VS 4.0.0.1717 stable version (charge)
March 2016 release: Xamarin for VS 4.0.1.145 stable version (charge)
May 2016 release: Xamarin for VS 4.0.4.4 Stable Edition (Enterprise Edition, free)
June 2016 release: Xamarin for VS 4.1.0.530 Stable Edition (Enterprise Edition, free)
Attention:
Since Microsoft formally acquired Xamarin in February 2016 and built Xamarin into VS2015 Update2 (Xamarin was acquired by Microsoft, Xamarin for VS has become all free and open source since May 2016), So the June 2016 release of Xamarin for VS 4.1.0.530 no longer needs to be cracked, no longer need a separate account, the direct installation or upgrade is the Enterprise version. Ii. installation of Xamarin for Visual Studio 4.1.0.530 version Stable
The following is the interface when you install Xamarin for Visual Studio 4.1.0.530:
If VS2015 is not already installed, download the VS2015 with Update2 directly to install.
If you have installed VS2015 and Update2, run VS2015, tools, Options, Xamarin, and then select Upgrade.
Below is the interface that runs VS2015 "help", "About Microsoft Visual Studio ..." After installing Xamarin for VS 4.1.0.530:
Third, install the jdk-8u60 (for Windows) 32-bit version
It is highly recommended to upgrade Xamarin for VS after installing the following Java JDK version:
Jdk-8u60-windows-i586.exe
After installation, run VS2015, tools, Options, Xamarin, modify the configuration:
Iv. Upgrading the Android SDK
The following is the version upgrade, where the version of the emulator has also been upgraded:
V. Recreate the new version of the simulator
If there is a problem with running the original program after the upgrade, the most thorough solution is to first delete the emulator that was originally created, and then rebuild the new version of the emulator.
Here is the new emulator after upgrading the Android SDK:
Vi. when creating a new Android project, note the version selection of the. NET Framework
Special note: As Xamarin for VS 4.1.0.560 changes significantly, in addition to support the latest version of Android development, performance and stability compared to the previous version of the significant increase, so when the new Android project after upgrade, you must select. NET The Framework 4.6.0 or 4.6.1, otherwise the design interface of the. axml file in the project cannot be displayed. Vii. upgrading the 3rd chapter of the Baidu Map Application SDK is 3.7. Version 3
This time by the way to write in C # Baidu Map SDK application also upgraded to use Baidu May 2016 released 3.7.3 version. Baidu Speech Synthesis (TTS) has also been upgraded to use Baidu May 2016 release 2.2. Version 6.
The following are the upgraded solutions:
Note: After the upgrade, you need to modify the original Baidu application account in the SHA1 value, the new version of the SHA1 and the original version of SHA1 is not the same, if not modified, run the 3rd chapter of the Baidu Map application example will show a validation error.
After upgrading by following the steps above, the re-created Mydemos run as follows:
Eight, WIN10 under visual Studio Emulator for Android issues
Although the WIN10 under Microsoft's own Hyper-V virtual machine is powerful and convenient to use, the visual Studio Emulator for that is launched with Hyper-V virtual machines Android offers Android simulator boot faster than Google's simulator, configuration is also simple, but there are a few problems did not find a solution, finally helpless had to abandon the hyper-V.
The problem with the Android emulator provided by Visual Studio Emulator for Android is:
(1) After the map layer of the Baidu map is displayed, the zoom function is normal, and the speed of operation is very fast, however, it is to show only the map layer, but does not display the text layer in the map. However, the same solution, the same code, appears normal in the simulator provided by Google.
(2) There are not many Android simulator models provided by Google, such as the simulator without Android watch, or Android N version. In addition, you cannot manually modify the configuration of the emulator.
(3) Hyper-V and HAXM conflicts, both of which can only be selected and cannot be used simultaneously.
Considering the above factors, for Intel's CPU, it is convenient to use the Android simulator provided by Google and the GPU accelerator of HAXM, while the computer expands to 8GB memory, the running speed is also fast, the upgrade is simple, the configuration is flexible and the use is convenient.
For ARM CPUs, the Android simulator provided by Google can be as fast as the computer expands to 8GB of memory.
However, if you do not take into account the Baidu map display problem or solve the problem only show map text callout, and meet at least 8GB memory requirements, in the case of WIN10 using Hyper-V virtual machine launched visual Studio Emulator for Android's Android simulator is handy (fast, the simulator can also be connected to the Internet), and it's easy to install and run iOS and Linux systems with virtual machines.
Android will upgrade Xamarin for VS to 4.1. Version 0.530