GithubHelp home page GithubHelp logo

Comments (4)

IntegroInfotech avatar IntegroInfotech commented on August 16, 2024 3

plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.9.0" apply false
}

Open settings.gradle file under android directory and update the version to 1.9.0 of id "org.jetbrains.kotlin.android"

This worked for me.

from flutterlocation.

mauricewasswa avatar mauricewasswa commented on August 16, 2024 2

Thanks @faithinker you saved me

from flutterlocation.

faithinker avatar faithinker commented on August 16, 2024 1

I had same Issue But I solved this problem.
It's only appears in the Android OS environment.

There are two solution.

  1. Change to pub location -> geolocator
    It's easy

  2. Fix Bug
    2-1) pub spec add location: ^6.0.1
    2-2) you will encounter below first fix Error.

스크린샷 2024-04-26 오후 2 16 15

2-3) change the minSdkversion in android/app/build.gradle

스크린샷 2024-04-26 오후 2 16 59

2-4) you will encounter below second fix Error.

스크린샷 2024-04-26 오후 2 19 01

2-5) you add buildscript code at android/build.gradle

스크린샷 2024-04-26 오후 2 20 09

2-4) you will same encounter second fix Error.

2-5) And Then you change kotlin.android version in android/settigns.gradle

스크린샷 2024-04-26 오후 2 22 51

And the It's run Success

스크린샷 2024-04-26 오후 2 24 34

from flutterlocation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.