Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Windows development VS2013 environment build


May 21, 2021 CrossApp


Table of contents


If you want to do good, you must take the necessary measures first.

If we want to build a development environment in a win environment, we need the following tools, please start learning after you have to download it:
First download the CROSSSAPP engine: the newer the crossapp, the better
github address: https://github.com/9miao/CrossApp
oschina address: http://git.oschina.net/9miao/CrossApp (domestic faster).


The environmental requirements are as follows:
(1) Operating system: Windows 7 and above versions
(2) Development tools: vs2012 and above (recommended vs2013)

https://www.microsoft.com/zh-cn/download/details.aspx?id=44921

(3) Python: Python 2.7 version recommended (can be installed or not, if you want to create a new project with the command line)
The compilation to android is used
④ADT(eclipse+androidSDK): adt-bundle-windows

http://pan.baidu.com/s/1dDnvbjj

(5) androidNDK: Recommended android-ndk-r9c

http://pan.baidu.com/s/1o6KmBmq

(6) JDK: jdk for windows

http://pan.baidu.com/s/1sj8BgNr



"Two" creates a new project:

Method 1: Create with one click using the tool (no Python environment required)
CrossApp's engine directory double-clicks on the project-creator .exe
Pop up the window:
Fill in your engineering name above, fill in your Android package name below-- click OnCreate Project Now -- (Complete)

Create a project will engine the root of one more folder named: projects, we create the project, also in this directory.


Method two: Python script creation

1. Double-click to install Python
2. Configure the environment path
Right-click calculator (my computer) -- property -- advanced system settings -- environment variables -- system variables -- double-click Path --gt; add at the end of the variable value: "; C :/Python27" (quotation marks changed to your Python installation path, note that there is a sign in front of it);) ")

3. Test the python environment: python --version
Seeing the version prompts the Python environment to be configured successfully
4. Create a project
Open CMD--the engine root directory, tools,project-creator

Enter: python create_project.py - project HelloCrossApp -package com.9miao.crossapp -c languagepp

See the message that prompts for success, the project is created successfully!


Three launched a project through vs2013:

Open the project directory: s proj.win32 s HelloCrossApp .sln (the name of the project you created)
1. After starting vs2013, right-click HelloCrossApp is set to start the project
2. Right-click HelloCrossApp -- debug -- launch a new instance
3. The first start-up will wait a long time, if there is no error message, the CrossApp project window will pop up