Status Update
Comments
vs...@google.com <vs...@google.com>
je...@google.com <je...@google.com>
be...@google.com <be...@google.com> #2
I can reproduce this issue. ./gradlew installDebug
consistently fails.
Until this is resolved I recommend using ./gradlew assembleDebug && adb install app/build/outputs/apk/debug/app-debug.apk
.
cm...@google.com <cm...@google.com> #3
Looks like this regressed in
lu...@google.com <lu...@google.com> #4
Issue fixed in studio main (included in 8.4-alpha02), but will need cherry-picking to 8.3 and 8.2 (assuming there are further patches)
de...@google.com <de...@google.com> #5
lu...@google.com <lu...@google.com> #6
Cherry-picked to 8.3-beta02 so this is no longer a blocker, but we'll need to cherry-pick to 8.2 once there is a scheduled patch 2 release.
cm...@google.com <cm...@google.com> #7
Potential candidate for H patch 2
lu...@google.com <lu...@google.com> #8
The fix has been cherry-picked to 8.2 and will released in Studio Hedgehog/AGP 8.2.2 (release date TBD).
an...@google.com <an...@google.com> #9
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Iguana | 2023.2.1 Beta 2
- Android Gradle Plugin 8.3.0-beta02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
mi...@swiftkey.com <mi...@swiftkey.com> #10
I was getting this issue with AGP 8.2.1. Just tried it out with 8.2.2 and got
* What went wrong:
Execution failed for task ':app:installDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.InstallVariantViaBundleTask$InstallRunnable
> java.lang.IllegalArgumentException: File 'Users' was not found.
It's now a different error, but the same task.
th...@opera.com <th...@opera.com> #11
(Please, could you at least verify fixes?)
xa...@google.com <xa...@google.com>
lu...@google.com <lu...@google.com>
lu...@google.com <lu...@google.com> #12
Thanks for reporting the issue, unfortunately this wasn't caught when manually testing the original fix; the project in comment 10 reproduces the issue.
There is a fix and regression test merged to the main branch (8.4-alpha08). This will be cherry-picked to AGP 8.3 and 8.2 (expected in 8.2.3)
jr...@squareup.com <jr...@squareup.com> #13
lu...@google.com <lu...@google.com> #14
Marking as fixed, as the fix is merged at head and for 8.3; still waiting on cherry-pick merge for 8.2, I'll update this issue when merged to 8.2.
an...@google.com <an...@google.com> #15
Further fixes for this issue are now available in:
- Android Studio Iguana | 2023.2.1 RC 1
- Android Gradle Plugin 8.3.0-rc01
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
an...@google.com <an...@google.com> #16
The fixes for this issue are now also available in:
- Android Studio Jellyfish | 2023.3.1 Canary 8
- Android Gradle Plugin 8.4.0-alpha08
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
th...@opera.com <th...@opera.com> #17
do...@traveloka.com <do...@traveloka.com> #18
8.2.x will be fixed or not?
ka...@gmail.com <ka...@gmail.com> #19
Thank you
ro...@ebay.com <ro...@ebay.com> #20
I'm still facing this issue with AGP 8.2.2. Has the fix backported to 8.2.*?
an...@kakaopaycorp.com <an...@kakaopaycorp.com> #21
I am dying due to this.
Description
If a project has dynamic features enabled the install task generated for the application project is broken and will cause an stackoverflow in getApkFiles.
STEPS TO REPRODUCE:
1. Clone example project
2. Run ./gradlew app:installDebug
Output:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:installDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.InstallVariantViaBundleTask$InstallRunnable
> java.lang.StackOverflowError (no error message)
Full --stacktrace attached.
------------------
IMPORTANT: Please read
all required information.
------------------
Version of Gradle Plugin: 8.2.0
Version of Gradle: 8.5
Version of Java: 21
OS: Linux