We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the Helloworld sample testing , gralde did not include the
testImplementation"androidx.car.app:app-testing:1.0.0-alpha01"
https://developer.android.com/reference/kotlin/androidx/car/app/testing/package-summary
or declare any testing define in the hello world build.gradle
also missing robolectric / junit and others
the car testing can't run.
The text was updated successfully, but these errors were encountered:
maybe HelloWorld gradle is
`android { compileSdkVersion 29
defaultConfig { applicationId "androidx.car.app.samples.helloworld" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" minSdkVersion 23 targetSdkVersion 29 versionCode 1 versionName "1.0" } compileOptions { targetCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = JavaVersion.VERSION_1_8 }
}
dependencies { implementation "androidx.car.app:app:1.0.0" testImplementation 'junit:junit:4.13.2' testImplementation "androidx.car.app:app-testing:1.0.0-alpha01" testImplementation 'androidx.test:runner:1.3.0' testImplementation "org.robolectric:robolectric:4.4" testImplementation "androidx.test:core:1.3.0" testImplementation "com.google.truth:truth:1.0" androidTestImplementation "com.google.truth:truth::0.40" } `
Sorry, something went wrong.
No branches or pull requests
In the Helloworld sample testing , gralde did not include the
testImplementation"androidx.car.app:app-testing:1.0.0-alpha01"
https://developer.android.com/reference/kotlin/androidx/car/app/testing/package-summary
or declare any testing define in the hello world build.gradle
also missing robolectric / junit and others
the car testing can't run.
The text was updated successfully, but these errors were encountered: