Status Update
Comments
uc...@google.com <uc...@google.com>
xa...@google.com <xa...@google.com>
so...@google.com <so...@google.com> #2
Weird "? extends" declarations floating in the middle of nowhere?
ma...@trala.com <ma...@trala.com> #3
I've tried the build the correct variant in the build output tool window, didn't change the behavior. I've tried the set default trick under the product flavors in build.gradle, no luck.
I attached the log. It just switched back to mockDebug on me after I had prodDebug build variant selected and building properly (confirmed in BuildConfig, confirmed in watching Build output, etc). I updated my versionName and pressed Sync. I'm pretty sure the Sync switched it back to mockDebug.
I attached the log. It just switched back to mockDebug on me after I had prodDebug build variant selected and building properly (confirmed in BuildConfig, confirmed in watching Build output, etc). I updated my versionName and pressed Sync. I'm pretty sure the Sync switched it back to mockDebug.
ma...@trala.com <ma...@trala.com> #4
As I've grown used to identifying when this will happen. I've got the experimental setting applied, using "getIsDefault().set(true)" in my desired flavors in my app.gradle. I've ran Sync a few times doing some branch rebasing. What consistently happens is my desired build variant is selected (stagingDebug), it's even showing as building correctly in the Build terminal, and my BuildConfig file shows stagingDebug. When I click run it goes to deploy mockDebug flavor. Now to fix it I have to select a completely different build variant (prodDebug) and now it will deploy correctly.
ne...@gmail.com <ne...@gmail.com> #5
We have the same issue as well. We are falling back to previous version until this is fixed.
so...@google.com <so...@google.com> #6
Android Studio 4.1.1 includes fixes for several related problem. Could you let us know if it makes any difference for you? Thank you!
ma...@trala.com <ma...@trala.com> #7
Works now! Thank you!
Description
Build: AI-201.8743.12.41.6858069, 202009231536,
AI-201.8743.12.41.6858069, JRE 1.8.0_242-release-1644-b3-6222593x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.15.7, screens 1680x1050; Retina
AS: 4.1; Kotlin plugin: 1.4.10-release-Studio4.1-1; Android Gradle Plugin: 4.1.0; Gradle: 6.5; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: LLDB 3.1 (revision: 3.1.4508709); CMake: from local.properties: (not specified), latest from SDK: 3.10.2, from PATH: (not found)
IMPORTANT: Please read