[issues] Execution failed for task ':app:checkDebugDuplicateClasses' [react-native]
์นดํ
๊ณ ๋ฆฌ : Issues
ํ๊ทธ: issue, · react-native, · pod install, · issues, · Execution failed for task ':app:checkDebugDuplicateClasses' · ์๋ฌ,
ํ๊ทธ: issue, · react-native, · pod install, · issues, · Execution failed for task ':app:checkDebugDuplicateClasses' · ์๋ฌ,
๋ฒ์
System:
OS: macOS 15.0
CPU: (10) arm64 Apple M2 Pro
Memory: 971.14 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.1.0
path: ~/.nvm/versions/node/v22.1.0/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 10.8.3
path: ~/.nvm/versions/node/v22.1.0/bin/npm
Watchman:
version: 2024.07.01.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/abel/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.0
- iOS 18.0
- macOS 15.0
- tvOS 18.0
- visionOS 2.0
- watchOS 11.0
Android SDK:
API Levels:
- "28"
- "29"
- "30"
- "31"
- "33"
- "33"
- "34"
Build Tools:
- 28.0.3
- 30.0.2
- 30.0.3
- 31.0.0
- 33.0.0
- 33.0.1
- 33.0.2
- 34.0.0
System Images:
- android-28 | Intel x86 Atom
- android-28 | Intel x86_64 Atom
- android-29 | Intel x86 Atom
- android-29 | Intel x86_64 Atom
- android-30 | Intel x86_64 Atom
- android-30 | Google APIs Intel x86 Atom
- android-30 | Google APIs Intel x86_64 Atom
- android-31 | Intel x86_64 Atom
- android-31 | Google APIs Intel x86_64 Atom
- android-33-ext5 | Google Play Intel x86_64 Atom
- android-33 | Google APIs ARM 64 v8a
- android-33 | Google APIs Intel x86_64 Atom
- android-34 | Google APIs ARM 64 v8a
- android-34 | Google APIs Intel x86_64 Atom
- android-34 | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2411.12169540
Xcode:
version: 16.0/16A242d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.11
path: /opt/homebrew/opt/openjdk@17/bin/javac
Ruby:
version: 2.7.6
path: /Users/abel/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
์๋ฌ ์ฝ๋
Execution failed for task ':app:checkDebugDuplicateClasses'
๋ฐ์ ์์ธ
- ํ๋ก์ ํธ์์ ์ฌ์ฉํ๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ค ์ผ๋ถ๊ฐ AndroidX์ ์ถฉ๋์ ์ผ์ผ์ผ์ ๋ฐ์
(1) : ํด๊ฒฐ ๋ฐฉ๋ฒ
- ํด๋น ํ๋ก์ ํธ์ ๋ฃจํธ ๊ฒฝ๋ก์์ android/gradle.properties์์ ํด๋น ์ฝ๋ ์ถ๊ฐ
android.enableJetifier=true
- useAndroidX=true๋ ํ๋ก์ ํธ ์์ฑ ์ ์๋์ผ๋ก ์ถ๊ฐ๋์ง๋ง, enableJetifier=true๋ ์ ์ฉ๋์ง ์๋๋ค.
์ฌ๋น๋