[google_mlkit_entity_extraction] Release dev solve solve Android 16 KB Issue
Describe your issue. If applicable, add screenshots to help explain your problem.
Currently we see the 16 KB Warning using latest google_mlkit_entity_extraction. If we use reference the current develop instead of the official 0.15 release, the warning is disappeared. It seems that https://github.com/flutter-ml/google_ml_kit_flutter/pull/806 did resolve the issue. Plz release an updated version of google_mlkit_entity_extraction.
Steps to reproduce.
- Upload aab to PlayStore
- Check 'Memory page size' -> 'Does not support 16 KB'
What is the expected result?
Should support 16 KB Page Size.
Did you try our example app?
No
Is it reproducible in the example app?
No
Reproducible in which OS?
Android
Flutter/Dart Version?
Flutter 3.32.8
Plugin Version?
google_mlkit_entity_extraction: ^0.15.0
any updates ?
Please! update google_ml_kit_flutter for flutter
Hi, thank you for maintaining this awesome plugin! I'm also facing the 16 KB issue on Android and waiting for the fix mentioned here. Any updates or ETA on when this will be addressed in the next release? Appreciate all your hard work!
@fbernaly any update? Thanks.
Describe your issue. If applicable, add screenshots to help explain your problem.
Currently we see the 16 KB Warning using latest google_mlkit_entity_extraction. If we use reference the current develop instead of the official 0.15 release, the warning is disappeared. It seems that #806 did resolve the issue. Plz release an updated version of google_mlkit_entity_extraction.
Steps to reproduce.
- Upload aab to PlayStore
- Check 'Memory page size' -> 'Does not support 16 KB'
What is the expected result?
Should support 16 KB Page Size.
Did you try our example app?
No
Is it reproducible in the example app?
No
Reproducible in which OS?
Android
Flutter/Dart Version?
Flutter 3.32.8
Plugin Version?
google_mlkit_entity_extraction: ^0.15.0
======================
My Project flutter:
- flutter: 3.32.4
- Android:
- NDK = "29.0.14206865" (NDK must above 28r)
- Grader Wrapper: distributionUrl=https://services.gradle.org/distributions/gradle-8.7-all.zip
- plugin(setting.gradle): id "com.android.application" version "8.6.0" apply false
You can update in $HOME/.pub-cache/hosted/pub.dev/google_mlkit_barcode_scanning-0.12.0/android/build.gradle,
Best Practice install package (google_mlkit_barcode_scanning) locally and modify part build.gradle
We can use tool that use Android Studio and shellscript these two tools can pre-validate verify pass 16KB page size, furthur information you check here
I try to use shellscirpt and Android Studio result look like ok
But When I upload aab file to play console:
So below is the solution I try check all dependency I used in my project then I found something interesting in these two dependency => google_mlkit_barcode_scanning and google_mlkit_commons:
Then:
group 'com.google_mlkit_barcode_scanning'
version '1.0'
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
}
}
apply plugin: 'com.android.library'
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'com.google_mlkit_barcode_scanning'
}
compileSdk 34
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
minSdkVersion 21
}
}
dependencies {
//noinspection Aligned16KB
implementation 'com.google.mlkit:barcode-scanning:17.3.0'
}
Result in Play Console:
Before Fix:
After Fix:
Hope my small comment can help you !
@test0terter0n Any Update on this? Anybody working for a new release?
@AbhiCodebugger I did not see any activity. we use fork of current dev version
@test0terter0n do you have version which solving the 16KB issue you can share?
@Yaronkr just fork current dev ;) https://github.com/flutter-ml/google_ml_kit_flutter/pull/806 is already merged
@test0terter0n great, thanks for sharing.
This issue is stale because it has been open for 30 days with no activity.