久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

類型 androidx.appcompat.resources.R$dimen 被定義了多次

Type androidx.appcompat.resources.R$dimen is defined multiple times(類型 androidx.appcompat.resources.R$dimen 被定義了多次)
本文介紹了類型 androidx.appcompat.resources.R$dimen 被定義了多次的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我們有一個 React Native 應用,在升級到 Android Studio 3.6.1 和 Gradle 插件 3.6.1 后,我們看到了這個編譯錯誤:

We have a React Native app where after upgrading to Android Studio 3.6.1 and Gradle plugin 3.6.1 we are seeing this compilation error:

Type androidx.appcompat.resources.R$dimen is defined multiple times: /Users/andrew/Software/project/android/app/build/intermediates/project_dex_archive/productionRelease/out/androidx/appcompat/resources/R$dimen.dex, /Users/andrew/Software/project/android/app/build/intermediates/project_dex_archive/productionRelease/out/15bdf8225afad69777cd7f9bd328ab094900c8289014e0107b56c5c62099dfea_3.jar:classes.dex

這是我們的依賴項:

"dependencies": {
    "@dblackker/cameraroll": "^1.3.4",
    "@react-native-community/async-storage": "^1.7.1",
    "@react-native-community/geolocation": "^2.0.2",
    "@react-native-community/netinfo": "^4.4.0",
    "@react-native-community/push-notification-ios": "^1.0.6",
    "@react-native-firebase/analytics": "^6.2.0",
    "@react-native-firebase/app": "^6.2.0",
    "@react-native-firebase/crashlytics": "^6.2.0",
    "@react-native-firebase/perf": "^6.2.0",
    "appcenter": "^2.6.1",
    "appcenter-analytics": "^2.6.1",
    "appcenter-crashes": "^2.6.1",
    "axios": "^0.18.0",
    "clone": "^2.1.2",
    "immutability-helper": "^2.8.1",
    "lodash": "^4.17.14",
    "memoize-one": "^5.1.1",
    "moment": "^2.22.2",
    "prop-types": "^15.7.2",
    "react": "16.9.0",
    "react-custom-validation": "^0.5.7",
    "react-native": "0.61.5",
    "react-native-add-calendar-event": "^3.0.0",
    "react-native-app-intro-slider": "^3.0.0",
    "react-native-appearance": "^0.3.1",
    "react-native-camera": "^3.8.0",
    "react-native-contacts": "^5.0.6",
    "react-native-device-info": "^4.0.1",
    "react-native-gesture-handler": "^1.4.1",
    "react-native-heic-converter": "^1.3.0",
    "react-native-image-crop-picker": "^0.26.1",
    "react-native-image-resizer": "^1.0.1",
    "react-native-inappbrowser-reborn": "^3.1.0",
    "react-native-iphone-x-helper": "^1.2.1",
    "react-native-keyboard-aware-scroll-view": "^0.7.4",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-maps": "0.26.1",
    "react-native-modal": "^7.0.2",
    "react-native-modal-datetime-picker": "^7.6.1",
    "react-native-parsed-text": "^0.0.21",
    "react-native-permissions": "^2.0.9",
    "react-native-push-notification": "^3.1.9",
    "react-native-reanimated": "^1.3.0",
    "react-native-section-list-get-item-layout": "^2.2.3",
    "react-native-shadow": "^1.2.2",
    "react-native-share": "^2.0.0",
    "react-native-svg": "^9.12.0",
    "react-native-svg-uri": "^1.2.3",
    "react-native-tab-view": "^2.3.0",
    "react-native-version-number": "^0.3.6",
    "react-navigation": "3.12.0",
    "react-navigation-tabs": "^2.1.2",
    "react-redux": "^5.0.7",
    "redux": "^4.0.4",
    "redux-thunk": "^2.3.0",
    "rn-fetch-blob": "^0.11.2",
    "validator": "^10.8.0"
  }

誰能幫助找出問題所在,以及我們將來如何調試此類問題?謝謝!

Can anyone help figure out what the issue is, and how could we debug this type of issue in the future? Thank you!

推薦答案

Igor Montella 對我的問題的評論解決了問題 - 降級到 gradle 插件 3.5.0.

Igor Montella's comment to my question fixed the problem - downgrade to gradle plugin 3.5.0.

這篇關于類型 androidx.appcompat.resources.R$dimen 被定義了多次的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM(更新到 Android Build Tools 25.1.6 GCM/FCM 后出現 IncompatibleClassChangeError)
How to get current flavor in gradle(如何在 gradle 中獲取當前風味)
How to fix quot;unexpected element lt;queriesgt; found in lt;manifestgt;quot; error?(如何修復“意外元素lt;查詢gt;在“清單中找到錯誤?)
Multi flavor app based on multi flavor library in Android Gradle(基于 Android Gradle 中多風味庫的多風味應用)
Android dependency has different version for the compile and runtime(Android 依賴在編譯和運行時有不同的版本)
Transitive dependencies for local aar library(本地 aar 庫的傳遞依賴)
主站蜘蛛池模板: 欧美综合久久 | 亚洲性视频 | 高清国产一区二区 | 久久精品一区二区 | 成人av网站在线观看 | 亚洲黄色网址视频 | 日韩一区在线播放 | 黑人精品欧美一区二区蜜桃 | 久久国产精品视频 | 亚洲人成人网 | 国产精品久久国产精品 | 99这里只有精品 | 国产成人久久精品一区二区三区 | 国产福利91精品一区二区三区 | 日韩成人 | 91精品国产乱码久久久久久 | 日韩欧美不卡 | 一区二区免费 | 日韩精品久久久久 | 亚洲精品一区二区三区中文字幕 | av色在线| 亚洲精品视频在线观看免费 | 久久久久国产一区二区三区四区 | 亚洲成av人影片在线观看 | 亚洲高清视频一区二区 | 一区二区三区国产 | 中文字幕欧美日韩一区 | 日韩视频一区二区三区 | 日韩视频在线观看一区二区 | 日韩在线一区二区三区 | 久久99国产精品 | 久久精品一区 | 国产在线观 | 久久福利电影 | 欧美精品一区二区三区在线播放 | 91av久久久 | 国产精品久久久久久福利一牛影视 | 高清久久久 | 久草日韩| 久久久看 | 色888www视频在线观看 |