新人求教:cocos2dx 3.15 移植到android 程序图片超小,不能自动调整

cocos2dx 3.15 移植到android 程序图片不能自动缩放。
网上百度多时,无解,特求教各位
可惜,不能贴图。

经过百度狂搜,得到的结果是,cocos2dx 手机适配,只支持ios, android必须要手工的缩放,我那个去,cocos2dx ,你牛

有这事?

呵呵了 你先了解了解cocos适配再说吧

我是百度傻了

AppDeleGate.cpp中的一段代吗删了就ok了,原因我也不知道
就是下面这段代码
auto frameSize = glview->getFrameSize();
// if the frame’s height is larger than the height of medium size.
if (frameSize.height > mediumResolutionSize.height)
{
director->setContentScaleFactor(MIN(largeResolutionSize.height/designResolutionSize.height, largeResolutionSize.width/designResolutionSize.width));
}
// if the frame’s height is larger than the height of small size.
else if (frameSize.height > smallResolutionSize.height)
{
director->setContentScaleFactor(MIN(mediumResolutionSize.height/designResolutionSize.height, mediumResolutionSize.width/designResolutionSize.width));
}
// if the frame’s height is smaller than the height of medium size.
else
{
director->setContentScaleFactor(MIN(smallResolutionSize.height/designResolutionSize.height, smallResolutionSize.width/designResolutionSize.width));
}

楼主是怎么移植3.15啊