Cygwin for Android-NDK programming

前端 未结 5 758
悲哀的现实
悲哀的现实 2020-12-15 10:06

I read about the requirements of NDK programming on Windows which said we require Cygwin.Read about Cygwin which said we require it coz it is a way to mak

5条回答
  •  一个人的身影
    2020-12-15 10:51

    1. At least NDK-r8b, if you want to build your .so, you don't need Cygwin.
    2. However, if you want to use ndk-gdb to debug your native code,you have to use Cygwin.
    3. And, in my experiment, if you ndk-gdb your native under Cygwin to debug native code which is built from windows cmd, ndk-gdb seems cannot recognize the debug info. So, for debug purpose, I build native Cygwin.

提交回复
热议问题