The source code downloaded by Xamarin GitHub cannot run. xamaringithub

Source: Internet
Author: User

The source code downloaded by Xamarin GitHub cannot run. xamaringithub

Xamarin beginners, a variety of tossing, probably the company's broken computer configuration is poor, always a lot of problems.

GitHub is really a good thing. You can refer to other people's work, but it won't work after downloading it. For this reason, I have reinstalled my computer twice. It takes about 10 minutes to install win10.

Problem 1: no project is selected for this solution configuration

The cause of this problem is too difficult to find. It may be a bug in copying the project solution.

Solution:

Solution Explorer-right-click solution> properties to open the solution properties page-configure Properties

Check the deployment of the android project.-OK.

 

Problem 2: The simulator runs normally, but the application is deploy (debugged) to enable the app crash.

This problem may be affected by several factors.

① Open the properties of the project (Android Project). The lowest Android version must be equal to or lower than the version of the current running simulator.

For the target Android system, I chose to use the SDK version for compilation (this 'usage is awkward. '). I am too lazy to care about the difference. Most versions can be run.

 

② Android option-Packaging

Uncheck "use shared RunTime"

Some projects package the App and install it on your mobile phone. The simulator cannot run. Because you need to deselect the "use shared RunTime" check box for packaging the App, and the simulator runs after packaging.

 

Sure enough, you have to be confused when learning a relatively partial course.

If the problem persists, you can try to select the supported architecture for all advanced properties.

 

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.