草庐IT

TASK_RUNNING

全部标签

Error running tomcat: Can‘t find catalina.jar

一般出现这种情况都是由于tomcat的相关配置路径不对,直接修改成tomcat配置路径即可解决

安卓工作室 : Gradle Build Running for 3 minutes

我有一个简单的应用程序,每次我点击“运行”时,gradle都需要超过3分钟才能完成构建和加载应用程序。它发生在模拟器和我的安卓手机上。在将此帖子标记为类似帖子之前,请听我说完:自过去10天以来,我一直在努力解决这个问题。我已经经历了20多个stackoverflow类似的问题(likethisone)和谷歌上的几十篇文章,我已经尝试了他们建议的每一个解决方案,但似乎没有任何效果。到目前为止,这是我尝试过的:将org.gradle.parallel=true和org.gradle.daemon=true添加到gradle.properties在命令行选项设置中添加了--parallel和

android - 烦人的 "Errors running builder ' Android 预编译器“关于项目”对话框

这个问题在这里已经有了答案:关闭9年前。PossibleDuplicate:Eclipse/Android:“Errorsrunningbuilder‘AndroidPreCompiler’onproject…”我在Eclipse4.2.1上的Android项目中时常弹出以下错误消息:Title:'Buildingworkspacehasencounteredaproblem.Errorsoccurredduringthebuild.Message:Errorsrunningbuilder'AndroidPreCompiler'onproject'xxxx'.java.lang.Nul

【数据库】mysql-修改密码-error-1290 (HY000): The MySQL server is running with the --skip-grant-tables option

该报错同样适用于MariaDB一、报错信息ERROR1290(HY000):TheMariaDBserverisrunningwiththe--skip-grant-tablesoptionsoitcannotexecutethisstatement二、报错场景修改mysql密码出现的报错。三、解决方式先使用flushprivileges;刷新命令,再修改数据库密码setpasswordforroot@localhost=password('你的密码');

android - 奇怪的 : UNEXPECTED TOP-LEVEL EXCEPTION: Execution failed for task app:dexDebug

我没有实现新的库,但是在编码时出现了这个问题:错误:任务':app:dexDebug'执行失败。com.android.ide.common.internal.LoggedErrorException:Failedtoruncommand:C:\android-sdk\build-tools\21.1.1\dx.bat--dex--no-optimize--outputF:\Android_Donbas\ReDonbasIDEANew\app\build\intermediates\dex\debug--input-list=F:\Android_Donbas\ReDonbasIDEA

android - android studio项目中出现gradle task错误

我的项目运行成功。但是在构建完成后突然出现以下错误。谁能告诉我这是怎么回事?我不知道这个错误。我该如何解决?Error:Aproblemoccurredconfiguringproject':app'.>Couldnotresolvealldependenciesforconfiguration':app:_debugCompile'.>Couldnotfindcom.android.support:cardview-v7:23.2.1.Searchedinthefollowinglocations:https://jcenter.bintray.com/com/android/sup

android - Intent.FLAG_ACTIVITY_NEW_TASK | 如何避免黑屏Intent.FLAG_ACTIVITY_CLEAR_TASK 设置了吗?

在我的android应用程序中,我需要使用Intent.FLAG_ACTIVITY_NEW_TASK|Intent.FLAG_ACTIVITY_CLEAR_TASK设置我的Intent标志。我可以删除我以前的所有Activities并开始一个新的Activity以这种方式。这是我的代码如下:Intentintent=newIntent(Gerenxinxi.this,MainPart.class);intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK|Intent.FLAG_ACTIVITY_CLEAR_TASK);startActivity(in

android - 组织.gradle.api.tasks.TaskExecutionException : Execution failed for task ':transformDexArchiveWithExternalLibsDexMergerForDebug'

我已将我的Unity项目导出到AndroidStudio项目。我想通过Studio将FirebaseMessaging添加到我的项目中,因为统一实现的FirebaseMessaging无法正常工作。所以我将以下代码添加到我的app/build.gradle中,这导致了我所有这些问题。dependencies{...compile('com.google.firebase:firebase-messaging:11.8.0'){excludemodule:'support-v4'}}buildscript{...dependencies{...classpath'com.google.g

java - 错误 :Execution failed for task ':app:transformClassesWithFirebasePerformancePluginForRelease'

我在release模式下编译的时候找不到这个错误的根源。我的印象是没有修改我的代码就出现了这个错误(我尝试返回github但我仍然有这个错误)。Error:Executionfailedfortask':app:transformClassesWithFirebasePerformancePluginForRelease'.java.io.IOException:Thespecifiedpathwasnotfound带有调试标志的Gradle22:36:11.767[错误][FirebasePerformancePlugin]无法检测org/apache/xmlbeans/impl/s

android - 设置 FLAG_ACTIVITY_CLEAR_TASK 后如何避免 startActivity 黑屏?

我正在使用以下内容发起一项新Activity:Intentintent=newIntent(this,MyNewActivity.class);intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK|Intent.FLAG_ACTIVITY_NEW_TASK);startActivity(intent);overridePendingTransition(0,0);当MyNewActivity启动时,显示黑屏。如果我删除Intent.FLAG_ACTIVITY_CLEAR_TASK,Activity启动时不会随时显示黑屏(相反,加载新Activi