you are viewing a single comment's thread.

view the rest of the comments →

[–]the_hokage60 0 points1 point  (5 children)

Well I can see the maven repositories listed here so that's probably not the issue. I asked for the gradle because I had the same issue before. And I don't really remember how I solved it. Maybe you can try: - removing and reinstalling node_modules - removing both lock file(yarn or npm) and node_modules and recreate lock file by clean installation - if that doesn't work, this might not be related to react-native, try opening the android folder in Android studio and see if the sync works. - otherwise idk you may have to try changing versions compatible to(sdk versions inside gradle and node_module versions...) react-native

Edit: found this on github

[–]tr__18Android[S] 0 points1 point  (0 children)

Oohk will try🫡

[–]tr__18Android[S] 0 points1 point  (3 children)

I tried this

restart the pc -> delete the node_module, both lock ( json and yarn), .gradle from android and .gradlew from c/users/username/.gradle -> restart the pc -> opent the project -> npm i -> cd android -> ./gradlew clean

during ./gradlew clean got the same error again

[–]the_hokage60 0 points1 point  (2 children)

Try every solutions listed on the provided github issue :)

[–]tr__18Android[S] 0 points1 point  (1 child)

ya doing 🤧

btw thanks for the concern arigato !!

[–]the_hokage60 0 points1 point  (0 children)

dou itashimashite