该libSDL2.so由android API 26,在debian系统中编译而来,studio环境在windows 7.
2. 打开studio,选择Import project
3. 本例子从官网下载的最新SDL2-2.0.5.zip,选择android-project
4.后面的步骤,都是默认。
5.Build --> Make Project,报错:
Error:Execution failed for task ':app:compileDebugNdk'.
> Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plugin. For details, see http://tools.android.com/tech-docs/new-build-system/gradle-experimental. Set "$USE_DEPRECATED_NDK=true" in gradle.properties to continue using the current NDK integration.