"Go" configuration VS 2015 developing cross-platform mobile apps

Source: Internet
Author: User

In order to use VS 2015 to develop cross-platform mobile apps, vs 2015 Installed many times, encountered a lot of pits, and finally figured out how to configure the normal use of C # to develop mobile apps, now the steps to share to everyone, so as not to avoid detours.

Operating Environment:

Windows 10 Professional Edition 64-bit

Visual Studio Update 3 (Enterprise Edition)

1, VS 2015 installation options. The Windos for the 10 mobile template under Universal Windows application development tools must be checked and c#/under mobile development across platforms. NET (Xamarin 4.1.1) must be ticked, the Android native SDK must be ticked, the javase development kit must be checked, these few options are not available to develop the mobile app. Androd SDK Tick One, because it doesn't fit (you know). Installation takes some time and needs to be patient ...

When you are finished, view the VS 2015 version number (14.0.25431.01):

2, VS after Update 3 installation is complete, the Android SDK must not be installed (you understand), you need to download separately, I use Installer_r24.4.1-windows.exe download

Run Installer_r24.4.1-windows.exe:

3. In the Installer_r24.4.1-windows installation directory (my d:\Android) launch the SDK Manager.exe install the Android SDK:

Android SDK version More, you can choose to install, if fully loaded, the total is 155G size.

4. Start VS 2015 and select the Tools/Options menu, such as:

Find the Android setings under Xamarin, for Android SDK Loation, you need to enter your own Android SDK folder (my is E:\ANDROID\ANDROID-SDK), be sure to remember that Under your folder must have Platform-tools subfolder, and Platform-tools sub-folder has to have Adb.exe file, no error.

This is all set to complete.

5, start VS2015 new project, select Cross-platform, choose Bank App (Native Shared) template, the name is: Myfirstmobileapp, such as:

6, set Myfirstmobileapp.droid as the startup project, press F5 to run. Program startup, pop-up error prompt (e.g.):

7. This indicates that the Hyper-V Virtual Machine Management Service is not started, so open Control Panel, locate administrative Tools/services, and start the Hyper-V Virtual Machine Management Service (for example).

8. After the Hyper-V Virtual Machine Management Service starts, press F5 to run the program, such as:

9, then Android Simulator started, close the Android emulator, and set the Myfirstmobileapp.winphone project as the startup item, and then press F5 to start the wondows phone simulator, such as:

10. You should check if Hyper-V management is installed if the system cannot start the emulator and even the Hyper-V Virtual Machine Management service cannot be found. To do this, open Control Panel, find the Enable or disable Windows feature, tick Hyper-V for example:

After the completion, then kind of new back to the 7th step, start the program. If Hyper-V is not valid (cannot be checked), refer to the documentation for the Windows Phone 8 emulator system requirements to set up your machine's BIOS.

Note: The Apple emulator is not installed because there is no Apple phone.

"Go" configuration VS 2015 developing cross-platform mobile apps

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.