-4

After adding third party library dependency 'com.karumi:dexter:5.0.0' to show run time permissions in app started facing this version conflict issue.

implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.karumi:dexter:5.0.0'

Image

Is there any better solution for this problem to avoid run time crashes in my future apps?

AskNilesh
  • 67,701
  • 16
  • 123
  • 163

2 Answers2

0

You should change,

implementation 'com.android.support:appcompat-v7:27.1.1'

(or)

implementation 'com.android.support:design: 28.0.0'

try to maintain same version for all dependency.

Mohanraj
  • 296
  • 2
  • 13
-1

You should try app compact implementation 'com.android.support:appcompat-v7:27.1.1'

Sam
  • 31
  • 2
  • 6