I am trying to incorporate Powermock as a dependency for my Android tests using the following build.gradle configuration:
dependencies{
compile \'com.and
I had the same problem and i just found the solution here. It involves a bit of manual work and you will have to modify the jar file yourself.
So what nparihar suggests is the following.
This solution worked for me. Let me know if it works for you as well.
Also, i can see that we are using the same dependencies. In my case i had to remove manually the hamcrest.jar and the objenesis.jar as there were confilcts.
Hope that helps.