I am working on a Login activity and Submit form activity. After applying validation to submit form I came across few runtime errors like...
- Duplicate class android.support.v4.app.INotificationSideChannel found in modules
- Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules jetified-guava-26.0-android (com.google.guava:guava:26.0-android) and jetified-listenablefuture-1.0 (com.google.guava:listenablefuture:1.0)
I found its solution and added.....
- implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava' --- in build.gradle file
- android.enableJetifier=true --- in gradle.properties file
This solve the runtime errors but after running app it is getting crashed. What could be possible solution to this?