Experience VS2015 Update 2 for Android and Python

Source: Internet
Author: User

Get the--xamarin of build 2016 when you don't have to work overtime on vacation. Free integration into vs

So get the VS upgrade to update 2 right away (and experience it before).

In the installation is also only checked the part, do not need too much (select all words so big, small heart can not stand)

, including some of the usual development, and Python and Xamarin related to several

After installation look at our vs and determine if it's update2

Ok!

Because I did not under the SDK (under normal circumstances seems to be under), so I get an SDK

In addition, the JDK is also to have, environment variables are also to match.

Try it out after you've done this.

New Project

After the construction is as follows

There are some prerequisites for configuring the JDK and SDK paths in the options below the tool, which need to be dealt with briefly.

Choose the JDK and SDK path for Android Settings under Xamarin!

Note: Under normal circumstances, open Hyper-V is available with Microsoft's own simulator, My Computer compares XX, in the program and function check the Hyper-V restart

is always withdrawn, so it's useless to experiment with an ADT simulator.

Configured, create a new virtual machine and then you can play.

The VS toolbar has AVD and SDK management, which is handy, and CATCHERWONG_AVD is the virtual machine I built

The virtual machine details are as follows:

Do not make any changes, start the new project to see the effect

Look at the code (the code structure is not far from the original)

Main.axml

1 <?XML version= "1.0" encoding= "Utf-8"?>2 <LinearLayoutxmlns:android= "Http://schemas.android.com/apk/res/android"3 android:orientation= "vertical"4 Android:layout_width= "Fill_parent"5 Android:layout_height= "Fill_parent">6     <Button7         Android:id= "@+id/mybutton"8 Android:layout_width= "Fill_parent"9 Android:layout_height= "Wrap_content"Ten Android:text= "@string/hello" /> One </LinearLayout>  

The text of the button is read from String.xml, let's modify

1 <?XML version= "1.0" encoding= "Utf-8"?>2 <Resources>3     <stringname= "Hello">Hello Android!!!</string>4     <stringname= "ApplicationName">Firstandroidapp</string>5 </Resources>

Run again

OK, it is the desired effect, installed force success!

As for iOS, need a Mac system to assist, can be implemented using VMware, specific introduction can see the following links

Https://developer.xamarin.com/guides/ios/getting_started/installation/windows/introduction_to_xamarin_ios_for_ visual_studio/

Here's how to develop debug Python with vs

First of all, be sure to download and install Python.

https://www.python.org/downloads/

Remember to check the VS option when installing!!!!

If you do not want to match the environment variables, then the environment variables related to the hook.

Open cmd, enter Python, and the version information will show OK.

Then build a project in VS try

Very familiar with the feeling that there is wood there.

After the build, I deleted the default generated py file, create a new empty, and then remember to set the new as the startup file

And then write the point simple

1  for inch [5,4,3,2,1,"hey! " ]:2     print

Run

Here's a look at the debug, add a breakpoint to print

  

adding monitoring to X

The familiar interface, or the familiar taste.

Experience VS2015 Update 2 for Android and Python

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.