Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28480

Didn't find class "com.facebook.react.devsupport.DevSupportManagerImpl" on path: DexPathList

$
0
0

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)

Viewing all articles
Browse latest Browse all 28480

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>