atsushieno / aap-core

an Audio Plugin Format/Framework for Android
MIT License
90 stars 3 forks source link

Cannot enable "Gradle Managed Virtual Devices" tests #85

Open atsushieno opened 3 years ago

atsushieno commented 3 years ago

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 breaks build.gradle compatibility with Arctic Fox, so we should bring in the changes only if it brings benefits.

atsushieno commented 2 years ago

In 2022 it is still left not working: https://issuetracker.google.com/issues/182888311

atsushieno commented 2 years ago

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

atsushieno commented 11 months ago

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

atsushieno commented 5 months ago

^ was not the time really as it was not available for non-enterprise, but now M1 runner is available to everyone.