You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. build.gradle
dependencies {
compile ... // compile dependencies
instrumentTestCompile 'com.google.android.apps.common.testing:espresso:1.0-SNAPSHOT'
instrumentTestCompile 'com.google.android.apps.common.testing:testrunner:1.0-SNAPSHOT'
instrumentTestCompile 'com.google.android.apps.common.testing:testrunner-runtime:1.0-SNAPSHOT'
instrumentTestCompile 'org.hamcrest:hamcrest-core:1.1'
instrumentTestCompile 'org.hamcrest:hamcrest-library:1.1'
instrumentTestCompile 'org.hamcrest:hamcrest-integration:1.1'
instrumentTestCompile 'com.squareup.dagger:dagger:+'
instrumentTestCompile 'com.squareup.dagger:dagger-compiler:+'
}
2.
I Could not find method com.google.android.apps.common.testing.testrunner.ExposedInstrumentationApi.execStartActivity, referenced from method com.google.android.apps.common.testing.testrunner.GoogleInstrumentation.
execStartActivity
W VFY: unable to resolve virtual method 222: Lcom/google/android/apps/common/testing/testrunner/ExposedInstrumentationApi;.execStartActivity (Landroid/content/Context;Landroid/os/IBinder;Landroid/os/IBinder;Landroi
d/app/Activity;Landroid/content/Intent;I)Landroid/app/Instrumentation$ActivityResult;
What is the expected output? What do you see instead?
I have the libs in local maven repo, but they are not bundled with apk.
What version of the product are you using? On what operating system?
1.0-SNAPSHOT
Please provide any additional information below.
I have to replace "instrumentTestCompile" with "compile", otherwise the classes
are not bundled into apk.
Original issue reported on code.google.com by TomR...@gmail.com on 3 Dec 2013 at 12:31
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
TomR...@gmail.com
on 3 Dec 2013 at 12:31The text was updated successfully, but these errors were encountered: