Status Update
Comments
vi...@google.com <vi...@google.com>
du...@gmail.com <du...@gmail.com> #2
Android Studio 4.1 Canary 10
Build #AI-201.7223.91.41.6507185, built on May 18, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.4.0-33-generic
GC: ParNew, ConcurrentMarkSweep
Memory: 3005M
Cores: 8
Registry: ide.new.welcome.screen.force=true, ide.tooltip.initialDelay=389
Current Desktop: ubuntu:GNOME
2020-05-28T21:11:02.213-0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Realize task :app:extractDeepLinksDebug'
2020-05-28T21:11:02.213-0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Realize task :app:extractDeepLinksDebug' completed
2020-05-28T21:11:02.214-0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Resolve dependencies of :app:lintClassPath'
2020-05-28T21:11:02.214-0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Resolve dependencies of :app:lintClassPath' completed
2020-05-28T21:11:02.214-0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Calculate task graph'
2020-05-28T21:11:02.214-0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Calculate task graph' completed
2020-05-28T21:11:02.216-0700 [DEBUG] [org.gradle.internal.work.DefaultWorkerLeaseService] Worker lease root.1 completed (0 worker(s) in use)
2020-05-28T21:11:02.216-0700 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 6: released lock on root.1
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Could not determine the dependencies of task ':app:lintVitalRelease'.
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve all dependencies for configuration ':app:lintClassPath'.
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not create task ':app:extractDeepLinksDebug'.
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Cannot obtain value from provider of environment variable 'ANDROID_AAPT_IGNORE' at configuration time.
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Use a provider returned by 'forUseAtConfigurationTime()' instead.
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. Run with --scan to get full insights.
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]
2020-05-28T21:11:02.217-0700 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 1s
2020-05-28T21:11:02.218-0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Completing Build operation 'Run build'
2020-05-28T21:11:02.218-0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Run build' completed
Reverting to milestone-1 fixes it.
ro...@gmail.com <ro...@gmail.com> #3
RG
hu...@google.com <hu...@google.com>
bi...@google.com <bi...@google.com>
hu...@google.com <hu...@google.com> #4
Note: The workaround is to use gradle-6.5-milestone-1 with AGP 4.1.0-alpha10.
bi...@google.com <bi...@google.com> #5
bi...@google.com <bi...@google.com> #6
ro...@gmail.com <ro...@gmail.com> #7
Thanx, looking forward to try C11, when will it be available ?.
BTW: I have IntelliJ environment variables on my home office computer, (I have IntelliJ installed there), will this be a mitigating factor ?
BTW2: Creating new projects on the home office computer (which have IntelliJ installed) makes strange errors though (
RG
ro...@gmail.com <ro...@gmail.com> #8
BTW3: Works also of you downgrade AGP to 09.
RG
bi...@google.com <bi...@google.com> #9
2. This issue seems to only exist in AGP 4.1 C10 because we are in the process of migrating how we access environment variables, the change causing this issue was introduced a while ago but got fixed recently.
my...@gmail.com <my...@gmail.com> #10
Any updates for C11?
sp...@google.com <sp...@google.com> #11
AGP 4.1 beta 1 is tentatively scheduled to be released Wednesday June 10th at 10am Pacific Time.
Description
AI-201.7223.91.41.6507185, JRE 1.8.0_242-release-1644-b01x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1600x900, 1920x1080
AS: 4.1 Canary 10; Kotlin plugin: 1.3.61-release-Studio4.1-1; Android Gradle Plugin: 4.1.0-alpha10; Gradle: 6.5; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
IMPORTANT: Please read
---
Gradle "6.5-milestone-2" and "6.5-rc-1" breaks in AS4.1C10 with "Cannot obtain value from provider of environment variable 'ANDROID_AAPT_IGNORE' at configuration time."
6.5-milsestone-1 Works well, but 6.5-milestone-2 and 6.5-rc-1 fails both With same error Message:
---
Executing tasks: [:app:assembleDebug] in project C:\AndroidProjects\BasicTest
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not create task ':app:extractDeepLinksDebug'.
> Cannot obtain value from provider of environment variable 'ANDROID_AAPT_IGNORE' at configuration time.
Use a provider returned by 'forUseAtConfigurationTime()' instead.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at
BUILD FAILED in 959ms
---
RG