cocos2d-x 开发常见问题:

更改Andriod项目的显示横屏还是竖屏问题:

打开项目中的proj.android/AndroidManifest.xml文件中,更改screenOrientation配置信息:

  screenOrientation="landscape" 为横屏,screenOrientation="portrait"为竖屏

更改名字:

  到proj.android/res/values目录下查找string.xml文件并修改

更改图标icon:

  打开proj.android/res发现有三个drawable前缀的文件夹,drawable-hdpi、drawable-mdpi、drawable-ldpi,里面存放的图片分别对应高分辨率、中分辨率和低分辨率的图片。