jjzjj

implementation

全部标签

android - "deps"中的 "implementation deps.support.app_compat"是什么?

我正在查看新架构组件的google示例,在那里我找到了如下代码:dependencies{//Supportlibrariesimplementationdeps.support.app_compatimplementationdeps.support.v4implementationdeps.support.designimplementationdeps.support.cardview//Architecturecomponentsimplementationdeps.lifecycle.runtimeimplementationdeps.lifecycle.extensions

android - targetSDK 28 应该使用什么版本的支持库?

我正在经历这个article,它说将项目的compileSdkVersion和targetSdkVersion更新为API28。所以我做了,但是支持库给出了错误,比如支持库不应该使用与compileSdk版本不同的版本我尝试将其更新到28.0.0,但它不起作用并显示解析失败:com.android.support:appcompat-v7:28.0.0我知道它仍然可以与27.1.1一起使用,但正确的版本是什么,不会给出红色下划线?编辑build.gradle文件applyplugin:'com.android.application'applyplugin:'kotlin-androi

android - 程序类型已经存在 : com. google.android.gms.common.util.VisibleForTesting -':app:transformDexArchiveWithExternalLibsDexMergerForDebug'

这个问题在这里已经有了答案:Compilationfailedtocomplete:Programtypealreadypresent:com.google.android.gms.internal.measurement.zzabn(8个答案)关闭3年前。每当我尝试在AndroidStudio3.1.2中运行程序时,我都会收到此错误。程序类型已经存在:com.google.android.gms.common.util.VisibleForTesting消息{kind=ERROR,text=程序类型已经存在:com.google.android.gms.common.util.Vis

android - StorageServiceAccountSample 应用程序报告 "KeyStore JKS implementation not found"

StorageServiceAccountSample的第一行HTTP_TRANSPORT=GoogleNetHttpTransport.newTrustedTransport();导致“找不到KeyStoreJKS实现”:W/System.err(20142):java.security.KeyStoreException:java.security.NoSuchAlgorithmException:KeyStoreJKSimplementationnotfoundW/System.err(20142):atjava.security.KeyStore.getInstance(Key

android - 将依赖项迁移到 Android Jetpack

所以我一直在将我的依赖项从支持库迁移到Jetpack映射,如thislink中所述.我现在在构建我的应用程序时遇到了一个错误,这让我一头雾水。我不知道是什么原因导致此错误,因为它看起来像是生成的资源。错误是:AndroidresourcelinkingfailedOutput:C:\Users\Ruben\Documents\Bowvie\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:8673:error:expectedreferencebutgot(rawst

android - 解决错误 : cannot access Publisher in Android Studio?

我在编译代码时遇到此错误:谁能帮我解决这个错误或者是什么导致了这个错误?Edit1:项目的Gradle文件。并且上面的问题附有错误日志,请查收。importcom.google.gms.googleservices.GoogleServicesPluginapplyplugin:'com.android.application'applyplugin:'io.fabric'android{compileSdkVersion28buildToolsVersion'28.0.3'defaultConfig{applicationId"com.veblr.videomate"minSdkVe

android - 错误 : "Program type already present: androidx.versionedparcelable.CustomVersionedParcelable"

我遇到以下错误-->错误:程序类型已存在:androidx.versionedparcelable.CustomVersionedParcelable当我点击Builderrors时,它会向我显示:AGPBI:{"kind":"error","text":"Programtypealreadypresent:androidx.versionedparcelable.CustomVersionedParcelable","sources":[{}],"tool":"D8"}:app:transformDexArchiveWithExternalLibsDexMergerForDebugF

android - gms :play-services-vision and firebase 版本冲突

我已经安装了react-native-firebase和react-native-camera。当play-services-vision停留在12.0.1时,相机很好,但我遇到了这个错误(ErrorupdatingpropertygoogleVisionBarcodeDetectorEnable)https://github.com/react-native-community/react-native-camera/issues/1844需要升级到15.0.2。当play-services-vision从12.0.115.0.2时,GooglePlay服务和Firebase似乎存在

android - FirebaseInstanceId : Google Play services missing or without correct permission

我的应用程序总是崩溃,但我不知道为什么。谁能告诉我我的Gradle:applyplugin:'com.android.application'android{compileSdkVersion27defaultConfig{applicationId"com.securitytechno2018"minSdkVersion16targetSdkVersion26versionCode1versionName"1.0"testInstrumentationRunner"android.support.test.runner.AndroidJUnitRunner"multiDexEnabl

android - 以下任务之间的循环依赖

我尝试了5个多小时来解决这个问题。可能是什么问题?Circulardependencybetweenthefollowingtasks::app:checkManifestChangesDevelopDebug\---:app:instantRunMainApkResourcesDevelopDebug\---:app:transformClassesAndDexWithShrinkResForDevelopDebug\---:app:transformDexArchiveWithDexMergerForDevelopDebug+---:app:preColdswapDevelopDe