react-native-vector-icons icon indicating copy to clipboard operation
react-native-vector-icons copied to clipboard

Execution failed for task ':app:compressDebugAssets'.

Open oleg-moseyko opened this issue 4 years ago • 10 comments

$ react-native info info Fetching system and libraries information... (node:62723) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) System: OS: macOS 11.0.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 78.13 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 14.11.0 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.8 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.9.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.3, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2 Android SDK: API Levels: 23, 27, 28, 29, 30 Build Tools: 27.0.3, 28.0.3, 29.0.2, 30.0.1, 30.0.2, 30.0.3 System Images: android-28 | China version of Wear OS Intel x86 Atom, android-29 | Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom_64 Android NDK: Not Found IDEs: Android Studio: 4.1 AI-201.8743.12.41.6858069 Xcode: 12.3/12C33 - /usr/bin/xcodebuild Languages: Java: 15.0.1 - /usr/bin/javac Python: 2.7.13 - /Applications/MAMP/Library/bin/python npmPackages: @react-native-community/cli: Not Found react: 16.11.0 => 16.11.0 react-native: 0.62.0 => 0.62.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Description

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:compressDebugAssets'.

Multiple task action failures occurred: A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/AntDesign.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/Entypo.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/EvilIcons.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/Feather.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/FontAwesome.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/FontAwesome5_Brands.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/FontAwesome5_Regular.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/FontAwesome5_Solid.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/Fontisto.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/Foundation.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/Ionicons.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/MaterialCommunityIcons.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/MaterialIcons.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/Octicons.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/OpenSans-Bold.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/OpenSans-BoldItalic.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/OpenSans-ExtraBold.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/OpenSans-ExtraBoldItalic.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/OpenSans-Italic.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/OpenSans-Light.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/OpenSans-LightItalic.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/OpenSans-Regular.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/OpenSans-SemiBold.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/OpenSans-SemiBoldItalic.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/Roboto.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/Roboto_medium.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/rubicon-icon-font.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/SimpleLineIcons.ttf' collided A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction > Entry name 'assets/fonts/Zocial.ttf' collided

oleg-moseyko avatar Feb 10 '21 11:02 oleg-moseyko

Happened for me as well after migrating from react-native 0.63.4 to 0.64.0. Was able to solve it by running rm -rf android/app/build and rebuilding the project, as described in the troubleshooting section.

flogy avatar Mar 17 '21 09:03 flogy

@flogy thanks man you saved me

MananDesai54 avatar Mar 23 '21 08:03 MananDesai54

Yeah @flogy thanks for saving my day...

imran1992 avatar Apr 05 '21 06:04 imran1992

Happened for me as well after migrating from react-native 0.63.4 to 0.64.0. Was able to solve it by running rm -rf android/app/build and rebuilding the project, as described in the troubleshooting section.

Thanks bro. Anyone please mark this as answer

masrurimz avatar Apr 16 '21 10:04 masrurimz

rm -rf android/app/build

IT WORKSSSSS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

maheenriaz avatar Jun 14 '21 16:06 maheenriaz

It worked for me and I had a completely different issue––thank you!

19neloyk avatar Jun 26 '21 06:06 19neloyk

Happened for me as well after migrating from react-native 0.63.4 to 0.64.0. Was able to solve it by running rm -rf android/app/build and rebuilding the project, as described in the troubleshooting section.

or you can also do " clean project " from android studio.

gaurav0044 avatar Jul 08 '21 03:07 gaurav0044

@flogy It worked for me - thank you.

SaiRohith145 avatar Aug 20 '21 05:08 SaiRohith145

@flogy thk you, thats work

yansena avatar Jan 26 '22 12:01 yansena

Happened for me as well after migrating from react-native 0.63.4 to 0.64.0. Was able to solve it by running rm -rf android/app/build and rebuilding the project, as described in the troubleshooting section.

you saved my day

russelRajitha avatar Sep 05 '22 03:09 russelRajitha