Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Studio crashing on set scale in xml file #17

Closed
jadermoraes opened this issue Sep 2, 2019 · 5 comments
Closed

Android Studio crashing on set scale in xml file #17

jadermoraes opened this issue Sep 2, 2019 · 5 comments

Comments

@jadermoraes
Copy link

Hi!
My IDE keep crashing when I set the scaleX on a SegmentedButton.

I'm using Ubuntu.
Thank you, the lib is working great besides this error.

@addisonElliott
Copy link
Owner

Hello.

It's odd that it ends up crashing Android Studio itself. To make this easier, do you mind posting an example setup that reproduces the issue? In addition, the stack trace of the issue, if available, would be good.

@jadermoraes
Copy link
Author

MyApplication2.zip
I'm sorry, but couldn't get the log, the IDE crashes when i set the scalex in the xml file.

@addisonElliott
Copy link
Owner

No problem, this should be enough.

FYI, I expect this may take a few weeks to resolve. Anything you can do to temporarily keep working will be good. My main machine has a failing SSD that I'm focusing on resolving.

@jadermoraes
Copy link
Author

No problem, i worked around that, and the lib is working amazingly, thanks for the support!

@addisonElliott
Copy link
Owner

@jadermoraes I finally got some time to debug and play around with your issue.

I tested your exact application on my Windows 10 machine and an Ubuntu 18.04 VM. I was able to change the scaleX parameter on the button group and buttons themselves with no crash in Android Studio.

This is likely an Android Studio bug and not an issue with the library. In theory, regardless of what code I have in my library, it shouldn't cause the IDE to crash.

I'm going to close this now. I recommend (if you are committed to getting it fixed), reporting it to Google to look into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants