Cocos2dx 2.2.3 compile the first apk to the Android phone, cocos2dxapk
1. android-ndk-r10 (pay attention to 32-bit and 64-bit do not go wrong, I am not a small heart wrong tossing me two days)
2. adt_201407 (eclipse has been integrated with sdks and so on)
3. Cococs2d-x 2.2.3
4. Brainless installation of python2.7, set the environment variable path, and add the python installation path to the Environment Variable
5. Create a New cocos2dx Project
Cmd
Cd G: \ DesignSoftware \ cocos2d-x-2.2.3 \ tools \ project-creator
Then create_project.py-project HelloWorld-package com. gkh. helloworld-language cpp
Next, we will find that there is another new project under the Projects directory.
6. Copy the resource file to the assets Directory.
7 copy the org folder in the path G: \ DesignSoftware \ cocos2d-x-2.2.3 \ cocos2dx \ platform \ android \ java \ src to the following path
8. Use eclipse in adt to import the new cocos2dx Project
9. Set the android sdk path
10. Set ndk cmd
11. Set ndk Environment Variables
12. Then run.
Cocos2dx-30-rc1 compilation APK Error
The deserialization of framework-res.apk requires the original file that has not been moved,
The system packages are actually compiled twice.
You decompile the file first, and then do not modify anything. Compile the file directly. If an error is reported, the file is passive.
What is the so file used when the cocos2dx win32 project is transplanted to Android?
This is a library file, which is a library file compiled by c ++ and provided for android to call.
If you still do not understand the information, you can view android ndk related information.
If you do not understand, please let me know.