Skip to content

feat: add multiversion Android support via environment variables#43

Open
cloudwaddie-agent wants to merge 2 commits intoShmayro:mainfrom
cloudwaddie-agent:main
Open

feat: add multiversion Android support via environment variables#43
cloudwaddie-agent wants to merge 2 commits intoShmayro:mainfrom
cloudwaddie-agent:main

Conversation

@cloudwaddie-agent
Copy link
Copy Markdown

@cloudwaddie-agent cloudwaddie-agent commented Apr 3, 2026

Summary

Add support for multiple Android versions (Android 11 through Android 16) through environment variables, making the project more flexible for different use cases.

Changes

  • Add ANDROID_VERSION and GAPPS_VERSION environment variables
  • Support for Android 11 (API 30), Android 12 (API 31), Android 13 (API 33), Android 14 (API 34), Android 15 (API 35), and Android 16 (API 36)
  • Create .env.example with all configurable options
  • Update Dockerfile to accept ANDROID_VERSION as build arg
  • Update first-boot.sh to dynamically handle version-specific GAPPS and AVD creation
  • Add env_file reference in docker-compose.yml
  • Update README with new environment variable documentation

Backward Compatibility

Maintains backward compatibility - default ANDROID_VERSION=30 keeps existing behavior unchanged.

Usage

To use a different Android version, either:

  1. Set in .env file:

    ANDROID_VERSION=33
    
  2. Or set in docker-compose environment:

    environment:
      ANDROID_VERSION: 33

Available versions: 29, 30, 31, 32, 33, 34, 35, 36

- Add ANDROID_VERSION and GAPPS_VERSION environment variables
- Support for Android 11 (API 30), 12 (API 31), 13 (API 33), and 14 (API 34)
- Create .env.example with all configurable options
- Update Dockerfile to accept ANDROID_VERSION as build arg
- Update first-boot.sh to dynamically handle version-specific GAPPS and AVD creation
- Add env_file reference in docker-compose.yml
- Update README with new environment variable documentation

BREAKING CHANGE: None - maintains backward compatibility with default ANDROID_VERSION=30
- Add API 35 (Android 15) and API 36 (Android 16) support
- Update GAPPS mapping for newer Android versions
- Update README documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants