Android的NDK:警告:APP_PLATFORM Android为9​​比Android大:8的minSdkVersion [英] Android NDK: WARNING: APP_PLATFORM android-9 is larger than android:minSdkVersion 8

查看:172
本文介绍了Android的NDK:警告:APP_PLATFORM Android为9​​比Android大:8的minSdkVersion的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用Cygwin的编译我的cocos2d-X项目时,得到下面的警告。

I am getting the following warning when compiling my cocos2d-x project with cygwin.

`/cygdrive/e/project/MyGame/proj.android `
/cygdrive/e/android-ndk-r8e/build/core/add-application.mk:128: Android NDK: WARNING:APP_PLATFORM android-9 is larger than android:minSdkVersion 8 in ./AndroidManifest.xml

我使用NDK版本R8E。我的最低SDK版本是在我的Andr​​oidManifest.xml 8,但我不指定APP_PLATFORM由于Android-9的任何地方。我该如何更改为8。

I am using NDK version r8e. My minimum SDK version is 8 in my AndroidManifest.xml but i do not specify APP_PLATFORM as android-9 anywhere. How can i change this to 8.

谁能告诉我怎么解决这个警告,因为我认为这可能会导致问题。

Can anyone tell me how to solve this warning as I think this may cause issues.

推荐答案

看来你正在使用的Andr​​oid-9作为运行时。你可以把 APP_PLATFORM:=机器人-8 Application.mk 文件和警告将消失。

It seems that you are using Android-9 as runtime. You can put APP_PLATFORM := android-8 in your Application.mk file and the warning will disappear.

这篇关于Android的NDK:警告:APP_PLATFORM Android为9​​比Android大:8的minSdkVersion的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆