-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Error while starting instrumentation with Obfuscated apk (with proguard) #232
Comments
So the app gets obfuscated but |
Yes, App under test is obfuscated but Espresso server is not. |
I'm going to look at this.... @mykola-mokhnach do you have any ideas, off the top of your head, why this would be happening? |
@dpgraham I have found a way to avoid this. In the application code, we need to make sure that we don't obfuscate com.google.gson Thanks! |
Okay good to know @rajdeepv! We'll still keep it open though. For other users who have this same problem we'll need to either come up with a solution or list it as a "Known Issue" and provide a recommended workaround. |
Maybe, this is also a similar issue. I would leave the log here.
|
Details
Espresso server has gson as dependancy. In many cases gson is a dependancy of the app under test as well. When the app is obfuscated, Its complains NoSuchMethodError for obfuscated methods as below:
The text was updated successfully, but these errors were encountered: