gradle, Could not expand ZIP appcompat-v7:19.0.1

后端 未结 16 2153
离开以前
离开以前 2020-12-01 16:10

I have a problem with Android Studio and Gradle to import appcompat-v7.

So here is my src/build.gradle:

apply plugin: \'andro         


        
相关标签:
16条回答
  • 2020-12-01 16:44

    I'm an Ubuntu user and I had the same problem. I followed pyus13's answer and I gave the write permissions to the project folder instead of giving it to android-studio and android-sdk-linux. Also, the command
    sudo chmod 7777 /your/project/path
    didn't work. But,
    sudo chmod 757 -R /your/project/path
    worked perfectly.

    0 讨论(0)
  • 2020-12-01 16:48

    For me the issue was with the folder that the file was being unzipped to. Deleting that and running the build again sorted it out

    0 讨论(0)
  • 2020-12-01 16:49

    Follow these Steps and make Build Successful

    1. cd android cd android/
    2. gradlew clean ./gradlew clean
    3. cd ..
    4. react-native run-android
    0 讨论(0)
  • 2020-12-01 16:50

    in my case it was the AAR too large,and i don't use the git lfs

    0 讨论(0)
提交回复
热议问题