stealthcopter / AndroidNetworkTools

Set of useful android network tools
Apache License 2.0
1.39k stars 282 forks source link

Mac address is always null #59

Closed retrostar94 closed 1 year ago

retrostar94 commented 5 years ago

Whenever i scan or try to find the mac address it always returns null

stealthcopter commented 4 years ago

Can you provide your calling code so I can run some tests on it? The local device's mac address will be hidden as it is a security feature in android.

dev4mobile commented 4 years ago

I have the same issue. but I want to ask that android 10 can't fetch subnet devices mac address? @stealthcopter

dev4mobile commented 4 years ago

43921577245623_ pic

maxto024 commented 4 years ago

@dev4mobile did you find solution i have same issue

Kushagrasaxena-13 commented 3 years ago

I want to work on this bug !!!

Kushagrasaxena-13 commented 3 years ago

Hey sir please see my update . I have resolved the bug

Kushagrasaxena-13 commented 3 years ago

@stealthcopter please see it

TaylorStyles commented 2 years ago

@Kushagrasaxena-13 did you get this working? would love to finally be able to use this library in my latest build but mac is always null!

myfreax commented 2 years ago

@TaylorStyles did you find solution i have same issue

stealthcopter commented 1 year ago

This happens because Android hides local network MAC addresses for privacy reasons. There are some work arounds but nothing with the latest versions of Android :(