如何解决无法建立IdeEventQueue错误的应用程式
我正在尝试重建一个之前没有错误成功构建的应用程序... 我正在使用:
Android Studio 3.5.3 <br/>
Build #AI-191.8026.42.35.6010548,built on November 15,2019<br/>
JRE: 1.8.0_202-release-1483-b03 amd64<br/>
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o<br/>
Windows 10 10.0
现在我有此错误...
EventQueue.isDispatchThread()=false Toolkit.getEventQueue()=com.intellij.ide.IdeEventQueue@677ad257
Current thread: Thread[ApplicationImpl pooled thread 7,4,Idea Thread Group] 81107438
SystemEventQueueThread: Thread[AWT-EventQueue-0 3.5#AI-191.8026.42.35.6010548 Studio,eap:false,os:Windows 10 10.0,java-version:JetBrains s.r.o 1.8.0_202-release-1483-b03,6,Idea Thread Group] 465932904
我检查了我的gradle文件,对我来说好像不对劲
这是我的 build.gradle(应用程序)
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "com.platinum.innovations.paidpad"
minSdkVersion 16
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 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation 'com.google.android.gms:play-services-ads:19.3.0'
}
build.gradle(模块)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Settings.gradle
include ':app'
rootProject.name='PaidPad'
感谢您的帮助
解决方法
经过多次试验...我只是使缓存无效并重新启动...有了Internet连接。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。