- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
重新启动 Android Studio 后,我刚刚在 Android Studio 中从一秒到另一秒收到此错误。现在我不能再建立我的项目了。我在我的 android 项目中使用 Ionic 4 和 Capacitor。
Duplicate class com.google.android.gms.common.ErrorDialogFragment found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.GooglePlayServicesNotAvailableException found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.common.GooglePlayServicesRepairableException found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.common.GooglePlayServicesUtil found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.Scopes found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.common.SignInButton found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.SupportErrorDialogFragment found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.UserRecoverableException found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.common.annotation.KeepName found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.common.api.Api found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.Api$ApiOptions found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.Api$ApiOptions$HasOptions found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.Api$ApiOptions$NoOptions found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.Api$ApiOptions$NotRequiredOptions found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.Api$ApiOptions$Optional found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.Batch found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.Batch$Builder found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.BatchResult found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.BatchResultToken found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.CommonStatusCodes found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.common.api.GoogleApiClient found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.GoogleApiClient$Builder found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.GoogleApiClient$ConnectionCallbacks found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.GoogleApiClient$OnConnectionFailedListener found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.PendingResult found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.api.Releasable found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.common.api.Result found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.common.api.ResultCallback found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.common.api.Scope found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.common.api.Status found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.common.data.DataBuffer found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.data.DataBufferUtils found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.data.DataHolder found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.data.Freezable found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.data.FreezableUtils found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.images.ImageManager found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.images.ImageManager$ImageReceiver found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.images.ImageManager$OnImageLoadedListener found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.images.WebImage found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-base-17.0.0-runtime.jar (com.google.android.gms:play-services-base:17.0.0)
Duplicate class com.google.android.gms.common.internal.safeparcel.SafeParcelable found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.dynamic.LifecycleDelegate found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.location.ActivityRecognition found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.ActivityRecognitionApi found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.ActivityRecognitionClient found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.ActivityRecognitionResult found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.DetectedActivity found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.FusedLocationProviderApi found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.Geofence found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.Geofence$Builder found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.GeofenceStatusCodes found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.GeofencingApi found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.GeofencingEvent found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.LocationListener found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.LocationRequest found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.LocationServices found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.location.LocationStatusCodes found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-location-17.0.0-runtime.jar (com.google.android.gms:play-services-location:17.0.0)
Duplicate class com.google.android.gms.security.ProviderInstaller found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
Duplicate class com.google.android.gms.security.ProviderInstaller$ProviderInstallListener found in modules jetified-google-play-services.jar (google-play-services.jar) and jetified-play-services-basement-17.0.0-runtime.jar (com.google.android.gms:play-services-basement:17.0.0)
ext {
cordovaAndroidVersion = project.hasProperty('cordovaAndroidVersion') ? rootProject.ext.cordovaAndroidVersion : '7.0.0'
}
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 29
defaultConfig {
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 21
targetSdkVersion targetSdkVersion = project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 29
versionCode 1
versionName "1.0"
}
lintOptions {
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
repositories {
google()
jcenter()
mavenCentral()
flatDir{
dirs 'src/main/libs', 'libs'
}
}
dependencies {
implementation fileTree(dir: 'src/main/libs', include: ['*.jar'])
implementation "org.apache.cordova:framework:$cordovaAndroidVersion"
// SUB-PROJECT DEPENDENCIES START
implementation "com.adgem:adgem-android:2.2.0"
implementation "com.android.support:appcompat-v7:+"
// SUB-PROJECT DEPENDENCIES END
}
// PLUGIN GRADLE EXTENSIONS START
apply from: "cordova.variables.gradle"
apply from: "../../node_modules/cordova-plugin-adgatemedia-ads/src/android/build.gradle"
apply from: "../../node_modules/cordova-plugin-offertoro-ads/src/android/build.gradle"
// PLUGIN GRADLE EXTENSIONS END
for (def func : cdvPluginPostBuildExtras) {
func()
}
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
classpath 'com.google.gms:google-services:4.3.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply from: "variables.gradle"
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
最佳答案
我在 Cordova 项目中遇到了这个错误。我通过更改 play-services-location
的版本解决了它图书馆到 17.0.0
在 /platforms/android/project.properties
.
关于android - 在模块 jetified-google-play-services.jar 和 jetified-play-services-base-17.0.0-runtime.jar 中发现重复的类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62009322/
如果我不定义自己的构造函数,Base *b = new Base; 与 Base *b = new Base(); 之间有什么区别吗? 最佳答案 初始化是标准中要遵循的一种 PITA...然而,这两个
是否有现成的函数可以在 C# 中进行基本转换?我希望将以 26 为基数和以 27 为基数的数字转换为以 10 为基数。我可以在纸上完成,但我不是一个非常有经验的程序员,如果可能的话,我宁愿不要从头开始
JNA 中'base'是什么意思 Pointer.getPointerArray(long base) Pointer.getStringArray(long base) ? JNA Document
我正在做一个将数字从 10 进制转换为 2 进制的基本程序。我得到了这段代码: #include #include #include #include using namespace std;
“假设以下代码: public class MultiplasHerancas { static GrandFather grandFather = new GrandFather();
当我分析算法的时候,我突然问自己这个问题,如果我们有三元计算机时间复杂度会更便宜吗?还是有任何基础可以让我们构建计算机,这样时间复杂度分析就无关紧要了?我在互联网上找不到太多,但是基于三元的计算机在给
一个简化的场景。三个类,GrandParent,Parent 和 Child。我想要做的是利用 GrandParent 和 Parent 构造函数来初始化一个 Child 实例。 class Gran
我编写了一个简单的函数来将基数为 10 的数字转换为二进制数。我编写的函数是我使用我所知道的简单工具的最佳尝试。我已经在这个网站上查找了如何执行此操作的其他方法,但我还不太了解它。我确定我编写的函数非
我尝试了以下代码将数字从 base-10 转换为另一个 base。如果目标基地中没有零(0),它就会工作。检查 79 和 3 并正确打印正确的 2221。现在尝试数字 19 和 3,结果将是 21 而
这个问题在这里已经有了答案: Is Big O(logn) log base e? (7 个答案) 关闭 8 年前。 Intro 练习 4.4.6 的大多数解决方案。算法第三版说,n*log3(n)
如何判断基类(B)的指针是否(多态)重写了基类的某个虚函数? class B{ public: int aField=0; virtual void f(){}; }; class C
我测试了这样的代码: class A { public A() { } public virtual void Test () { Console.WriteL
两者都采用相同的概念:定义一些行和列并将内容添加到特定位置。但是 Grid 是最常见的 WPF 布局容器,而 html 中基于表格的布局是 very controversial .那么,为什么 WPF
我试图在 JS 中“获得”继承。我刚刚发现了一种基本上可以将所有属性从一个对象复制到另一个对象的简洁方法: function Person(name){ this.name="Mr or Miss
class A { public override int GetHashCode() { return 1; } } class B : A { pu
我有一个 Base32 信息哈希。例如IXE2K3JMCPUZWTW3YQZZOIB5XD6KZIEQ ,我需要将其转换为base16。 我怎样才能用 PHP 做到这一点? 我的代码如下所示: $ha
我已经使用其实验界面对 Google Analytics 进行了一些实验,一切似乎都运行良好,但我无法找到 Google Analytics 属性如何达到变体目标的答案,即归因 session - 基
if (state is NoteInitial || state is NewNote) return ListView.builder(
MSVC、Clang 和 GCC 不同意此代码: struct Base { int x; }; struct Der1 : public Base {}; struct Der2 : public
我已经尝试构建一个 Base 10 到 Base 2 转换器... var baseTen = window.prompt("Put a number from Base 10 to conver
我是一名优秀的程序员,十分优秀!