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'
}
}
}
}
新舊版本依賴不同是個頭疼的問題,希望運氣不錯的你運氣更好!
抱團吹水技術群 -- 拜拜六二妻要領酒
相關文章
- [ERROR] InnoDB: Unable to lock ./ibdata1, error: 11Error
- ERROR FIX:- rpmdb: unable to join the environmentError
- mysql之 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 11MySqlError
- pip install scrapy報錯:error: UnableError
- Fatal error in launcher: Unable to create process using '"'Error
- error:unable to get logical block size for spfileErrorBloC
- ERROR Dispatcher Dispatcher initialization failed java.lang.RuntimeException: java.lang.RuntimeExcErrorAIJavaException
- nodejs gm ImageMagick Error unable to read fontNodeJSError
- android studio Error:Unable to start the daemon process【轉】AndroidError
- (Error -1170 @ 0x0) Unable to access the DAP)Error
- Oracle Database on NFS : unable to lock file - already in use" ErrorOracleDatabaseNFSError
- rabbitMq的status報錯Error: unable to perform an operation on node ‘rabbit……MQErrorORM
- Android Bugs——Error:java.lang.RuntimeException: Some file crunching failed, see logs for detailsAndroidErrorJavaExceptionAI
- [GuzzleHttp\Exception\RequestException] cURL error 60: SSL certificate problem: unable to get localHTTPExceptionError
- 打補丁報錯Opatch error : "Unable to lock Central InventoryError
- 終端報錯"xcrun: error: unable to find utility “xcodebuild”, not a developer tool orErrorXCodeUIDeveloper
- MySQL 5.7.17 安裝報錯SSL error: Unable to get private key fromMySqlError
- kkjcre1p: unable to spawn jobq slave process, error 1089Error
- CDH5之Unexpected error.Unable to verify database connectionH5ErrorDatabase
- ERROR 1168 (HY000): Unable to open underlying table which isError
- 【ubuntu】解決Unable to determine the device handle for GPU 0000:02:00.0: Unknown ErrorUbuntudevGPUError
- about me
- Android Bugs—— Error:In declare-styleable FontFamilyFont, unable to find attribute android:fontAndroidError
- flutter Error: unable to locate asset entry in pubspec.yaml: "assets/fonts/Lato-Regular.ttf"FlutterErrorYAML
- ORA-00600: internal error code, arguments: [unable to load XDB library] 排查過程Error
- READ ME
- MediaRecorder start failed -19 java.lang.RuntimeException: start failedAIJavaException
- costume GIT usage for meGit
- A Person Who Is Important to MeImport
- docker image rm發生錯誤 Error response from daemon: conflict: unable to remove repository referenceDockerErrorREM
- 【ERROR】win2003安裝oracle10g報錯 unable to create an item...ErrorOracle
- Xcode指令碼自動化打包問題:xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATHXCode指令碼ErrorPackageAPPDeveloper
- Find me - 用 ARKit 找人
- Hey async, await meAI
- github/Show me the code (0)Github
- ME 588, Dynamics and Vibration
- 【APIM】Azure APIM丟擲 java.lang.RuntimeException 錯誤定位APIJavaException
- unable to get oracle owner forOracle