diff --git a/cocos/scripting/lua/bindings/lua_xml_http_request.cpp b/cocos/scripting/lua/bindings/lua_xml_http_request.cpp index f63e55c0b1..945b36a16a 100644 --- a/cocos/scripting/lua/bindings/lua_xml_http_request.cpp +++ b/cocos/scripting/lua/bindings/lua_xml_http_request.cpp @@ -209,10 +209,6 @@ void LuaMinXmlHttpRequest::handle_requestResponse(network::HttpClient *sender, n /** get the response data **/ std::vector *buffer = response->getResponseData(); -// for (unsigned int i = 0; i < buffer->size(); i++) -// { -// printf("%c", (*buffer)[i]); -// } char* concatenated = (char*) malloc(buffer->size() + 1); std::string s2(buffer->begin(), buffer->end()); strcpy(concatenated, s2.c_str()); diff --git a/samples/Lua/TestLua/proj.android/project.properties b/samples/Lua/TestLua/proj.android/project.properties index 94dd07f59d..0a6dc6664d 100644 --- a/samples/Lua/TestLua/proj.android/project.properties +++ b/samples/Lua/TestLua/proj.android/project.properties @@ -8,6 +8,6 @@ # project structure. # Project target. -target=android-15 +target=android-10 android.library.reference.1=../../../../cocos/2d/platform/android/java