The problems and solutions of COCOS2DX development in WIN8 System (developing Windows Phone games)

Source: Internet
Author: User

Build a bad environment process:

1. Installing the Window SDK (version 8.0)

2. Installation VS2012 English version

Initially running our company games on Nokia 1320, the game can be installed correctly on the phone to run successfully. However, it is not possible to start debugging.

Error message:

Baidu on the internet has tried a lot of methods are unsuccessful, or has been prompted to communicate the port is occupied.

Later found that the computer installed version of the WinDOS SDK is 8.0, and the phone's system version is 8.1, so presumably is the SDK and phone system version mismatch. (wait until the SDK is downloaded to install 8.1 and then verify that this is the cause)

So I replaced the test device with Windows Phone 925, which was installed with a 8.0 version of the system, but ran the program to report another error, as follows:

According to its tip, I re-checked the phone, the phone is always in the unlocked state.

So, I had to Baidu Google, tried the following methods:

1. Start the Phone Registration tool in Windows SDK tools to verify that the phone is registered successfully.

2. Delete folder C:\Users\ user name \appdata\local\microsoft\phone Tools\corecon the following 11.0 folder (Tip:appdata This directory property is hidden)

3. In the start or close Windows feature, tick the Enable Hyper-V feature option. (In this step, you need to set the Allow CPU virtualization in the BIOS first)

4. Reload the Windows SDK

The results did not solve my problem, there is no way to find the situation, I chose to the VS and the Windows SDK all uninstall clean, re-installed. The problem was miraculously solved.

Personally, the problem may be that I did not turn on the support for CPU virtualization when I installed the Windows SDK, so the SDK installation was incomplete.

After I turned on the Support virtualization feature, I chose the repair Repair SDK and did not fix it successfully.

Recommendation: When building a bad environment later, Setup allows the CPU to virtualize and then install the SDK and vs.

The problems and solutions of COCOS2DX development in WIN8 System (developing Windows Phone games)

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.