Baseflow / Baseflow/flutter-geolocator

[Question]: Execution failed for task ':geolocator_android:javaPreCompileDebug'.

Open
#1,318 0 comments 0 reactions 0 assignees View on GitHub
P3 platform: android type: question
Dominant language
Dart
Stars
1.3k
Forks
803
Avg merge
8h 16m
Merged PRs (30d)
1

Description

### Please check the following before submitting a new issue.

- [X] I have searched the [existing issues](https://github.com/baseflow/flutter-geolocator/issues).
- [X] I have carefully [read the documentation](https://github.com/baseflow/flutter-geolocator/blob/main/geolocator/README.md).

### Please select for which platform(s) you need help

- [X] Android
- [X] iOS
- [ ] Linux
- [ ] macOS
- [ ] Web
- [ ] Windows

### Your question

when I am adding the geolocator to the pubspec.yaml and running the app I am facing this error in the image before even writing the code and when I wrote every thing with the permission on android manifest.xml also the error still , so if you can help me in solving this error please
![The image of the error](https://github.com/Baseflow/flutter-geolocator/assets/136616822/607dcb2f-08ec-4e8d-87db-939323e09e7e)

### Version

3.3.10 for flutter / 2.18.6 for dart/ ^10.0.0 for geolocator

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked error image and reproducing the failure after adding geolocator ^10.0.0 to pubspec.yaml on Android. Check the Android setup, including android manifest.xml, and compare the project’s Flutter 3.3.10 and Dart 2.18.6 versions. Done means the app builds past javaPreCompileDebug with the dependency and required permissions configured.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.