我試圖在.jniLibs
文件夾中將.so
文件包含在我的Android Studio項目中,但遇到錯誤,我該如何克服它?如何在Android Studio中使用棄用的NDK
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 "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration.
我在哪裏找不到gradle.properties
?我在哪裏可以找到或有任何解決方法?
感謝
請嘗試https://docs.gradle.org/current/userguide/build_environment.html ... – Zimano