Cannont resolve symbol JSONObject (Android Studio)

后端 未结 1 2064
谎友^
谎友^ 2021-02-20 17:48

I have spent two days in this. I can work with other PC, but my Android Studio doesn´t import the library, I took two captures:

As yo can see in the first picture, Andr

1条回答
  •  萌比男神i
    2021-02-20 18:17

    I´ll respond to the future, if someone has the same error:

    I did this (Thaks to Bigdestroyer):

    File -> Invalidate caches/Restart -> Invalidate and Restart 
    

    You can try to delete ~/.gradle/caches directory to force re-download the dependencies.

    Now its works perfect. Thanks !!!!

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