Missing class java.lang.management.ManagementFactory, android application release build #2718
Replies: 2 comments
-
Nvm, looks like my problem was in that i was trying to assemble wrong apk (android test) instead of regular apk in release variant. Never done ui tests before. My bad. |
Beta Was this translation helpful? Give feedback.
-
Nvm x2, looks like im doing it right, but still getting this error after applying isMinifyEnabled to any build variant |
Beta Was this translation helpful? Give feedback.
-
Hello!
Im trying to run android ui tests on release build using kaspresso, allure support, compose support.
When using isMinifyEnabled = true im receiving error about missing classes:
Adding those two to proguard rules doesnt help (both keep and dontwarn)
Project's jvmTarget - 1.8
Kaspresso version - 1.5.2 (ive checked 1.5.4)
Allure version - 2.4.0 (from kaspresso)
Beta Was this translation helpful? Give feedback.
All reactions