If you want to do the title function, you need to open the project directory build_native.sh(Notepad or editing software open)
Locate the Create Assets file
" $APP _android_root "/assets
Then write the following code:
#将工程下的sdk/orderorder.lua copied to assets/script/"$APP _android_root " under the project $APP _android_root "/assets/script/pay#Copy the SDK/client_txt.xml under the project to the project assets/data/xml/"$ App_android_root""$APP _android_root"/assets/data/xml/gameui
(The above mentioned project is Android engineering, don't confuse it!!) )
When you compile it will be overwritten!!
This approach is to solve different Android engineering different data, and we do not want to change the COCOS2D project, you can do so, in cocos, it will only access the resources under the data, and our Android Project access is assets, so, As long as we change the data under the assets can be!!!
Cocos2d-x 2.2.3 Android Project, compile when the project automatically put files under one folder under another folder