Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run emulator using this image ?? #27

Open
devggaurav opened this issue Sep 12, 2023 · 1 comment
Open

How to run emulator using this image ?? #27

devggaurav opened this issue Sep 12, 2023 · 1 comment

Comments

@devggaurav
Copy link

No description provided.

@alexfin90
Copy link

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

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

No branches or pull requests

2 participants