question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Execution failed for task ':app:compressDebugAssets'.

See original GitHub issue

$ 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® Core™ 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

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:10

github_iconTop GitHub Comments

170reactions
flogycommented, Mar 17, 2021

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.

1reaction
yansenacommented, Jan 26, 2022

@flogy thk you, thats work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Execution failed for task ':app:compressDebugAssets'
I found a temporary solution in downgrading my Android Studio version to 4.0. 2. Additionally, I changed the Android Gradle plugin version to...
Read more >
How to fix "Execution failed for task ':app ... - GeeksforGeeks
So, In this article, we will discuss 6 different methods for fixing the “Execution failed for task ':app:transformClassesWithDexForRelease” ...
Read more >
execution failed for task ':app:processdebugmainmanifest' flutter
I am facing the issue when using flutter run . Seems like some gradle issue. I am using Java 11 and this project...
Read more >
Execution optimizations have been disabled for task ':app ...
Execution optimizations have been disabled for task ':app:compressDebugAssets' to ensure correctness due to the following reasons: 810 views.
Read more >
Execution failed for task ':app:compressDebugAssets'.
execution failed for task ':app:compressdebugassets'. Add Answer | View In TPC Matrix. Technical Problem Cluster First Answered On January 25, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found