PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, September 11, 2022

[FIXED] Why can't I cross compile?

 September 11, 2022     cocos2d-x-3.0, cross-platform, visual-studio     No comments   

Issue

I use Cocos2d 3.16 (cocos2d-x-3.16 and Visual Studio 2015.

I developed a game in Visual Studio 2015. I want to transplant it to the phone to play, but I found that the cross compilation could not complete! I've tried the solution I know, like modifying file android.mk, but it's still not resolved.

In desperation, I created a new project, but it did nothing. I cross compiled directly, but it did not work. I was frustrated. I remember clearly, just last week it was all good, because we had been cross compiling a couple APKs. Why is it not okay today?

Error message:

Error


Solution

This problem has been solved with the help of the domestic compatriots. The reason is simple: There is an invalid character "-" in the file of "AndroidManifest.xml". As stated in the question, the red box (originally, because I don't understand the English reason) I only use browser search to translate the contents of the red box, but not translation from the nearest word! It is my laziness and negligence. I deserved it!



Answered By - xiaomeng.fan
Answer Checked By - Timothy Miller (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

1,216,715

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © 2025 PHPFixing