telegram not compile with ndk 18

允我心安 提交于 2019-12-31 03:06:43

问题


When i try compile telegram with android studio 3.2, i get an error: Android NDK: Invalid NDK_TOOLCHAIN_VERSION value: 4.9. GCC is no longer supported. I know, what from version of android ndk 18 and more gcc is no longer supported, but how i can fix this error in telegram, or it's better wait new version of telegram on github? When i tryed delete string in application.nk file,connected with version of toolch, i got another errors, connected with cpp files. Help me please compile telegram,without downgrading ndk. Thanks everybody for the help.


回答1:


The issues are pretty straightforward to fix: https://github.com/DrKLO/Telegram/pull/1483




回答2:


So,

Remove the NDK_TOOLCHAIN_VERSION line (or set it to clang) to build with clang.

is the fix.



来源:https://stackoverflow.com/questions/52670082/telegram-not-compile-with-ndk-18

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!