Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

instrumentationArgs param is incompatible with spoon #166

Open
PohilAlex opened this issue Dec 22, 2017 · 1 comment
Open

instrumentationArgs param is incompatible with spoon #166

PohilAlex opened this issue Dec 22, 2017 · 1 comment

Comments

@PohilAlex
Copy link

I tried to use instrumentationArgs as suggested in the documentation of spoon-gradle-plugin
instrumentationArgs = ["foo=bar", "name=value"]

I had the error:

Execution failed for task ':app:spoonDebugAndroidTest'.
No signature of method: com.squareup.spoon.SpoonRunner$Builder.setInstrumentationArgs() is applicable for argument types: (java.util.ArrayList) values: [[notAnnotation=com.netpulse.mobile.utils.SmokeTest, coverage=true]]
Possible solutions: setInstrumentationArgs(java.util.Map)

I did some investigation and found that in Spoon instrumentationArgs is a Map
SpoonRunner

Can you please fix this mismatch?

@PohilAlex PohilAlex changed the title instrumentationArgs param is Incompatible with spoon instrumentationArgs param is incompatible with spoon Dec 22, 2017
@dweebo
Copy link

dweebo commented Dec 23, 2017

It's fixed in #161, if you are able to upgrade to gradle 4/android build tools 3.0.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants