Android will upgrade Xamarin for VS to version 4.1.0.530 Tutorial _android

Source: Internet
Author: User
Tags sha1

Introduction to the version of Xamarin for VS

The following is an introduction to the version of Xamarin for VS release:

...... Earlier version (abbreviated)

November 2015 release: Xamarin for VS 4.0.0.1717 Stable edition (surcharge)

March 2016 release: Xamarin for VS 4.0.1.145 Stable edition (surcharge)

May 2016 release: Xamarin for VS 4.0.4.4 Stable (Enterprise Edition, free)

June 2016 release: Xamarin for VS 4.1.0.530 Stable (Enterprise Edition, free)

Attention:

Since Microsoft acquired the Xamarin in February 2016 and built the Xamarin into VS2015 Update2 (Xamarin was acquired by Microsoft since May 2016, Xamarin for VS has become all free and open source), As a result, the June 2016 Xamarin for VS 4.1.0.530 no longer needs to be cracked or need a separate account, and the direct installation or upgrade is the Enterprise version. Second, install Xamarin for Visual Studio 4.1.0.530 Stable Edition

The following is the interface for installing Xamarin for Visual Studio 4.1.0.530:

If VS2015 has not been installed, download the VS2015 with Update2 directly installed.

If you have already installed VS2015 and Update2, run VS2015, tools-> option-> Xamarin, and then select Upgrade.

The following is a screenshot of the interface that runs VS2015 "Help"-> "About Microsoft Visual Studio ..." After installing Xamarin for VS 4.1.0.530:

Third, install the 32-bit version of jdk-8u60 (for Windows)

It is highly recommended that you upgrade Xamarin for vs Install the following version of the Java JDK:

Jdk-8u60-windows-i586.exe

After installation, run VS2015, "Tools"-> "Options"-> "Xamarin", modify the configuration:

Iv. Upgrading the Android SDK

The following is a screenshot of the version upgrade, where the emulator version is also upgraded:

V. Re-create a new version of the simulator

If there is a problem running the original program after the upgrade, the most thorough solution is to remove 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. new Android Project note version selection for the. NET Framework

Special note: Because of the Xamarin for VS 4.1.0.560 changes, in addition to supporting the latest Android version of the development, performance and stability and compared to the previous version has greatly improved, so the new Android project after the upgrade, you must choose. NET Framework 4.6.0 or 4.6.1, otherwise the design interface for the. axml file in the project cannot be displayed. Seven, upgrade the 3rd Chapter Baidu map Application SDK for 3.7.3 edition

This time by the way to write in C # Baidu Map SDK application also upgraded to use Baidu May 2016 released 3.7.3 edition. Baidu Speech Synthesis (TTS) also upgraded to use Baidu May 2016 released 2.2.6 edition.

A screenshot of the upgraded solution is as follows:

Note: After the upgrade, you need to modify the original account in Baidu application SHA1 value, the new version of the SHA1 and the original version of the SHA1 is not the same, if not modified, running the 3rd chapter of the Baidu Map application example will show validation errors.

After you upgrade by following the steps above, recreate the Mydemos run screenshot as follows:

Eight, Win10 visual Studio emulator for Android issues

Although the Win10 of Microsoft's Hyper-V virtual machine is very powerful and easy to use, visual Studio Emulator, launched with Hyper-V virtual machines, is for Android provides Android simulator startup faster than Google's simulator, configuration is also simple, but there are several problems did not find a solution, and finally reluctantly had to give up Hyper-V.

The problem with the Android emulator provided by Visual Studio Emulator for Android is:

(1) Baidu Map of the map layer display, zoom function is normal, and fast, but no matter how to toss, it is only show map layer, but do not show the map of the text layer. However, the same solution, the same code, is displayed correctly in the emulator provided by Google.

(2) There are no more models for Android simulators than Google offers, such as simulators without an Android watch, and no Android N version simulator. In addition, you cannot manually modify the configuration of the emulator.

(3) Hyper-V and HAXM conflict, the two can only choose one, can not be used at the same time.

Comprehensive consideration of the above factors, for Intel's CPU, currently still with Google's Android simulator and HAXM GPU Accelerator is more convenient, in the computer expansion to 8GB memory, the operation speed is also fast, upgrade simple, flexible configuration, the use is also very convenient.

For ARM CPUs, Google's Android simulator is also up to speed when the computer expands to 8GB of RAM.

However, if you do not consider the display of Baidu map or solve the problem that only show maps do not display map text annotation, and meet at least 8GB of memory requirements, under WIN10, the use of Hyper-V virtual machine launched visual Studio Emulator for Android's Android simulator is also handy (fast, the simulator can be directly connected to the Internet), and it's easy to install and run the iOS and Linux systems with virtual machines.

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.