2.2.6在android上AssetsManager是nil
Closed this issue · 1 comments
goodlxs880 commented
2.2.6在android上AssetsManager是nil,CC_CURL_ENABLED := 1
APP_CPPFLAGS += -DCC_CURL_ENABLED=1
这两个都打开着
goodlxs880 commented
// load assets manager
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
luaopen_cocos2dx_httprequest_luabinding(m_state);
#else
#if CC_CURL_ENABLED > 0
luaopen_ExtensionsAssetsManager(m_state);
luaopen_cocos2dx_httprequest_luabinding(m_state);
#endif
#endif
为什么android上不 加luaopen_ExtensionsAssetsManager(m_state);