Category : gradle

FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:react-native-community_masked-view:parseReleaseLibraryResources’. > Could not resolve all files for configuration ‘:react-native-community_masked-view:androidApis’. > Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. > Execution failed for PlatformAttrTransform: C:UserszenqiAppDataLocalAndroidSdkplatformsandroid-28android.jar. > C:UserszenqiAppDataLocalAndroidSdkplatformsandroid-28android.jar * Try: Run with –stacktrace option to get the stack trace. Run ..

Read more

I tried launch my app in React Native with npx react-native run-android on terminal and this error happen Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use ‘–warning-mode all’ to show the individual deprecation warnings. See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warning Picked up _JAVA_OPTIONS: -Xmx512M FAILURE: Build completed with 2 failures. 1: Task ..

Read more

this is my build.gradle : // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { mavenCentral() maven { url ‘https://maven.google.com/’ name ‘Google’ } maven { url ‘https://dl.google.com/dl/android/maven2/’ name ‘Google’ } maven { url "https://jitpack.io" } google() jcenter () } dependencies { classpath ‘com.android.tools.build:gradle:3.6.1’ // classpath ‘com.android.tools.build:gradle:2.2.3’ classpath ..

Read more