Android Question Android ID error

EvgenyB4A

Active Member
Licensed User
Longtime User
I use device with Android 11 go.
When I try to get Android ID by:
Dim p As Phone
Return p.GetSettings("android_id")

I get the following error:
java.lang.NumberFormatException: For input string: "819b172942996fb7"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at java.lang.Double.parseDouble(Double.java:538)
....

IDE version is 12.50
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…