This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
[Bug]: Project initialization fails if the AGP version contains letters like "8.2.0-rc02" #1440
Closed
2 tasks done
Labels
bug
Something isn't working
What happened?
When trying to use versions of the Android Gradle Plugin that have letters like rc versions, the project even shows that it was configured successfully, but it is not possible to compile the app, due to the following stacktrace
The error appears to be in this file that converts the version name to an integer value
https://github.com/AndroidIDEOfficial/AndroidIDE/blob/dev/subprojects/tooling-api/src/main/java/com/itsaky/androidide/tooling/api/util/versions.kt#L32
and in this file that calls the function above
https://github.com/AndroidIDEOfficial/AndroidIDE/blob/dev/subprojects/tooling-api-impl/src/main/java/com/itsaky/androidide/tooling/impl/internal/AndroidProjectImpl.kt#L166
What's the expected behavior?
Build applications using rc versions, alpha in agp, normally
What version of AndroidIDE you're using?
v2.6.0 (debug builds)
Relevant log output
Duplicate issues
Code of Conduct
The text was updated successfully, but these errors were encountered: