我用 SDL 安装了 NDK。
我正在使用带有 MinGW 的 Windows 7。
当我在 Android Studio 中编译源代码时,我收到警告:
[deprecation] AbsoluteLayout in android.widget has been deprecated
我从文件中收到此警告 4 次:
/jni/SDL/android-project/src/org/libsdl/app/SDLActivity.java
我也收到这些警告:
[deprecation] CHANNEL_CONFIGURATION_STEREO in AudioFormat has been deprecated
[deprecation] CHANNEL_CONFIGURATION_MONO in AudioFormat has been deprecated
[deprecation] SURFACE_TYPE_GPU in SurfaceHolder has been deprecated
[deprecation] setType(int) in SurfaceHolder has been deprecated
[deprecation] LA_88 in PixelFormat has been deprecated
[deprecation] RGBA_4444 in PixelFormat has been deprecated
[deprecation] RGBA_5551 in PixelFormat has been deprecated
[deprecation] RGB_332 in PixelFormat has been deprecated
[deprecation] ACTION_POINTER_ID_MASK in MotionEvent has been deprecated
[deprecation] ACTION_POINTER_ID_SHIFT in MotionEvent has been deprecated
我使用 Mercurial 安装了 SDL:
hg clone http://hg.libsdl.org/SDL
并按照README-android.txt
我是否安装了错误的东西?不再支持 SDL?如何修复这些警告?