Unable to retrive Build.MANUFACTURER on device HTC6435LVW Droid DNA Deluxe

前端 未结 2 556
北海茫月
北海茫月 2021-01-22 13:00

This looks like a very basic question.

I am unable to retrieve a few basic information like Build.MANUFACTURER, Build.MODEL, and Build.V

2条回答
  •  礼貌的吻别
    2021-01-22 13:40

    These are obtained by the system from the file /system/build.prop. If it's coming up as "unknown" in your code, it's because it's either not set, or it's set explicitly to "unknown".

    There's not much you can really do about this, though. It's set by the manufacturer, and if they failed to do it, then it won't be set. If you're rooted, you can edit the file yourself, but that doesn't help if you're talking about other users.

提交回复
热议问题