我的应用程序上的 Android Studio 警告:app:stripDebugDebugSymbols UP-TO-DATE
Posted
技术标签:
【中文标题】我的应用程序上的 Android Studio 警告:app:stripDebugDebugSymbols UP-TO-DATE【英文标题】:Android Studio Warning on my app: app:stripDebugDebugSymbols UP-TO-DATE 【发布时间】:2021-01-23 00:10:39 【问题描述】:我正在尝试删除我的应用程序中的警告,但这是一个我无法删除的警告...我真的不知道这意味着什么,如果您有任何想法,请告诉我。非常感谢!
> Task :app:stripDebugDebugSymbols WARNING: Compatible side by side NDK version was not found. Default is 20.0.5594570. Compatible side by side NDK version was not found. Default is 20.0.5594570. Unable to strip the following libraries, packaging them as they are: libpl_droidsonroids_gif.so, libpl_droidsonroids_gif.so,
libpl_droidsonroids_gif.so、libpl_droidsonroids_gif.so、 libpl_droidsonroids_gif.so、libpl_droidsonroids_gif.so、 libpl_droidsonroids_gif.so.
> Task :app:mergeExtDexDebug > Task :app:packageDebug > Task :app:assembleDebug > Task :app:stripDebugDebugSymbols UP-TO-DATE WARNING: Compatible side by side NDK version was not found. Default is 20.0.5594570. Compatible side by side NDK version was not found. Default is 20.0.5594570. Compatible side by side NDK version was not found. Default is 20.0.5594570.
这是我的 build.gradle(模块)
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig
applicationId "com.myapp.android"
minSdkVersion 24
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
dependencies
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
implementation "com.synnapps:carouselview:0.1.5"
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.android.volley:volley:1.1.1'
implementation 'com.google.code.gson:gson:2.8.6'
implementation "androidx.recyclerview:recyclerview:1.1.0"
implementation 'androidx.cardview:cardview:1.0.0'
implementation "androidx.navigation:navigation-fragment-ktx:2.3.0"
implementation "androidx.navigation:navigation-ui-ktx:2.3.0"
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.makeramen:roundedimageview:2.3.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'com.github.Shashank02051997:FancyGifDialog-Android:1.2'
implementation 'com.github.thomper:sweet-alert-dialog:1.4.0'
implementation 'com.github.shadowalker77:wp7progressbar:1.0.5'
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.google.android.gms:play-services-location:17.1.0'
implementation 'com.karumi:dexter:6.1.2'
implementation 'com.google.android.libraries.places:places:2.4.0'
implementation 'com.facebook.android:facebook-login:5.15.3'
implementation 'androidx.core:core-ktx:1.3.2'
implementation 'com.faltenreich:skeletonlayout:1.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
【问题讨论】:
【参考方案1】:您必须在“项目设置”->“SDK 位置”->“Android NDK 位置”中配置您的 NDK。 如果您还没有 NDK,请转到工具 -> SDK 管理器 -> 选项卡“SDK 工具”并选择 NDK(并排)。
【讨论】:
【参考方案2】:通过添加 ndkVersion 修改 app/build.gradle。我用过以下版本。您必须使用兼容版本“20.0.5594570”
【讨论】:
以上是关于我的应用程序上的 Android Studio 警告:app:stripDebugDebugSymbols UP-TO-DATE的主要内容,如果未能解决你的问题,请参考以下文章
我的应用程序上的 Android Studio 警告:app:stripDebugDebugSymbols UP-TO-DATE
内存不足错误:Android Studio 上的 Java 堆内存
Android Studio:应用模块所有类上的 NoClassDefFoundError
在 Android Studio 中查看设备上的 SQLite 数据库