Debugging native code in android under eclipse fails

后端 未结 3 894
孤街浪徒
孤街浪徒 2021-01-17 10:07

I\'m trying to debug the native code in the \"csipsimple\" android app using the Debug As->Android Native Application option. I used this tutorial to do it.

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-17 10:59

    For NDK R9 (works in others too but line# may differ):

    ${NDK}/build/core/add-application.mk
    line 138
    

    add "#" at start of the line.

    # $(call __ndk_info,WARNING: APP_PLATFORM $(APP_PLATFORM) is larger than \
        android:minSdkVersion $(APP_MIN_PLATFORM_LEVEL) in $(APP_MANIFEST))
    

    One character, 30 second fix ... go debug native code.

提交回复
热议问题