anggrayudi / android-hidden-api

A library that provides access to Android hidden APIs and internal resources.
Apache License 2.0
3.43k stars 643 forks source link

android-28.jar compile error: Cannot access hidden methods #49

Open haidaodashushu opened 5 years ago

haidaodashushu commented 5 years ago

permission error when access method. eg:

SpannableString spannableString = new SpannableString("hello world");
spannableString.setSpan(new AbsoluteSizeSpan(12), 0, 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);

it will tip error when build project.

anggrayudi commented 5 years ago

In the current version of Android Studio, especially v3.2, some hidden methods are not accessible. We have no idea how to solve this problem. I will keep this issue open until someone found the solution.