Fixed
Status Update
Comments
al...@google.com <al...@google.com> #2
Summary: Prevent non-managed instance of Studio from opening the frameworks/support
project. Likely involves putting a check in AndroidXPlugin
for a flag that's specified when the studiow
script and/ or gradlew studio
task launched managed Studio.
Tech stack:
- Gradle plugin
- Kotlin
Sponsor: alanv
al...@google.com <al...@google.com>
al...@google.com <al...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit deabbf3417c6e9a7e0fcc003551eea1d79f9a5d4
Author: Alan Viverette <alanv@google.com>
Date: Fri May 20 13:18:46 2022
Throw exception if AndroidX is loaded from a non-managed Studio instance
Fixes: 232106963
Test: open project from ASwB or studiow
Change-Id: Ia7eb15d0545c93f1a535f8e1b455a70b60a8567b
M settings.gradle
M buildSrc/private/src/main/kotlin/androidx/build/AndroidXRootImplPlugin.kt
https://android-review.googlesource.com/2102211
Branch: androidx-main
commit deabbf3417c6e9a7e0fcc003551eea1d79f9a5d4
Author: Alan Viverette <alanv@google.com>
Date: Fri May 20 13:18:46 2022
Throw exception if AndroidX is loaded from a non-managed Studio instance
Fixes: 232106963
Test: open project from ASwB or studiow
Change-Id: Ia7eb15d0545c93f1a535f8e1b455a70b60a8567b
M settings.gradle
M buildSrc/private/src/main/kotlin/androidx/build/AndroidXRootImplPlugin.kt
xa...@gmail.com <xa...@gmail.com> #4
Comment has been deleted.
Description
We don't support opening
framework/support
in non-managed instances of Studio, and we should fail in a more immediate and obvious way when a developers loads the project in an unsupported instance of Studio.