I tried to enable proguard on my react native (v61.2) application by setting on app level: build.gradle
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
But i get this error:
Didn't find class "com.facebook.react.devsupport.DevSupportManagerImpl" on path: DexPathList
====
I already have the dependency
implementation 'com.android.support:multidex:1.0.3'
And also have this buildscript dependency already
classpath 'com.android.tools.build:gradle:3.5.0'
Any idea where to look? Stack Trace:
Caused by: java.lang.ClassNotFoundException: com.facebook.react.devsupport.DevSupportManagerImpl
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:453)
at java.lang.Class.forName(Class.java:378)
at com.facebook.react.devsupport.b.a(DevSupportManagerFactory.java:67)