-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
SubnetDevices.java - IllegalAccessError #79
Comments
Is this project dead? |
@grolschie It's not quite dead, but my day job has switched away from Android development so work on this has taken a back seat. This library is still used in some of my apps, so I will likely still make infrequent updates. I welcome pull requests with fixes and improvements though. For this error, it looks like it's just failing because no IPv4 addresses are found. It's not ideal for the library to handle it like this, but a try/catch should suffice for now. |
Thank you for that. Understood. 👍 After posting this I'm catching that exception as well as reducing the number of threads to 128. And I haven't seen the error since (obviously). So is the reduction of threads unnecessary? 256 is ok? By the way, thanks for this library. It was a real lifesaver for me! |
|
Try setting the number of threads to 128. According to the readme file, the default is 255 for this tool. I haven't had the problem since doing this. You may have to wait just a little longer for the results. |
Hi. I have seen this error on 2 devices so far, one actual device running Android 10 with over 5GB RAM (showing in Android Vitals) and one test device running Android 5 with 2GB RAM (showing in Pre-launch Reports).
I'm not really sure what to do about this, besides just catching it. (And yes, at some stage I plan to move away from AsyncTask.)
Your thoughts please? I'm not seeing anything relating to being out of memory.
The text was updated successfully, but these errors were encountered: