Encountering the following CI build failure when including the PayCards_Android library in Android Studio 3.6 RC1, which uses gradle build tools version 3.6.0-rc01:
Caused by: com.android.builder.errors.EvalIssueException: No version of NDK matched the requested version 20.0.5594570. Versions available locally: 21.0.6113669
This can be replicated by creating a project in Android Studio 3.6.0 RC1, adding the PayCards library, and building the project with ./gradlew build. When executed from Android Studio the build will succeed, but you will see the following warnings, but when built from CI tooling (GitHub Actions in my case) the build fails.
> Task :app:stripAppDebugSymbols
WARNING: Compatible side by side NDK version was not found. Default is 20.0.5594570.
Compatible side by side NDK version was not found. Default is 20.0.5594570.
Unable to strip the following libraries, packaging them as they are: libc++_shared.so, libc++_shared.so, libc++_shared.so, libc++_shared.so, libcardrecognizer.so, libcardrecognizer.so, libcardrecognizer.so, libcardrecognizer.so.
Encountering the following CI build failure when including the PayCards_Android library in Android Studio 3.6 RC1, which uses gradle build tools version 3.6.0-rc01:
Caused by: com.android.builder.errors.EvalIssueException: No version of NDK matched the requested version 20.0.5594570. Versions available locally: 21.0.6113669
This can be replicated by creating a project in Android Studio 3.6.0 RC1, adding the PayCards library, and building the project with
./gradlew build
. When executed from Android Studio the build will succeed, but you will see the following warnings, but when built from CI tooling (GitHub Actions in my case) the build fails.Google Issue that may be related: https://issuetracker.google.com/issues/143630825