In a future version of Android(^1), dynamically loaded dex files cannot be writable to the loading process. This affects Mockito in instrumentation tests, as dex bytecode is generated and loaded at runtime.
I also took the liberty and updated the gradle project and dependencies. Please let me know if this is unwanted and I can remove those changes.
In a future version of Android(^1), dynamically loaded dex files cannot be writable to the loading process. This affects Mockito in instrumentation tests, as dex bytecode is generated and loaded at runtime.
I also took the liberty and updated the gradle project and dependencies. Please let me know if this is unwanted and I can remove those changes.
^1: https://android-review.googlesource.com/q/topic:ro_java_dcl