按照Cocos2d-x.org上的文章《How to set up the Android Cocos2d-x development enviroment on Windows 7》操作,当运行程序时发生错误:
Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
请教大家这是什么原因及如何解决
版本:cocos2d-x-2.2.2
将cocos2d-x的版本改为2.2,就没有这个错误了