Xamarin. Forms + Prism (1) -- Development Preparation, xamarin. formsprism

Source: Internet
Author: User

Xamarin. Forms + Prism (1) -- Development Preparation, xamarin. formsprism

This essay is mainly used to record the third-party technologies or skills used in Xamarin. Forms APP development in my project.

 

Preparation:

1. VS2017 (recommended) or VS2015;

2. JDK 1.8 or above;

3. The latest version of Xamarin. Forms;

4. Prism Extension: Open the extension and update of VS, search for Prism online, and install the first extension Prism Template Pack;

5. Android SDK. This download is very fast and supports Android environment download in China.

6. After preparing the Xamarin. Forms Program, make sure that the new Xamarin. Forms Program can be properly debugged and run without debugging. Baidu or Google can find a solution;

 

Debugging:

1. Real-machine debugging. If you have an Android phone in your hand, real-machine debugging is also a good method, because it can ensure that your program can run on a real mobile phone.

2. AVD debugging (recommended): First uninstall the Hyper-V feature (if it is already installed) and install HAXM (Hyper-V must be uninstalled before it can be successfully installed ). Open SDK Manager as an administrator. Check the following figure.

After the installation is successful, open AVD Manager and create a simulator. Note that the target image is the 6.0X86 image we just downloaded. The device pixel depends on your computer hardware configuration. The P is enough, if you have an independent graphics card, choose Use Host GPU, which will be much faster. See:

  

 

After the creation is complete, return to the main interface and click Start... to quickly run the android simulation system. The first time is a little slow, it will be very fast later. During debugging, the program is loaded quickly.

 

3. simulator provided by VS (not recommended, it is really slow): This simulator is easy to install. Open the installation package of VS and check Visual Studio Emulator For Android, then install Hyper-V (the CPU must be supported, and some PCS also need to enable the Hyper-V feature of the CPU in the BIOS), and then the system can basically run, the worst thing is that he will bring his own Android image, which is a waste of space.

Related Article

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.