- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我尝试将我的 Codename One
应用程序发送到构建服务器来构建 Android 应用程序,但它一直失败。一切在模拟器上运行良好,没有错误。唯一的问题是当我尝试将项目发送到构建服务器时。这是错误日志。我该如何解决这个问题?
Executing: /home/ec2-user/android/gradle-2.11/bin/gradle assembleDebug - -no-daemon --stacktrace --info To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.11/userguide/gradle_daemon.html.
Starting daemon process: workingDir = /home/ec2-user/.gradle/daemon/2.11, daemonArgs: [/home/ec2-user/jdk1.8.0_45/bin/java, -XX:MaxPermSize=512m, -XX:+HeapDumpOnOutOfMemoryError, -Xmx2048m, -Dfile.encoding=UTF-8, -Duser.country=US, -Duser.language=en, -Duser.variant, -cp, /home/ec2-user/android/gradle-2.11/lib/gradle-launcher-2.11.jar, org.gradle.launcher.daemon.bootstrap.GradleDaemon, 2.11]
Starting process 'Gradle build daemon'. Working directory: /home/ec2-user/.gradle/daemon/2.11 Command: /home/ec2-user/jdk1.8.0_45/bin/java -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /home/ec2-user/android/gradle-2.11/lib/gradle-launcher-2.11.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.11
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 0.889 secs.
Connected to daemon DaemonInfo{pid=1668, address=[03f42828-ace4-482d-a252-c6948768b51e port:34287, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]], idle=false, context=DefaultDaemonContext[uid=2313a84a-24c5-475e-92ee-bfe642e21a4b,javaHome=/home/ec2-user/jdk1.8.0_45,daemonRegistryDir=/home/ec2-user/.gradle/daemon,pid=1668,idleTimeout=120000,daemonOpts=-XX:MaxPermSize=512m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx2048m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]}. Dispatching request BuildAndStop{id=108a736a-2906-4e54-8f6e-53dfa3a8c086.1, currentDir=/tmp/build4588544765602326489xxx/MyApplication}.
Received result org.gradle.launcher.daemon.protocol.BuildStarted@d554c5f from daemon DaemonInfo{pid=1668, address=[03f42828-ace4-482d-a252-c6948768b51e port:34287, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]], idle=false, context=DefaultDaemonContext[uid=2313a84a-24c5-475e-92ee-bfe642e21a4b,javaHome=/home/ec2-user/jdk1.8.0_45,daemonRegistryDir=/home/ec2-user/.gradle/daemon,pid=1668,idleTimeout=120000,daemonOpts=-XX:MaxPermSize=512m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx2048m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be starting).
The client will now receive all logging from the daemon (pid: 1668). The daemon log file: /home/ec2-user/.gradle/daemon/2.11/daemon-1668.out.log
Executing build with daemon context: DefaultDaemonContext[uid=2313a84a-24c5-475e-92ee-bfe642e21a4b,javaHome=/home/ec2-user/jdk1.8.0_45,daemonRegistryDir=/home/ec2-user/.gradle/daemon,pid=1668,idleTimeout=120000,daemonOpts=-XX:MaxPermSize=512m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx2048m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]
Starting Build
Settings evaluated using settings file '/master/settings.gradle'.
Projects loaded. Root project using build file '/tmp/build4588544765602326489xxx/MyApplication/build.gradle'.
Included projects: [root project 'MyApplication']
Evaluating root project 'MyApplication' using build file '/tmp/build4588544765602326489xxx/MyApplication/build.gradle'.
Compiling build file '/tmp/build4588544765602326489xxx/MyApplication/build.gradle' using SubsetScriptTransformer.
Compiling build file '/tmp/build4588544765602326489xxx/MyApplication/build.gradle' using BuildScriptTransformer.
Parsing the SDK, no caching allowed
Parsing /home/ec2-user/android-sdk/build-tools/19.0.3/package.xml
Parsing /home/ec2-user/android-sdk/build-tools/23.0.1/package.xml
Parsing /home/ec2-user/android-sdk/build-tools/19.0.0/package.xml
Parsing /home/ec2-user/android-sdk/build-tools/19.0.1/package.xml
Parsing /home/ec2-user/android-sdk/build-tools/17.0.0/package.xml
Parsing /home/ec2-user/android-sdk/build-tools/19.1.0/package.xml
Parsing /home/ec2-user/android-sdk/build-tools/18.0.1/package.xml
Parsing /home/ec2-user/android-sdk/build-tools/18.1.1/package.xml
Parsing /home/ec2-user/android-sdk/build-tools/20.0.0/package.xml
Parsing /home/ec2-user/android-sdk/build-tools/19.0.2/package.xml
Parsing /home/ec2-user/android-sdk/build-tools/18.1.0/package.xml
Parsing /home/ec2-user/android-sdk/tools/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/auto/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/webdriver/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/admob_ads_sdk/package.xml
Parsing /home/ec2-user/android- sdk/extras/google/google_play_services/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/market_licensing/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/play_apk_expansion/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/gcm/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/simulators/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/google_play_services_fit_preview/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/play_billing/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/analytics_sdk_v2/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/google_play_services_froyo/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/play_licensing/package.xml
Parsing /home/ec2-user/android-sdk/extras/google/m2repository/package.xml
Parsing /home/ec2-user/android-sdk/extras/android/gapid/package.xml
Parsing /home/ec2-user/android-sdk/extras/android/support/package.xml
Parsing /home/ec2-user/android-sdk/extras/android/m2repository/package.xml
Parsing /home/ec2-user/android-sdk/system-images/android-23/google_apis/x86_64/package.xml
Parsing /home/ec2-user/android-sdk/system-images/android-23/google_apis/x86/package.xml
Parsing /home/ec2-user/android-sdk/system-images/android-23/google_apis/armeabi-v7a/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-19-1/package.xml
Observed package id 'add-ons;addon-google_apis-google-19' in inconsistent location '/home/ec2-user/android-sdk/add-ons/addon-google_apis-google-19-1' (Expected '/home/ec2-user/android-sdk/add-ons/addon-google_apis-google-19')
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-13/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-12/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-15/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-23/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_tv_addon-google-12/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-17/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-14/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-16/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-5/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis_x86-google-19/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-21/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-6/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_tv_addon-google-13/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-4/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-11/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-7/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-9/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-8/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-18/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_gdk-google-19/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-24/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-10/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-3/package.xml
Parsing /home/ec2-user/android-sdk/add-ons/addon-google_apis-google-22/package.xml
Using incremental javac compilation.
Incremental java compilation is an incubating feature.
Not using incremental javac compilation.
Using incremental javac compilation.
Not using incremental javac compilation.
Using incremental javac compilation.
All projects evaluated.
Selected primary task 'assembleDebug' from project :
Tasks to be executed: [task ':preBuild', task ':preDebugBuild', task ':checkDebugManifest', task ':preReleaseBuild',task ':prepareComAndroidSupportSupportV42340Library', task ':prepareComGoogleAndroidGmsPlayServicesBase830Library', task ':prepareComGoogleAndroidGmsPlayServicesBasement830Library', task ':prepareComGoogleAndroidGmsPlayServicesMaps830Library', task ':prepareDebugDependencies', task ':compileDebugAidl', task ':compileDebugRenderscript', task ':generateDebugBuildConfig', task ':mergeDebugShaders', task ':compileDebugShaders', task ':generateDebugAssets', task ':mergeDebugAssets', task ':generateDebugResValues', task ':generateDebugResources', task ':mergeDebugResources', task ':processDebugManifest', task ':processDebugResources', task ':generateDebugSources', task ':incrementalDebugJavaCompilationSafeguard', task ':compileDebugJavaWithJavac', task ':compileDebugNdk', task ':compileDebugSources', task ':prePackageMarkerForDebug', task ':transformClassesWithDexForDebug', task ':mergeDebugJniLibFolders', task ':transformNative_libsWithMergeJniLibsForDebug', task ':processDebugJavaRes', task ':transformResourcesWithMergeJavaResForDebug', task ':validateDebugSigning', task ':packageDebug', task ':zipalignDebug', task ':assembleDebug']
Creating In-memory cache of /tmp/build4588544765602326489xxx/MyApplication/.gradle/2.11/taskArtifacts/fileHashes.bin: MaxSize{878900}
Creating In-memory cache of /tmp/build4588544765602326489xxx/MyApplication/.gradle/2.11/taskArtifacts/outputFileStates.bin: MaxSize{6500}
Creating In-memory cache of /tmp/build4588544765602326489xxx/MyApplication/.gradle/2.11/taskArtifacts/fileSnapshots.bin: MaxSize{21900}
Creating In-memory cache of /tmp/build4588544765602326489xxx/MyApplication/.gradle/2.11/taskArtifacts/taskArtifacts.bin: MaxSize{4300}
:preBuild (Thread[Daemon worker,5,main]) started.
:preBuild
Skipping task ':preBuild' as it has no actions.
:preBuild UP-TO-DATE
:preBuild (Thread[Daemon worker,5,main]) completed. Took 0.013 secs.
:preDebugBuild (Thread[Daemon worker,5,main]) started.
:preDebugBuild
Skipping task ':preDebugBuild' as it has no actions.
:preDebugBuild UP-TO-DATE
:preDebugBuild (Thread[Daemon worker,5,main]) completed. Took 0.003 secs.
:checkDebugManifest (Thread[Daemon worker,5,main]) started.
:checkDebugManifest
Executing task ':checkDebugManifest' (up-to-date check took 0.001 secs) due to:
Task has not declared any outputs.
:checkDebugManifest (Thread[Daemon worker,5,main]) completed. Took 0.006 secs.
:preReleaseBuild (Thread[Daemon worker,5,main]) started.
:preReleaseBuild
Skipping task ':preReleaseBuild' as it has no actions.
:preReleaseBuild UP-TO-DATE
:preReleaseBuild (Thread[Daemon worker,5,main]) completed. Took 0.002 secs.
:prepareComAndroidSupportSupportV42340Library (Thread[Daemon worker,5,main]) started.
:prepareComAndroidSupportSupportV42340Library
Invalidating in-memory cache of /tmp/build4588544765602326489xxx/MyApplication/.gradle/2.11/taskArtifacts/outputFileStates.bin
Invalidating in-memory cache of /tmp/build4588544765602326489xxx/MyApplication/.gradle/2.11/taskArtifacts/fileSnapshots.bin
Invalidating in-memory cache of /tmp/build4588544765602326489xxx/MyApplication/.gradle/2.11/taskArtifacts/fileHashes.bin
Invalidating in-memory cache of /tmp/build4588544765602326489xxx/MyApplication/.gradle/2.11/taskArtifacts/taskArtifacts.bin
Executing task ':prepareComAndroidSupportSupportV42340Library' (up-to-date check took 0.035 secs) due to:
No history is available.
:prepareComAndroidSupportSupportV42340Library (Thread[Daemon worker,5,main]) completed. Took 0.191 secs.
:prepareComGoogleAndroidGmsPlayServicesBase830Library (Thread[Daemon worker,5,main]) started.
:prepareComGoogleAndroidGmsPlayServicesBase830Library
Executing task ':prepareComGoogleAndroidGmsPlayServicesBase830Library' (up-to-date check took 0.002 secs) due to:
No history is available.
:prepareComGoogleAndroidGmsPlayServicesBase830Library (Thread[Daemon worker,5,main]) completed. Took 0.243 secs.
:prepareComGoogleAndroidGmsPlayServicesBasement830Library (Thread[Daemon worker,5,main]) started.
:prepareComGoogleAndroidGmsPlayServicesBasement830Library
Executing task ':prepareComGoogleAndroidGmsPlayServicesBasement830Library' (up-to-date check took 0.006 secs) due to:
No history is available.
:prepareComGoogleAndroidGmsPlayServicesBasement830Library (Thread[Daemon worker,5,main]) completed. Took 0.191 secs.
:prepareComGoogleAndroidGmsPlayServicesMaps830Library (Thread[Daemon worker,5,main]) started.
:prepareComGoogleAndroidGmsPlayServicesMaps830Library
Executing task ':prepareComGoogleAndroidGmsPlayServicesMaps830Library' (up-to-date check took 0.003 secs) due to:
No history is available.
FAILURE: Build failed with an exception.
* What went wrong:
Cannot read packageName from /tmp/build4588544765602326489xxx/MyApplication/src/main/AndroidManifest.xml
* Try:
Run with --debug option to get more log output.
*Exception is:
java.lang.RuntimeException: Cannot read packageName from /tmp/build4588544765602326489xxx/MyApplication/src/main/AndroidManifest.xml
at com.android.builder.core.VariantConfiguration.getPackageFromManifest(VariantConfiguration.java:999)
at com.android.builder.core.VariantConfiguration.getOriginalApplicationId(VariantConfiguration.java:780)
at com.android.build.gradle.tasks.GenerateBuildConfig$ConfigAction$_execute_closure1.doCall(GenerateBuildConfig.groovy:167)
at com.android.build.gradle.tasks.GenerateBuildConfig$ConfigAction$_execute_closure1.doCall(GenerateBuildConfig.groovy)
at org.gradle.api.internal.ConventionAwareHelper$2.getValue(ConventionAwareHelper.java:84)
at org.gradle.api.internal.ConventionAwareHelper$MappedPropertyImpl.getValue(ConventionAwareHelper.java:136)
at org.gradle.api.internal.ConventionAwareHelper.getConventionValue(ConventionAwareHelper.java:114)
at com.android.build.gradle.tasks.GenerateBuildConfig_Decorated.getBuildConfigPackageName(Unknown Source)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$PropertyInfo$4.create(AnnotationProcessingTaskFactory.java:458)
at org.gradle.util.SingleMessageLogger.whileDisabled(SingleMessageLogger.java:166)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$PropertyInfo.getValue(AnnotationProcessingTaskFactory.java:456)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$Validator.validate(AnnotationProcessingTaskFactory.java:277)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:41)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)
at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:45)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:52)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute(DaemonHealthTracker.java:40)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:66)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute(HintGCAfterBuild.java:41)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
BUILD FAILED
Total time: 9.892 secs
Stopped 0 compiler daemon(s).
Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Cannot read packageName from /tmp/build4588544765602326489xxx/MyApplication/src/main/AndroidManifest.xml] from daemon DaemonInfo{pid=1668, address=[03f42828-ace4-482d-a252-c6948768b51e port:34287, addresses:[/0:0:0:0:0:0:0:1%lo, /127.0.0.1]], idle=false, context=DefaultDaemonContext[uid=2313a84a-24c5-475e-92ee-bfe642e21a4b,javaHome=/home/ec2-user/jdk1.8.0_45,daemonRegistryDir=/home/ec2-user/.gradle/daemon,pid=1668,idleTimeout=120000,daemonOpts=-XX:MaxPermSize=512m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx2048m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done).
以下是我添加的构建提示: 1. javascript.googlemaps.key=JavaScript_KEY 2. ios.afterFinishLaunching=[GMSServices提供APIKey:@"My_ios_Key"]; 3.android.xapplication=
最佳答案
我已经找到了解决方案,问题是我在添加构建提示时犯了一个错误。解决方案是删除并重新添加构建提示,确保这次没有错误。感谢您的帮助
关于java - 代号 One android 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41777525/
我在使用以下代码时遇到问题: function http_file_exists($url){ $f=fopen($url,"r"); if($f){ fclose($f); retu
我已经通过 Git 部署到 Azure 几个月了,没有出现重大问题,但现在我似乎遇到了一个无法克服的错误。 我创建了一个新的 Azure 网站,为正在开发的项目创建单独的预览链接。我在新站点上设置了
我已经通过flutter创建了一个App并完成了它,我想在flutter文档中阅读时进行部署。 我收到此错误: FAILURE: Build failed with an exception. * W
我在Windows 10中使用一些简单的Powershell代码遇到了这个奇怪的问题,我认为这可能是我做错了,但我不是Powershell的天才。 我有这个: $ix = [System.Net.Dn
我正在尝试使用 RapidJSON 解析从服务器接收到的数据。以下是收到的确切字符串: [ { "Node": "9478149a08f9", "Address": "172.17
我尝试为 ios 编译 OpenCV。我总是收到这些错误。我用不同版本的opencv试了一下,结果都是一样的。 我运行这个:python 平台/ios/build_framework.py ios_o
我在一台机器上做基本的发布/订阅,我的客户端是 StackExchange-Redis 的 C# 客户端,我在同一台机器上运行基于 Windows 的 Redis 服务器(服务器版本 2.8.4) 当
我有这段代码,但无法执行,请帮我解决这个问题 连接 connect_error) { die ("connection failed: " . $terhubung->connect_erro
我在 tomcat 上运行并由 maven 编译的 Web 应用程序给出了以下警告和错误。我可以在本地存储库中看到所有 JAR,但有人可以帮忙吗。 WARNING: Failed to scan JA
我正在 Windows 8 上使用 Android Studio 开发一个 android 应用程序,我正在使用一些 native 代码。突然间我无法编译我的 C 文件。当我运行 ndk-build
下面的代码对类和结构的成员进行序列化和反序列化。序列化工作正常,但我在尝试使用 oarch >> BOOST_SERIALIZATION_NVP(outObj); 反序列化时遇到了以下错误; 代码中是
如果我运行此命令“rspec ./spec/requests/api/v1/password_reset_request_spec.rb”,此文件中的所有测试都会通过。 但是,当我运行“rspec”时
我在尝试执行测试以使用 Protractor 上传文件时出错,我的代码是这个 it('it should be possible to upload a file', function() {
System.loadLibrary("nativefaceswap"); 当我运行我的应用程序时,我在 Android Studio 中发现了此类错误。在logcat中显示: java.lang.U
我希望有人能帮助我!使用任何方法或命令行的任何 SSL/HTTPS 调用均无效。 我在 Windows 10 中使用 Ubuntu Server 18.04 作为子系统。我的问题是昨天才开始出现的,因
通过删除这两个值将日期字段从 null=True 和 Blank=True 更改为 required 时,使用 db.alter 命令时遇到问题。 当以下行被注释掉时,迁移运行不会出现问题。
我第一次使用 Heroku 尝试创建应用程序(使用 SendGrid 的 Inbound Parse Webhook"和 Twilio SMS 通过电子邮件发送和接收 SMS 消息)。通过 Virtu
我正在将我的 swift 项目更新到 Xcode 7 上的 Swift 2.0。xcode 在构建项目时报告了以下错误: 命令/Applications/Xcode.app/Contents/Deve
在我的代码中,SSL 库函数 SSL_library_init() 没有按预期返回 1。我如何才能看到它返回了什么错误? 我在 SSL_library_init() 之后调用了 SSL_load_er
我正在尝试运行在以下链接中找到的答案: Asynchronously Load the Contents of a Div 但是当我这样做时,我会遇到我不太理解的错误。 我的代码: $(documen
我是一名优秀的程序员,十分优秀!