Assigned
Status Update
Comments
br...@cfacorp.com <br...@cfacorp.com> #2
We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
ju...@google.com <ju...@google.com>
je...@google.com <je...@google.com> #3
I have some trouble locating the code in question, I found another version which is not using Flat which dates from 2024 and is private. Could you point me to the source file you found this in ?
Description
We're using a gradle script to build and upload an android app to google play store. We are using System.getenv() to get a version code from github actions. We then use parseIntOrDefault() to convert it to an integer. This fails sometimes with an off by one error. I actually don't think I'm submitting this bug to the proper issue tracker, but I could not find out where the proper place was. I apologize for that. If you can route me to the correct place I'll be glad to file the issue there.
STEPS TO REPRODUCE:
1. try printing out numbers 0 through 1000 as strings and then convert them using com.android.ide.comon.util's parseIntOrDefault String extension function
2. Observe that some of the values match the string representation and some do not
3.
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
------------------
IMPORTANT: Please read
all required information.
------------------
Studio Build: Android Studio Ladybug Feature Drop | 2024.2.2
Build #AI-242.23726.103.2422.12816248, built on December 17, 2024
Version of Gradle Plugin: 8.7.1
Version of Gradle: 8.9
Version of Java: 17
OS: linux