Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Android 9.0 Migration Build.serial unknown #10

Open
neas-neas opened this issue May 8, 2019 · 0 comments
Open

Android 9.0 Migration Build.serial unknown #10

neas-neas opened this issue May 8, 2019 · 0 comments

Comments

@neas-neas
Copy link

hello guys,
as android 9.0 migration doc says, it remove direct access to Build.serial, you'll get "unknown" when you use reflection to get the value of "SERIAL" field like Build.class.getField("SERIAL").get(null)

it complains when use tools test for non-SDK interfaces

would you like to change the way to identify the phone?

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

No branches or pull requests

1 participant