-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run App after Mapbox_gl set up due to Basedir not existing for location_web-3.1.1 #821
Comments
the issue is fixed on master. Check #789 for a working settings gradle |
I have tried updating the settings gradle file before and it did not solve this issue. What is the specific version that is working? |
changed it to this?
|
Yes I have tried changing the settings.gradle file to that. Your suggested solution does not work because it causes our application to trigger an error saying we have reached the 64k method limit. Do you know why this change may cause that error to arise? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I currently have followed all of the flutter pub dev documentation for https://pub.dev/packages/mapbox_gl. I have both my public access token and secret token set. However, 'flutter run' keeps failing with this error:
What I currently have in settings.gradle:
I have updated my Info.plist file and AndroidManifest.xml accordingly to pub dev and mapbox_gl documentation according to documentation.
The mapbox_gl documentation does not make it seem like I should be managing my settings.gradle/build.gradle files so I am unsure where else to look for what is causing the problem. I know that some people have suggested the workaround of creating an android folder: C:\dev\flutter.pub-cache\hosted\pub.dartlang.org\location_web-3.1.1\android as well in several path_provider directories, but this is not the production-level solution I am looking for.
The text was updated successfully, but these errors were encountered: