79807489

Date: 2025-11-03 02:25:13
Score: 0.5
Natty:
Report link

After some trial and error, I discovered that Android Studio's Android view only appears once the android-ui module builds successfully. If the module fails to sync or compile, the IDE doesn't recognize it as an Android module, and the Android view disappears. The key changes were to use agp = "8.13.0" and kotlin = "2.0.21". Even though Kotlin warns that AGP 8.13.0 is beyond tested range, these warnings can be suppressed. Once the android-ui module built successfully, Android Studio recognized it and restored the Android view. This behavior seems tied to plugin resolution and Gradle sync, it was very disconcerting.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sildeag