How Get rid of NDK compiler warning: “APP_PLATFORM is larger..” and “Invalid package”

后端 未结 3 1482
粉色の甜心
粉色の甜心 2021-01-02 03:49

I have the following Application.mk

APP_PLATFORM := android-9
APP_STL := gnustl_static
APP_CPPFLAGS := -frtti -fexceptions -O2 -mfpu=neon -mfloat-abi=softfp
         


        
3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-02 04:03

    For NDK rev 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.

提交回复
热议问题