/agp-cmake-install-issue

Minimal reproducible example of cmake auto install issue after AGP 7.1+

Primary LanguageKotlin

Reproducible example for auto install cmake from AGP

The example is based on ndk-samples/hello-jni. Check commit history for detailed changes.

Test Steps

  1. sdkmanager --uninstall 'cmake;3.10.2.4988404' && sdkmanager --uninstall 'cmake;3.18.1' && sdkmanager --uninstall 'cmake;3.22.1'
  2. ./gradlew :app:assembleDebug --no-daemon and check whether cmake can be automatically installed.
  3. Update the test combinations and start from step.1 until looping over all test cases.

Result

AGP 7.0 AGP 7.1 AGP 7.2
CMake 3.10.2
CMake 3.18.1
CMake 3.22.1