Ask Your Question
0

How can the issue of requiring API level 24 during the Build on GitHub Actions be addressed when the current minimum level is 23?

asked 2021-08-13 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-01-18 17:00:00 +0000

ladyg gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-08-13 11:00:00 +0000

Seen: 12 times

Last updated: Jan 18 '23