Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed :app:processDebugResources FAILED #429

Closed
StonerRavi opened this issue Mar 20, 2017 · 36 comments
Closed

Execution failed :app:processDebugResources FAILED #429

StonerRavi opened this issue Mar 20, 2017 · 36 comments

Comments

@StonerRavi
Copy link

Hii,
When I'm running the react-native run-android in terminal my project is showing Build failed with an exception

:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:bundleDebugJSAndAssets SKIPPED
:app:copyDebugIconFonts
:app:processDebugManifest
:app:processDebugResources FAILED

FAILURE: Build failed with an exception.

what went wrong:
Execution failed for task ':app:processDebugResources'.
java.io.IOException: Could not delete path 'C:\Users\ravi\Desktop\Genz\android\app\build\generated\source\r\debug\android\support\v7'.

try:
Run with --stacktrace ...

I don't know what went wrong pls help me regarding this...

Thank you...

@ghost
Copy link

ghost commented Apr 12, 2017

Could you tell me what you did to fix this? I got the same error.

@adeojoemmanuel
Copy link

open cmd and navigate the to root folder of your project and past this into it cd android && gradlew clean

@ghost
Copy link

ghost commented May 3, 2017

Thank you very much @adeojoemmanuel !

@chandangr
Copy link

@adeojoemmanuel, It is not working!!

@robgev
Copy link

robgev commented Nov 5, 2017

open cmd and navigate the to root folder of your project and past this into it cd android && ./gradlew clean

For those who can't figure it out, it's ./gradlew not just gradlew

It's not working though :/

@jsinghrai
Copy link

I was facing the same issue when I was trying to connect the sqlite database to my react native app. I went to android folder and ran this command "gradlew.bat clean" this fixed the issue for me.
Instructions:
Go to react native app folder.
Open Command Prompt
cd android
run: gradlew.bat clean

Let me know if this helps you guys.

@chensy001
Copy link

Thank you very much @jsinghrai , it's working for me.

@kanhaiya8542
Copy link

@jsinghrai working by -> .\gradlew.bat clean (in windows powershell)

@dagsonpatrick
Copy link

Thank you very much @jsinghrai.

@javadoffuad
Copy link

Thank you @adeojoemmanuel !

@moonl33
Copy link

moonl33 commented Feb 5, 2018

Also had the error and used the ./gradlew clean for a while to fix.
I dont want to run that command everytime so what I did is change permissions to the build folder and have 'everyone' full access, no more gradlew clean

@rahulbhankar786
Copy link

rahulbhankar786 commented Mar 15, 2018

@moonl33 great answer.. this fixed my issue

@bntamm
Copy link

bntamm commented Apr 3, 2018

@adeojoemmanuel ! thank you man, its working!

@hsnyc
Copy link

hsnyc commented May 30, 2018

I have tried ./gradlew clean on the mac and have had no luck :(
I get the same message:
* What went wrong: Execution failed for task ':app:processDebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt

@mehrdadmms
Copy link

i updated my gradle to 3.1.0 and put
android.enableAapt2=false
in gradle.properties and it worked
other things didn't work for me

@Veeraharikumar
Copy link

@jsinghrai Its worked bro thank u soo much

@blazelon
Copy link

Delete the .gradle directory (or rename it to something else as a backup). Then npm run android from the terminal or build and run from Android Studio.

@alawneh0
Copy link

alawneh0 commented Sep 2, 2018

@blazelon worked! Thank You.

@CavanhaMan
Copy link

Instructions:
Go to react native app folder.
Open Command Prompt
cd android
run: gradlew.bat clean

@jsinghrai Thanks man!

@yudikarma
Copy link

work to me with give permision sudo chomod -R 777 AndroidStudioProjects ,sudo chown -R 777 AndroidStudioProjects,sudo chgrp -R 777 AndroidStudioProjects

@usman1579
Copy link

@jsinghrai its not working for me..

@jsinghrai
Copy link

@jsinghrai its not working for me..

I don't know how to help you. I haven't used react-native for almost a year. if you are having same issue, it should have fixed it. sorry

@rewdt
Copy link

rewdt commented Dec 31, 2018

I'm having this exact issue despite trying all the solutions working its still giving error

@usman1579
Copy link

I have the same problem but i have find a solution my firebase F-c-m and react native version is not matching i match the version the problem solve.(Check your dependencies version they are matching with react native)

@dhiraj1site
Copy link

Navigate to your directory and run chmod 777 android\

@a-skuba
Copy link

a-skuba commented Apr 30, 2019

I had to increasing JVM heap size in gradle.properties with

org.gradle.jvmargs=-Xmx4608M

@matteocollina
Copy link

cd android && sudo ./gradlew clean
not for Windows

@marlosirapuan
Copy link

I had to increasing JVM heap size in gradle.properties with

org.gradle.jvmargs=-Xmx4608M

Thanks, man!

@Thirumalaisamy-paulraj
Copy link

Now i got the same error

@Thirumalaisamy-paulraj
Copy link

Thirumalaisamy-paulraj commented Sep 17, 2019

Task :app:processDebugResources FAILED
100 actionable tasks: 93 executed, 7 up-to-date
Note: Recompile with -Xlint:deprecation for details.
Note: [2] Wrote GeneratedAppGlideModule with: [com.bumptech.glide.integration.okhttp3.OkHttpLibraryGlideModule, com.dylanvann.fastimage.FastImageOkHttpProgressGlideModule]
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

@mulweli-mp
Copy link

open cmd and navigate the to root folder of your project and past this into it cd android && gradlew clean

Worked very well for me, Thank you

@senthilkumar3282
Copy link

@adeojoemmanuel, It's working fine thanks

@osmnkutuk
Copy link

Sqlite veritabanını tepki yerel uygulamama bağlamaya çalışırken aynı sorunla karşı karşıyaydım. Android klasörüne gittim ve bu komutu "gradlew.bat clean" komutunu çalıştırdım ve bu benim için sorunu çözdü.
Talimatlar:
Yerel uygulama klasörüne tepki vermeye gidin.
Komut İstemi'ni açın
cd android
run: gradlew.bat clean

Bu size yardımcı olursa bana haber verin.

thank you it works

@Ifechukwudaniel
Copy link

sudo ./gradlew clean

Thank man

JerryHwung added a commit to JerryHwung/MAD-Chittr that referenced this issue Mar 14, 2020
Implemented get geolocation in postchit.js only a string of coords shows on screen now. Need react-native-maps to picture it then post it to server.
Image upload for chits is complete, but still deciding how to retrieve it and show it in homepage.

Error report:
After installing react-native-geolocation-service, app can't be install in emulator, the error message is: Execution failed for task ':app:processDebugResources'
The solution is go cmd and run these:
1. cd android
2. gradlew.bat clean
Source: oblador/react-native-vector-icons#429

There is also a problem to show picture save through react-native-image-picker, although the base64 string is similar but it doesn't render as expected. Will change back to RNCamera instead if no solution is found.
@pullatjunaid
Copy link

I'm facing same issue when running npx react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 967 file(s) to forward-jetify. Using 4 workers...
info Starting JS server...
info Installing the app...

Task :app:processDebugResources FAILED
9 actionable tasks: 2 executed, 7 up-to-date

FAILURE: Build failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform flipper-0.37.0.aar (com.facebook.flipper:flipper:0.37.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform flipper-network-plugin-0.37.0.aar (com.facebook.flipper:flipper-network-plugin:0.37.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform flipper-fresco-plugin-0.37.0.aar (com.facebook.flipper:flipper-fresco-plugin:0.37.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform swiperefreshlayout-1.0.0.aar (androidx.swiperefreshlayout:swiperefreshlayout:1.0.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform flipper-2.2.0.aar (com.facebook.fresco:flipper:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform stetho-2.2.0.aar (com.facebook.fresco:stetho:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform fresco-2.2.0.aar (com.facebook.fresco:fresco:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform imagepipeline-okhttp3-2.0.0.aar (com.facebook.fresco:imagepipeline-okhttp3:2.0.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform drawee-2.2.0.aar (com.facebook.fresco:drawee:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform nativeimagefilters-2.2.0.aar (com.facebook.fresco:nativeimagefilters:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform memory-type-native-2.2.0.aar (com.facebook.fresco:memory-type-native:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform memory-type-java-2.2.0.aar (com.facebook.fresco:memory-type-java:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform imagepipeline-native-2.2.0.aar (com.facebook.fresco:imagepipeline-native:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform memory-type-ashmem-2.2.0.aar (com.facebook.fresco:memory-type-ashmem:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform imagepipeline-2.2.0.aar (com.facebook.fresco:imagepipeline:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform nativeimagetranscoder-2.2.0.aar (com.facebook.fresco:nativeimagetranscoder:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform imagepipeline-base-2.2.0.aar (com.facebook.fresco:imagepipeline-base:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform soloader-2.2.0.aar (com.facebook.fresco:soloader:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform soloader-0.8.2.aar (com.facebook.soloader:soloader:0.8.2) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform appcompat-1.1.0.aar (androidx.appcompat:appcompat:1.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform appcompat-resources-1.1.0.aar (androidx.appcompat:appcompat-resources:1.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform vectordrawable-animated-1.1.0.aar (androidx.vectordrawable:vectordrawable-animated:1.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform interpolator-1.0.0.aar (androidx.interpolator:interpolator:1.0.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform drawerlayout-1.0.0.aar (androidx.drawerlayout:drawerlayout:1.0.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform vectordrawable-1.1.0.aar (androidx.vectordrawable:vectordrawable:1.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform vectordrawable-1.1.0.aar (androidx.vectordrawable:vectordrawable:1.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform cursoradapter-1.0.0.aar (androidx.cursoradapter:cursoradapter:1.0.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform lifecycle-runtime-2.1.0.aar (androidx.lifecycle:lifecycle-runtime:2.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform lifecycle-runtime-2.1.0.aar (androidx.lifecycle:lifecycle-runtime:2.1.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform fbcore-2.2.0.aar (com.facebook.fresco:fbcore:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml
Failed to transform ui-common-2.2.0.aar (com.facebook.fresco:ui-common:2.2.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2.
> /home/junaid/.gradle/caches/transforms-2/files-2.1/a4189d024420dd536029b177aac411ed/jetified-soloader-0.8.2/AndroidManifest.xml

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 2s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
image

@ha3an-118
Copy link

open cmd and navigate the to root folder of your project and past this into it cd android && gradlew clean

is not working i got same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests