{"action":"created","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/18569","repository_url":"https://api.github.com/repos/cocos2d/cocos2d-x","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/18569/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/18569/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/18569/events","html_url":"https://github.com/cocos2d/cocos2d-x/issues/18569","id":282642422,"number":18569,"title":"build error only on arm64-v8a","user":{"login":"CodeMasterYi","id":10430162,"avatar_url":"https://avatars1.githubusercontent.com/u/10430162?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeMasterYi","html_url":"https://github.com/CodeMasterYi","followers_url":"https://api.github.com/users/CodeMasterYi/followers","following_url":"https://api.github.com/users/CodeMasterYi/following{/other_user}","gists_url":"https://api.github.com/users/CodeMasterYi/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeMasterYi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeMasterYi/subscriptions","organizations_url":"https://api.github.com/users/CodeMasterYi/orgs","repos_url":"https://api.github.com/users/CodeMasterYi/repos","events_url":"https://api.github.com/users/CodeMasterYi/events{/privacy}","received_events_url":"https://api.github.com/users/CodeMasterYi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-16T18:47:00Z","updated_at":"2017-12-18T09:26:18Z","closed_at":null,"author_association":"NONE","body":"- cocos2d-x version: 3.16\r\n- devices test on: mac air (OSX 10.13.2)\r\n- developing environments\r\n   - NDK version: latest(ndk bundle in android sdk)\r\n\r\nSteps to Reproduce:\r\n\r\n1. add abi arm64-v8a\r\n2. build with Android Studio\r\n3. then we will see this:\r\n![4f3941c7-6240-42e4-b58e-889bda4911bd](https://user-images.githubusercontent.com/10430162/34073362-1e01bfea-e2d3-11e7-8394-6095563f395f.png)\r\n\r\nbut we won't see this error on armeabi-v7a, & x86.\r\nI can not figure out why this happen! =.=\r\ncertainly, we can simpply add this to avoid this error:\r\n```\r\n#include <cstring>\r\n```\r\n\r\n(PS: i only build my project on these ABIs)"},"comment":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/comments/352370911","html_url":"https://github.com/cocos2d/cocos2d-x/issues/18569#issuecomment-352370911","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/18569","id":352370911,"user":{"login":"drelaptop","id":26329291,"avatar_url":"https://avatars3.githubusercontent.com/u/26329291?v=4","gravatar_id":"","url":"https://api.github.com/users/drelaptop","html_url":"https://github.com/drelaptop","followers_url":"https://api.github.com/users/drelaptop/followers","following_url":"https://api.github.com/users/drelaptop/following{/other_user}","gists_url":"https://api.github.com/users/drelaptop/gists{/gist_id}","starred_url":"https://api.github.com/users/drelaptop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drelaptop/subscriptions","organizations_url":"https://api.github.com/users/drelaptop/orgs","repos_url":"https://api.github.com/users/drelaptop/repos","events_url":"https://api.github.com/users/drelaptop/events{/privacy}","received_events_url":"https://api.github.com/users/drelaptop/received_events","type":"User","site_admin":false},"created_at":"2017-12-18T09:26:18Z","updated_at":"2017-12-18T09:26:18Z","author_association":"CONTRIBUTOR","body":"Similar problem occurred to me, and it was solved after I keep Android Studio and all tools on `SDK Tools` latest. Update your tools and try again. "}}
{"actor":{"display_login":"drelaptop"}}