From 8030f826799a50635b555e7caf0c0716b7aa9654 Mon Sep 17 00:00:00 2001 From: Siarhei Luskanau Date: Wed, 8 May 2024 08:49:20 +0200 Subject: [PATCH] Updated ManagedVirtualDevice declaration --- app/build.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 676bd41..2121575 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -62,6 +62,12 @@ android { managedDevices.devices.create(name) { device = "Nexus 4" apiLevel = apiLevelIt + val systemImageConfig: Pair = when (apiLevelIt) { + 34 -> "aosp-atd" to true + else -> null to null + } + systemImageConfig.first?.also { systemImageSource = it } + systemImageConfig.second?.also { require64Bit = it } } } }