Any simple way to log in Android NDK code?

前端 未结 7 2079
無奈伤痛
無奈伤痛 2020-12-02 12:09

I\'m looking for a way to easily debug C code in an Android NDK application using Eclipse. I\'ve read ways to debug the app using gdb or something similar but what I want i

相关标签:
7条回答
  • 2020-12-02 12:43

    For anyone who's struggling with

    LOCAL_LDLIBS := -llog
    

    not working, just add it after each

    include $(CLEAR_VARS)
    

    Not sure why, but it worked for me.

    Cheers!

    0 讨论(0)
提交回复
热议问题