alpine-android icon indicating copy to clipboard operation
alpine-android copied to clipboard

How to run emulator using this image ??

Open devggaurav opened this issue 1 year ago • 1 comments

devggaurav avatar Sep 12 '23 10:09 devggaurav

I tried to start an emulator like that:

on build.gradle file define

android { testOptions { managedDevices { devices { pixelCTabletApi34 (ManagedVirtualDevice) { device = "Pixel C" apiLevel = 34 systemImageSource = "google" } } } } }

then using these command on the pipelines

  script:
      - sdkmanager --licenses
      - ./gradlew pixelCTabletApi34DebugAndroidTest
      

but i have this error FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:pixelCTabletApi34Setup'.

A failure occurred while executing com.android.build.gradle.internal.tasks.ManagedDeviceInstrumentationTestSetupTask$ManagedDeviceSetupRunnable Cannot query the value of this property because it has no value available.

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org. BUILD FAILED in 3m 33s 94 actionable tasks: 94 executed

alexfin90 avatar Jun 21 '24 09:06 alexfin90