Ka8*_*srn 6 android compiler-errors android-studio
所以我看到Android Studio的新更新,我更新了.
虽然我不断收到与服务器问题更相关的错误.但这与我的应用无关.
我的一个应用程序有这个错误 Could not HEAD 'https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-parent/2.2.11/jaxb-parent-2.2.11.pom'. Received status code 504 from server: Gateway Time-out
Enable Gradle 'offline mode' and sync project
我尝试了离线部分,但它没有用.
另一个有这个问题
Could not HEAD 'https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.jar'. Received status code 504 from server: Gateway Time-out
Enable Gradle 'offline mode' and sync project
Run Code Online (Sandbox Code Playgroud)
我很感激任何帮助,因为我有点感谢
//////////
编辑 显然这是一个问题,虽然在这里
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 26
buildToolsVersion '27.0.3'
defaultConfig {
multiDexEnabled true
applicationId "com.reecreate.woderator2"
minSdkVersion 19
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
// resConfigs "auto"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation 'com.android.support:multidex:1.0.1'
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.google.firebase:firebase-auth:11.8.0'
implementation 'com.android.support:design:26.1.0'
implementation 'com.google.firebase:firebase-core:11.8.0'
implementation 'com.google.firebase:firebase-firestore:11.8.0'
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.firebaseui:firebase-ui-auth:3.1.0'
implementation 'com.facebook.android:facebook-login:4.27.0'
implementation 'com.facebook.android:facebook-android-sdk:4.27.0'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.github.charbgr:authmanager:1.0'
implementation 'com.github.warkiz.widget:indicatorseekbar:1.2.9'
testImplementation 'junit:junit:4.12'
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.1', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
apply plugin: 'com.google.gms.google-services'
Run Code Online (Sandbox Code Playgroud)
虽然现在我运行我的应用程序时遇到此错误(或尝试)"09:54错误运行'app':未知错误"
我更新到3.1后也遇到同样的问题。但这似乎是一个暂时的问题,因为我尝试使用浏览器访问 502 URL,并且可以加载它。再次尝试同步我的项目后,502 URL 是一个新的。可能更新的人太多,导致负载问题。
编辑:三个小时后,对我来说一切都很好。无需回滚任何东西。已确认临时问题:)
归档时间: |
|
查看次数: |
1049 次 |
最近记录: |