I a sure you have come to this article to find a solution o the maddening error: Caused by: java.lang.UnsupportedOperationException: adding retransformable transformers is not supported in this environment while calling Instrumentation.addTransformer(transformer, true).