我使用SDL安装了NDK。
我使用的是带有MinGW的Windows 7。
当我在Android Studio中编译源代码时,我会收到警告:[deprecation] AbsoluteLayout in android.widget has been deprecated
我从文件/jni/SDL/android-project/src/org/libsdl/app/SDLActivity.java
中收到了4次此警告。
我还收到以下警告:
[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不再支持吗?如何解决这些警告?