2
我使用SDL安装了NDK。Android NDK SDL已弃用
我使用Windows 7使用MinGW。
当我编译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
hg clone http://hg.libsdl.org/SDL
在,并遵循以下步骤:
我使用水银安装SDL
我有没有正确安装的东西吗? SDL不再受支持了吗?我如何解决这些警告?
无关你的问题,而是'一般情况下,你应该只使用NDK如果是,从来没有应用你的基本,因为你只是喜欢在C/C++编程' –
在这种情况下它是我的应用程序是必不可少的。但感谢您的建议! – lewisjb