ARTICLE AD BOX
I am uploading my apps to play store and it says that older android version like android 12 will not compatible to install the apps and I also get notif to re update the apps becase 16KB memory page size. I have tried to update my gradle n yaml. but I think I still have some issues with 16KB memory page size. I am using ext.kotlin_version = '2.0.21' here is my android/app/build.gradle
buildscript { repositories { maven { url 'https://plugins.gradle.org/m2/' } // Gradle Plugin Portal } dependencies { classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.10, 0.99.99]' } } plugins { id "com.android.application" id "kotlin-android" id "dev.flutter.flutter-gradle-plugin" } def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) } } def flutterRoot = localProperties.getProperty('flutter.sdk') if (flutterRoot == null) { throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") } def flutterVersionCode = localProperties.getProperty('flutter.versionCode') if (flutterVersionCode == null) { flutterVersionCode = '1' } def flutterVersionName = localProperties.getProperty('flutter.versionName') if (flutterVersionName == null) { flutterVersionName = '1.0' } def keystoreProperties = new Properties() def keystorePropertiesFile = rootProject.file('key.properties') if (keystorePropertiesFile.exists()) { keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) } android { namespace "com.hello.hello" compileSdk 35 ndkVersion "28.2.13676358" compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = '17' } java { toolchain { languageVersion = JavaLanguageVersion.of(17) } } sourceSets { main.java.srcDirs += 'src/main/kotlin' } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.hello.hello" minSdkVersion 23 targetSdkVersion 35 versionCode flutterVersionCode.toInteger() versionName flutterVersionName // ndk { // abiFilters "arm64-v8a" // } } signingConfigs { release { ... } } buildTypes { release { signingConfig signingConfigs.release } } } flutter { source '../..' } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib" implementation "androidx.core:core-ktx:1.13.1" implementation "androidx.multidex:multidex:2.0.1" implementation 'com.google.android.gms:play-services-location:21.3.0' implementation "com.onesignal:OneSignal:5.2.+" implementation platform('com.google.firebase:firebase-bom:33.7.0') implementation 'com.google.firebase:firebase-messaging' implementation 'com.google.firebase:firebase-crashlytics' implementation 'com.google.firebase:firebase-perf' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' } apply plugin: 'com.google.gms.google-services'and here is my yaml
cupertino_icons: ^1.0.4 http: ^1.3.0 shared_preferences: ^2.5.3 provider: ^6.0.5 intl: ^0.20.2 image_picker: ^1.0.4 geolocator: ^14.0.2 flutter_map: ^8.2.2 sqflite: ^2.0.2 local_auth: ^2.1.7 date_picker_timeline: ^1.2.5 image_cropper: ^11.0.0 ntp: ^2.0.0 timezone: ^0.10.1 package_info_plus: ^8.3.0 url_launcher: ^6.0.20 flutter_udid: ^4.1.1 webview_flutter: ^4.2.4 qr_code_scanner_plus: ^2.0.10+1 device_info_plus: ^9.0.3 flutter_markdown: ^0.7.7+1 connectivity_plus: ^7.0.0 permission_handler: ^11.0.1 photo_view: ^0.15.0 google_fonts: ^6.3.2 detect_fake_location: ^2.3.0 safesecurelibs: ^2.1.2+5 onesignal_flutter: ^5.1.5 path_provider: ^2.1.1 firebase_core: ^4.3.0 firebase_remote_config: ^6.1.3 firebase_crashlytics: ^5.0.6when I build app.bundle here is the result :
==== lib/armeabi-v7a/libflutter.so ==== LOAD 0x000000 0x00000000 0x00000000 0x2a459c 0x2a459c R 0x10000 LOAD 0x2a4600 0x002b4600 0x002b4600 0x4c92f0 0x4c92f0 R E 0x10000 LOAD 0x76d8f0 0x0078d8f0 0x0078d8f0 0x35068 0x35710 RW 0x10000 LOAD 0x7a2958 0x007d2958 0x007d2958 0x00f30 0x0a324 RW 0x10000 ==== lib/armeabi-v7a/libapp.so ==== LOAD 0x000000 0x00000000 0x00000000 0x3d6782 0x3d6782 R 0x4000 LOAD 0x3d8000 0x003d8000 0x003d8000 0x52ebc0 0x52ebc0 R E 0x4000 LOAD 0x908000 0x00908000 0x00908000 0x00040 0x00040 RW 0x4000 ==== lib/armeabi-v7a/libdatastore_shared_counter.so ==== LOAD 0x000000 0x00000000 0x00000000 0x00a90 0x00a90 R E 0x4000 LOAD 0x000a90 0x00004a90 0x00004a90 0x00118 0x00118 RW 0x4000 ==== lib/x86/libdatastore_shared_counter.so ==== LOAD 0x000000 0x00000000 0x00000000 0x00e10 0x00e10 R E 0x4000 LOAD 0x000e10 0x00004e10 0x00004e10 0x00114 0x00114 RW 0x4000 ==== lib/arm64-v8a/libflutter.so ==== LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x47ea5c 0x47ea5c R 0x10000 LOAD 0x47ea80 0x000000000048ea80 0x000000000048ea80 0x5da560 0x5da560 R E 0x10000 LOAD 0xa58fe0 0x0000000000a78fe0 0x0000000000a78fe0 0x066030 0x067020 RW 0x10000 LOAD 0xabf010 0x0000000000aef010 0x0000000000aef010 0x001b50 0x013058 RW 0x10000 ==== lib/arm64-v8a/libapp.so ==== LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x33abf2 0x33abf2 R 0x10000 LOAD 0x340000 0x0000000000340000 0x0000000000340000 0x4d6c10 0x4d6c10 R E 0x10000 LOAD 0x820000 0x0000000000820000 0x0000000000820000 0x000080 0x000080 RW 0x10000 ==== lib/arm64-v8a/libdatastore_shared_counter.so ==== LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0011c0 0x0011c0 R E 0x4000 LOAD 0x0011c0 0x00000000000051c0 0x00000000000051c0 0x000268 0x000268 RW 0x4000 LOAD 0x001428 0x0000000000009428 0x0000000000009428 0x000000 0x000001 RW 0x4000 ==== lib/x86_64/libflutter.so ==== LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x49b0a0 0x49b0a0 R 0x10000 LOAD 0x49b0c0 0x00000000004ab0c0 0x00000000004ab0c0 0x6cc100 0x6cc100 R E 0x10000 LOAD 0xb671c0 0x0000000000b871c0 0x0000000000b871c0 0x064d60 0x064e40 RW 0x10000 LOAD 0xbcbf20 0x0000000000bfbf20 0x0000000000bfbf20 0x002c28 0x0147b8 RW 0x10000 ==== lib/x86_64/libapp.so ==== LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x339692 0x339692 R 0x10000 LOAD 0x340000 0x0000000000340000 0x0000000000340000 0x4ef7d0 0x4ef7d0 R E 0x10000 LOAD 0x830000 0x0000000000830000 0x0000000000830000 0x000080 0x000080 RW 0x10000 ==== lib/x86_64/libdatastore_shared_counter.so ==== LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x000f20 0x000f20 R E 0x4000 LOAD 0x000f20 0x0000000000004f20 0x0000000000004f20 0x000228 0x000228 RW 0x4000is there something that I miss to update gradle or any other else
I also open this question in https://github.com/flutter/flutter/issues/180832
2,5459 gold badges51 silver badges98 bronze badges
Explore related questions
See similar questions with these tags.
