鍍金池/ 問答/Android  HTML/ weex 0.18 版本 android P api 27 對私有 API 調(diào)

weex 0.18 版本 android P api 27 對私有 API 調(diào)用的警告

03-13 05:29:44.909 W/zygote: Accessing hidden field Landroid/widget/ScrollView;->mMinimumVelocity:I (dark greylist, reflection)
03-13 05:29:47.167 W/zygote: Accessing hidden field Landroid/view/ViewGroup;->mChildrenCount:I (light greylist, reflection)
圖片描述
以上日志,在 android P api 27 上 debug 會(huì)彈出,警告對話框,release 會(huì)彈出 toast;

回答
編輯回答
熟稔

沒記錯(cuò)的話android P所有隱藏方法已經(jīng)不允許開發(fā)者通過任何形式進(jìn)行調(diào)用了吧,反射都不行。

2017年1月9日 18:21