2025-09-08升级问题记录:app提示“此应用专为旧版Android打造..”或“此应用与最新版 Android 不兼容”

Bug排查日记 10w+人浏览 187人参与

一、提示       

        APP过低时会有两个提示:

1、此应用与最新版 Android 不兼容。请检查是否有更新,或与应用开发者联系。

2、此应用专为旧版 Android 系统打造。它可能无法正常运行,也不包含最新的安全和隐私保护功能。请检查是否有更新,或与应用开发者联系。

二、原因:

从安卓源码中可以搜索到

三、解决方法:

        针对第一个错误:与最新版 Android 不兼容。

        需要升级原生库,即so文件,增加64位原生库方可,并在编译时增加。因为大部分的手机需要app支持64位,纯32位的app会逐渐淘汰。

abiFilters "armeabi", "armeabi-v7a", "arm64-v8a"  

       针对第二个错误:专为旧版 Android 系统打造。

       需要升级应用的Target SDK。因为app的TargetSDK与硬件的SDK差距过大,才会提示。

Configuration `:app:debugRuntimeClasspath` contains AndroidX dependencies, but the `android.useAndroidX` property is not enabled, which may cause runtime issues. Set `android.useAndroidX=true` in the `gradle.properties` file and retry. The following AndroidX dependencies are detected: :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.activity:activity:1.6.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.annotation:annotation:1.3.0 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.appcompat:appcompat-resources:1.6.1 -> androidx.collection:collection:1.1.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.core:core:1.9.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.annotation:annotation-experimental:1.3.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.core:core:1.9.0 -> androidx.concurrent:concurrent-futures:1.0.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.lifecycle:lifecycle-runtime:2.5.1 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.lifecycle:lifecycle-runtime:2.5.1 -> androidx.arch.core:core-common:2.1.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.lifecycle:lifecycle-runtime:2.5.1 -> androidx.arch.core:core-runtime:2.1.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.lifecycle:lifecycle-runtime:2.5.1 -> androidx.lifecycle:lifecycle-common:2.5.1 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.core:core:1.9.0 -> androidx.versionedparcelable:versionedparcelable:1.1.1 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.core:core-ktx:1.9.0 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.lifecycle:lifecycle-viewmodel:2.5.1 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.fragment:fragment:1.3.6 -> androidx.lifecycle:lifecycle-viewmodel-savedstate:2.5.1 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.fragment:fragment:1.3.6 -> androidx.lifecycle:lifecycle-livedata-core:2.5.1 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.savedstate:savedstate:1.2.0 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.activity:activity:1.6.0 -> androidx.tracing:tracing:1.0.0 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.appcompat:appcompat-resources:1.6.1 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.vectordrawable:vectordrawable:1.1.0 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.appcompat:appcompat-resources:1.6.1 -> androidx.vectordrawable:vectordrawable-animated:1.1.0 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.appcompat:appcompat-resources:1.6.1 -> androidx.vectordrawable:vectordrawable-animated:1.1.0 -> androidx.interpolator:interpolator:1.0.0 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.cursoradapter:cursoradapter:1.0.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.drawerlayout:drawerlayout:1.1.1 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.drawerlayout:drawerlayout:1.1.1 -> androidx.customview:customview:1.1.0 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.emoji2:emoji2:1.2.0 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.emoji2:emoji2:1.2.0 -> androidx.lifecycle:lifecycle-process:2.4.1 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.emoji2:emoji2:1.2.0 -> androidx.startup:startup-runtime:1.1.1 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.emoji2:emoji2-views-helper:1.2.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.fragment:fragment:1.3.6 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.fragment:fragment:1.3.6 -> androidx.viewpager:viewpager:1.0.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.fragment:fragment:1.3.6 -> androidx.loader:loader:1.0.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.fragment:fragment:1.3.6 -> androidx.loader:loader:1.0.0 -> androidx.lifecycle:lifecycle-livedata:2.0.0 :app:debugRuntimeClasspath -> androidx.appcompat:appcompat:1.6.1 -> androidx.resourceinspection:resourceinspection-annotation:1.0.1 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.cardview:cardview:1.0.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.coordinatorlayout:coordinatorlayout:1.1.0 :app:debugRuntimeClasspath -> androidx.constraintlayout:constraintlayout:2.1.4 :app:debugRuntimeClasspath -> androidx.constraintlayout:constraintlayout:2.1.4 -> androidx.constraintlayout:constraintlayout-core:1.0.4 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.dynamicanimation:dynamicanimation:1.0.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.dynamicanimation:dynamicanimation:1.0.0 -> androidx.legacy:legacy-support-core-utils:1.0.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.dynamicanimation:dynamicanimation:1.0.0 -> androidx.legacy:legacy-support-core-utils:1.0.0 -> androidx.documentfile:documentfile:1.0.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.dynamicanimation:dynamicanimation:1.0.0 -> androidx.legacy:legacy-support-core-utils:1.0.0 -> androidx.localbroadcastmanager:localbroadcastmanager:1.0.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.dynamicanimation:dynamicanimation:1.0.0 -> androidx.legacy:legacy-support-core-utils:1.0.0 -> androidx.print:print:1.0.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.recyclerview:recyclerview:1.1.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.transition:transition:1.2.0 :app:debugRuntimeClasspath -> com.google.android.material:material:1.9.0 -> androidx.viewpager2:viewpager2:1.0.0
08-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值