Code Monkey home page Code Monkey logo

Comments (7)

baoluchuling avatar baoluchuling commented on September 25, 2024

same question. Looking forward to a sulotion.

from airship-flutter.

Ulrico972 avatar Ulrico972 commented on September 25, 2024

Hello,
That error looks like a proguard issue. Could you send us your build.gradle files along with your proguard rules files to verify please ?
Also, did you notice the issue on other Android versions or is it specific to under Android 7 versions ?

from airship-flutter.

k1r3zz avatar k1r3zz commented on September 25, 2024

Hello, That error looks like a proguard issue. Could you send us your build.gradle files along with your proguard rules files to verify please ? Also, did you notice the issue on other Android versions or is it specific to under Android 7 versions ?

hello,
We use android default proguard,and this error only occurs under android 7,this is system proguard,and my build.gradle part code
proguard-android.txt

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
minSdkVersion 21
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
ndk{
abiFilters "armeabi-v7a" ,"arm64-v8a"
}
multiDexEnabled true

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
    debug {
        signingConfig signingConfigs.debugConfig
    }
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
        signingConfig signingConfigs.release
        shrinkResources false
    }
}

from airship-flutter.

Ulrico972 avatar Ulrico972 commented on September 25, 2024

I thought it would be proguard but since the minify is disabled, I doubt it. Could you also send us your proguard-rules.pro file ?
I wonder also if it could be related to the multiDex.

Do you want to jump on a call to check the code and do some tests removing the proguard and the multiDex ?

from airship-flutter.

k1r3zz avatar k1r3zz commented on September 25, 2024

我认为这将是 proguard,但由于 minify 被禁用,我对此表示怀疑。您能否也将您的 proguard-rules.pro 文件发送给我们? 我还想知道它是否与 multiDex 有关。

您是否想立即调用以检查代码并进行一些删除 proguard 和 multiDex 的测试?

minifyEnabled is false and We didn't put proguard-rules.pro,this is system generated code

from airship-flutter.

k1r3zz avatar k1r3zz commented on September 25, 2024

我认为这将是 proguard,由于缩小被禁止,我表示怀疑。但您也可以将您的 proguard-rules.pro 文件发送给? 我还想知道它是否与 multiDex 有关。

您是否想立即调用以检查代码并进行一些删除 proguard 和 multiDex 的测试?

We found this problem on firebase. Since all the models were below android 7, we did not find this problem on any of our test machines

from airship-flutter.

Ulrico972 avatar Ulrico972 commented on September 25, 2024

Could you share some stats about the crash please ? How many users impacted ? How many occurrences ? Is there a specific kind of devices impacted ?

from airship-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.