GithubHelp home page GithubHelp logo

Comments (8)

erfanegtfi avatar erfanegtfi commented on June 14, 2024 4

This issue not fix yet

from amplitude-flutter.

eleojasmil avatar eleojasmil commented on June 14, 2024 3

Please open this issue.
this is not fixed yet.

it only happen in Android 11.
please update dependencies.

@qingzhuozhen
or at least specify work around

from amplitude-flutter.

qingzhuozhen avatar qingzhuozhen commented on June 14, 2024 1

Hi @aaa59891, that error message is from okhttp3 in android, it could be caused for reflection in okhttp library didn't success. Can you try upgrade the okhttp version and try again? They may already have a fix in new version.

btw @Abhishek01039 yeah, Amplitude-Flutter is free to use. This is developer docs for reference.

from amplitude-flutter.

MahdiGhiasi avatar MahdiGhiasi commented on June 14, 2024 1

We're having the same issue. Is there currently any workaround for this? @qingzhuozhen

from amplitude-flutter.

izaaz avatar izaaz commented on June 14, 2024 1

Here are a couple of workarounds that worked for me. Both involve editing the android/app/build.gradle file

  1. Set the compileSdkVersion to 28
  2. Under dependencies, add the latest version of the okhttp package
dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation "com.squareup.okhttp3:okhttp:4.9.1"
}

from amplitude-flutter.

Abhishek01039 avatar Abhishek01039 commented on June 14, 2024

Hello @aaa59891
Is Amplitude-Flutter is free?
How you setup the server ?

Thanks

from amplitude-flutter.

Abhishek01039 avatar Abhishek01039 commented on June 14, 2024

Thanks @qingzhuozhen

from amplitude-flutter.

justin-fiedler avatar justin-fiedler commented on June 14, 2024

Hello, this is likely related to OkHttps use of reflection. See this answer for more information about OkHttp version and Android API version.

https://stackoverflow.com/a/70357341/5046784

from amplitude-flutter.

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.