草庐IT

TASK_RUNNING

全部标签

android - 错误 : Execution failed for task ': app: processDebugGoogleServices

我在AndroidStudio中有一个错误。新建activity空白应用,我添加“build.gradle(project)”dependencies{classpath'com.android.tools.build:gradle:2.0.0-alpha9'classpath'com.google.gms:google-services:2.0.0-alpha9'}在“build.gradle(app)”中dependencies{compileFileTree(dir:'libs',include:['*.jar'])compile'com.android.support:appc

android - 在 Android 中, "Adjust is running in Production mode"是什么意思?

当我运行我的应用程序时,我在logcat中看到一条消息:F/Adjust(8224):PRODUCTION:AdjustisrunninginProductionmode.Usethissettingonlyforthebuildthatyouwanttopublish.Settheenvironmentto`sandbox`ifyouwanttotestyourapp!这是什么意思? 最佳答案 https://www.adjust.com/日志消息似乎来自here,并会建议您使用Adjust分析SDK,并配置为在生产模式下运行。

java - 错误 :Execution failed for task: ExecException: Process 'command ' C:\Program Files\Java\jdk1. 7.0_79\bin\java.exe'' 以非零退出值 2 完成

错误:任务“:app:preDexDebug”执行失败。com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:Process'command'C:\ProgramFiles\Java\jdk1.7.0_79\bin\java.exe''finishedwithnon-zeroexitvalue2dependencies{compilefileTree(dir:'libs',include:['*.jar'])compilefiles('poi-3.13-beta

android - 错误 :Execution failed for task ':app:processDebugResources' when using font folder inside res

我已将SDK更新到AndroidO开发者预览版,并开始使用单个TextView进行简单演示。当我在res文件夹中包含font时,它开始显示Error:Executionfailedfortask':app:processDebugResources'.>com.android.ide.common.process.ProcessException:Failedtoexecuteaapt这是我的build.gradleandroid{compileSdkVersion25buildToolsVersion"25.0.2"defaultConfig{...minSdkVersion15ta

android - ionic / Cordova FCM : Execution failed for task ':processDebugGoogleServices'

自从我安装了这个NativeFCMPlugin在IonicProject中,我在执行ioniccordovaandroidbuild时总是遇到以下错误:Runwith--stacktraceoptiontogetthestacktrace.Runwith--infoor--debugoptiontogetmorelogoutput.:processDebugGoogleServicesFoundcom.google.android.gms:play-services-base:11.0.4,butversion9.0.0isneededforthegoogle-servicesplug

安卓工作室 3.1 : StackOverflowError when executing task transformClassesWithDexBuilderForDebug when using qoppapdf library

随着AndroidStudio3.1的更新,我们的应用程序构建开始在所有机器上随机中断。在我的机器上,构建在dexing过程中因StackOverflowError而中断。当在gradle.properties中禁用d8和desugaring时,构建通过。这个问题似乎与我们在产品应用程序中使用了几年没有问题的qoppapdf库有关。该问题在新的Android项目中重现,其中库jar包含在libs目录中并且multidex在gradle中使用。StackOverflow错误如下:org.gradle.api.tasks.TaskExecutionException:Executionfa

缺少 Android Intent 参数 FLAG_ACTIVITY_SINGLE_TASK?

我刚刚注意到参数FLAG_ACTIVITY_SINGLE_TASK在Android开发者文档中不再可用:我只是想这样做:removeCard.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TASK);启动Activity(移除卡片);我已经在Google的代码中看到过这样的参数,但Java编译器只是告诉我它不存在。我只能使用此参数启动主要Activity,但我必须配置list文件才能执行此操作:android:launchMode="singleTask"这不适用于应用启动时启动的主要Activity以外的Activity。有人知道为什么Intent这个参数

android - 错误 :Execution failed for task ':app:compileDebugJavaWithJavac' . java.io.FileNotFoundException:

更新并重启androidstudio后,出现以下错误。Error:Executionfailedfortask':app:compileDebugJavaWithJavac'.java.io.FileNotFoundException:/.../Workspace/MyAppName/app/build/intermediates/exploded-aar/com.google.android.gms/play-services/8.3.0/jars/classes.jar(Nosuchfileordirectory)我已经尝试清理和重建我的项目,但每次我都遇到上述错误。编辑:我的gr

安卓工作室 2.2.3 : Error Running App: Default Activity not found

我受困于我的AndroidManifest.xml文件:android:theme="@style/AppTheme">我做错了什么? 最佳答案 你做错了。用您的代码替换此代码。 关于安卓工作室2.2.3:ErrorRunningApp:DefaultActivitynotfound,我们在StackOverflow上找到一个类似的问题: https://stackoverflow.com/questions/41075213/

android - Telegram Messenger Running 项目仍然遇到 : Unfortunately, Telegram 已停止

我尝试使用AndroidStudio从TelegramMessengerGitHub下载源代码,我以我的LenovoMobile(已连接)为目标运行该项目在手机上显示错误:不幸的是,Telegram已停止介意的建议。非常感谢和最诚挚的问候。CatLog主要是这样的:09-2811:50:37.26315071-15071/org.telegram.messengerE/AndroidRuntime﹕FATALEXCEPTION:mainProcess:org.telegram.messenger,PID:15071java.lang.RuntimeException:Unabletor