Gradle failed to sync with 'unable to find optional library'

前端 未结 9 2382
刺人心
刺人心 2020-12-01 18:24

I had to reinstall my system and today I get this error in Android Studio when I try to sync with gradle:

Warning: Unable to find optional library: org.apach         


        
9条回答
  •  伪装坚强ぢ
    2020-12-01 19:07

    if above solution is not work then try this way

    I experienced this problem recently, and it is caused by the path length restriction I think it´s 256 characters maximum.

    Relocate your Project and the build will succeed.

提交回复
热议问题