after changing gradle android plugin version to 3.2.1
classpath 'com.android.tools.build:gradle:3.2.1'
I received such build error:
Task with name 'mockableAndroidJar' not found in project ':app'.
Invalidate cache and restart doesn't help
after changing gradle android plugin version to 3.2.1
classpath 'com.android.tools.build:gradle:3.2.1'
I received such build error:
Task with name 'mockableAndroidJar' not found in project ':app'.
Invalidate cache and restart doesn't help
Happened to me too, fixed by upgrading Android Studio to version 3.2.1
Seems like they've changed the gradle task name from mockableAndroidJar
to createMockableJar
© 2022 - 2024 — McMap. All rights reserved.