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