Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我想知道 Android 中的操作系统在编程上是什么?我尝试的是获取“os.name”的系统属性。但它将值返回为“Linux”。但这无济于事。我想知道它是否是Android?这个怎么做?