Open atsushieno opened 3 years ago
In 2022 it is still left not working: https://issuetracker.google.com/issues/182888311
After numbers of attempts it is locally working, without any informative knowledge. Yet it does not work on CI build. It seems that GitHub Actions cannot deal with KVM's nested virtualization. Or KVM nested virtualization is not ready for Android development: https://stackoverflow.com/questions/62125398/nested-kvm-virtual-machines-andoid-studio-4-0-avd-inside-debian-10-vm
It might be finally time to work on this task (M1 macos runner required though) https://stackoverflow.com/questions/76126480/android-github-action-with-an-apple-silicon-m1-runner
^ was not the time really as it was not available for non-enterprise, but now M1 runner is available to everyone.
With Android Gradle Plugin 7.1.* we can define virtual Android targets (emulators) for testing, to fix testing environment for stable test results.
https://developer.android.com/studio/preview/features
I tried it in
aapbareboneplugin
, but as of Bumblebee alpha02 it results in test run freeze at 98% progress. Not sure if it is due to some test failure or some AGP test runner failure, but AGP not giving the details is problematic and we shouldn't make such changes for not-runnable tests. It for sure breaksbuild.gradle
compatibility with Arctic Fox, so we should bring in the changes only if it brings benefits.