Error:java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to me
使用環境:
Error:java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
Error:com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
Error:com.android.dex.DexException: Multiple dex files define Landroid/support/v4/view/GestureDetectorCompat$GestureDetectorCompatImpl;
解決方法:
這裡是多次使用同樣的依賴,而且,版本不一致造成的。
統一下版本即可.
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '27.1.1'
}
}
}
}
新舊版本依賴不同是個頭疼的問題,希望運氣不錯的你運氣更好!
抱團吹水技術群 -- 拜拜六二妻要領酒
相關文章
- Fatal error in launcher: Unable to create process using '"'Error
- nodejs gm ImageMagick Error unable to read fontNodeJSError
- pip install scrapy報錯:error: UnableError
- android studio Error:Unable to start the daemon process【轉】AndroidError
- Android Bugs——Error:java.lang.RuntimeException: Some file crunching failed, see logs for detailsAndroidErrorJavaExceptionAI
- rabbitMq的status報錯Error: unable to perform an operation on node ‘rabbit……MQErrorORM
- Android Bugs—— Error:In declare-styleable FontFamilyFont, unable to find attribute android:fontAndroidError
- [GuzzleHttp\Exception\RequestException] cURL error 60: SSL certificate problem: unable to get localHTTPExceptionError
- 終端報錯"xcrun: error: unable to find utility “xcodebuild”, not a developer tool orErrorXCodeUIDeveloper
- 【ubuntu】解決Unable to determine the device handle for GPU 0000:02:00.0: Unknown ErrorUbuntudevGPUError
- flutter Error: unable to locate asset entry in pubspec.yaml: "assets/fonts/Lato-Regular.ttf"FlutterErrorYAML
- docker image rm發生錯誤 Error response from daemon: conflict: unable to remove repository referenceDockerErrorREM
- READ ME
- about me
- recently----me
- java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerJavaExceptionAndroidUIHive
- java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerExceptioJavaExceptionAndroidUIHive
- A Person Who Is Important to MeImport
- ME 588, Dynamics and Vibration
- Unable to find a specification for ''
- 【APIM】Azure APIM丟擲 java.lang.RuntimeException 錯誤定位APIJavaException
- 求助: laravel 模型建立資料包錯: (非常怪異) 拋錯為:Unable to JSON encode payload. Error code: 5Laravel模型JSONError
- OUTLOOK - Unable to Delete Meetingsdelete
- Tell Me About Yourself Example 1
- rember me all time good luckREMGo
- Java SE, Java EE, Java MEJava
- 【go語言】wait,wait for meGoAI
- linux 報錯 jpype._jexception.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class not foundLinuxExceptionAIJava
- Unable to boot ApiServiceProvider configure..bootAPIIDE
- Unable to locate factory with name [default]
- Shiro中的Remember me設定REM
- 『vulnhub系列』Hack Me Please-1
- In 2019, Let me Replace Redux with React HooksReduxReactHook
- 從me.name = 'forceddd' 開始
- vulnhub靶機-Me and My Girlfriend: 1
- vulnhub靶場之HACK ME PLEASE
- Media Encoder 2022 for Mac(ME2022)Mac
- sublime出現 unable download.......