Agontuk / react-native-geolocation-service

React native geolocation service for iOS and android
https://www.npmjs.com/package/react-native-geolocation-service
MIT License
1.6k stars 290 forks source link

A problem occurred configuring project ':react-native-geolocation-service'. #381

Open AhmadAl-Ghalban opened 1 year ago

AhmadAl-Ghalban commented 1 year ago

Environment

Run npx react-native info in your terminal and copy the results here. System: OS: Windows 10 10.0.22000 CPU: (12) x64 Intel(R) Core(TM) i7-9750HF CPU @ 2.60GHz Memory: 4.11 GB / 15.92 GB Binaries: Node: 16.15.1 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD npm: 8.16.0 - C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: API Levels: 23, 27, 28, 29, 30, 31, 33 Build Tools: 28.0.3, 29.0.2, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 33.0.0 System Images: android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom Android NDK: Not Found Windows SDK: Not Found IDEs: Android Studio: AI-212.5712.43.2112.8609683 Visual Studio: 17.2.32630.192 (Visual Studio Community 2022) Languages: Java: 11.0.12 - C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin\javac.EXE npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.66.3 => 0.66.3 react-native-windows: Not Found npmGlobalPackages:

Platforms

Is this issue related to Android, iOS, or both ?Android

Versions

Please add the used versions/branches

Description

Please provide a clear and concise description of what the bug is. Include screenshots if needed. when Run Project Return this Error A problem occurred configuring project ':react-native-geolocation-service'.

Reproducible Demo

Provide a detailed list of steps that reproduce the issue. A problem occurred configuring project ':react-native-geolocation-service'. 1.> Could not load compiled classes for build file 'D:\App\Mobile\node_modules\react-native-geolocation-service\android\build.gradle' from cache. 2.

Expected Results

Describe what you expected to happen. A problem occurred configuring project ':react-native-geolocation-service'. 1.> Could not load compiled classes for build file 'D:\App\Mobile\node_modules\react-native-geolocation-service\android\build.gradle' from cache.

Productivix commented 1 year ago

hi, put your app on the C: drive as the Java machine maybe, instead of D: