Fixed
Status Update
Comments
je...@google.com <je...@google.com>
xa...@android.com <xa...@android.com> #2
can you share your android studio version
fl...@gmail.com <fl...@gmail.com> #3
Is this happening with Studio 3.0?
[Deleted User] <[Deleted User]> #4
Note: This worked for me on Windows 7 Pro 32-bit (with Android Studio 2.3.3). Seems like an issue with adt-branding module (which should contain the "/idea/AndroidStudioApplicationInfo.xml" resource).
ra...@gmail.com <ra...@gmail.com> #5
Hi, also happened on Mac Book Pro 15 retina mi-2015
MacOs Sierra 10.12.6
Android Studio 2.3.3
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
MacOs Sierra 10.12.6
Android Studio 2.3.3
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
[Deleted User] <[Deleted User]> #6
Thank you for this feedback. Your feedback helps make sure Android development tools are great! Given your issues has been resolved I am closing this issue.
xa...@google.com <xa...@google.com> #8
The configurations are created (like they were before). However instead of doing:
configurations {
flavor1DebugImplementation
}
dependencies {
flavor1DebugImplementation ...
}
You can now just put the dependencies block inside the afterEvaluate and not create the configurations manually. It's a bit better, but not perfect. We still have to wait until the variant combinations are computed to create the right configuration objects.
afterEvaluate {
dependencies {
flavor1DebugImplementation ...
}
}
configurations {
flavor1DebugImplementation
}
dependencies {
flavor1DebugImplementation ...
}
You can now just put the dependencies block inside the afterEvaluate and not create the configurations manually. It's a bit better, but not perfect. We still have to wait until the variant combinations are computed to create the right configuration objects.
afterEvaluate {
dependencies {
flavor1DebugImplementation ...
}
}
Description
In the linked example, I would expect to be able to add a dependency with flavor1DebugCompile, for example.