Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There are several ways to address the issue of requiring API level 24 during the Build on GitHub Actions when the current minimum level is 23. Here are some possible solutions:

  1. Upgrade the minimum API level to 24: This is the simplest solution, where you can simply change the minimum API level of your app to 24. However, this may not be feasible if you have users who are still on older devices that do not support API level 24.

  2. Use a different build environment: Instead of using GitHub Actions, you can use a different build environment like Travis CI or Jenkins, which may have different requirements. Alternatively, you can use a different version of the Android SDK or build tools that support API level 23.

  3. Specify the API level in the build.gradle file: You can specify the API level in the build.gradle file of your app, which will override the default value used by GitHub Actions. For example, you can add the following line to your build.gradle file to set the minimum SDK version to 23:

    minSdkVersion 23
    
  4. Use a different emulator image: If you are using an emulator to test your app, you can try using a different emulator image that supports API level 23. For example, you can use the "Nexus 5X API 23" emulator image instead of the "Nexus 5X API 24" image.

  5. Contact GitHub Support: If none of the above solutions work, you can contact GitHub Support for further assistance. They may be able to provide you with a custom build environment that meets your requirements.