kirillzyusko / react-native-wifi-p2p

Library that provide access for working with wi-fi direct (p2p) module in android.
164 stars 32 forks source link

Could not resolve all files for configuration ':react-native-wifi-p2p:classpath' #58

Closed aminisaeed closed 1 year ago

aminisaeed commented 1 year ago

hi it install without problem but when i want to run on simulator this error apear: Could not resolve all files for configuration ':react-native-wifi-p2p:classpath'. > Could not find builder-3.3.0.jar (com.android.tools.build:builder:3.3.0). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.3.0/builder-3.3.0.jar

when i check the "Could not find builder-3.3.0.jar" address it was 404 not found how should i solve this problem? I need this library

kirillzyusko commented 1 year ago

Hi @aminisaeed I clicked a link and a download has begun. Maybe something is wrong with your network configuration and it can not download because the resource is blocked? Or maybe the page was under temporary maintenance? What happens if you follow the link?

aminisaeed commented 1 year ago

image

result for me

kirillzyusko commented 1 year ago

@aminisaeed weird, but when I click on it - download begins 🤷‍♂️

image
aminisaeed commented 1 year ago

The problem was from my VPN I can download it with chrome but the speed was very slow

Now I have that file (30Mb) and again in the react native run android that error appears, and can't download this file

where should I put that file(builder.3.3.0.jar 30Mb) ? That in the installation react detect it and use it instead of download it? In which folder???

kirillzyusko commented 1 year ago

@aminisaeed could you try this? https://stackoverflow.com/a/10834567/9272042

aminisaeed commented 1 year ago

The problem solved The error was from my VPN and connection

kirillzyusko commented 1 year ago

Awesome! I'm closing the issue.