Android P的开发者预览版已出,其中App compatibility changes部分特别强调“The platform restricts the use of some non-SDK methods and fields; these restrictions apply whether you attempt to access these methods and fields directly, via reflection, or using JNI”. 针对这个变化,更新