今天,我打开Android Studio,然后我收到此错误。昨天,没有问题!
错误:任务':app:processDebugResources'执行失败。
错误:包含名称为“com.google.android.gms.license”的多个库
com.google.android.gms:play-services-xxx库
11.8.0
Onesignal图书馆
'com.onesignal:OneSignal:[ 3.6.2 ,3.99.99]'
然后我将它们更改为最新版本。
现在App / Gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.google.gms:google-services:3.1.1'
// classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
项目/摇篮:
with open(leaderboarddetails) as f:
data = f.readlines()
print("Here are all the current results:")
print('\n')
print(data)
但我仍然得到上述相同的错误。我怎么解决这个问题?为什么会出现这个问题今天没有问题,昨天?