Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<need help>import android.annotation.UnsupportedAppUsage can not be invoked... #69

Open
heatonJr opened this issue Mar 26, 2020 · 4 comments

Comments

@heatonJr
Copy link

Hello,
I downloaded android-hidden-api/android-28/android.jar, and replaced what default in my project.
some classes can be invoked, e.g. android.annotation.MainThread, Nullable, WorkerThread...
but android.annotation.UnsupportedAppUsage still can not be invoked,

Could you help me to deal with this issue?
Thanks ...
issue1

@tateisu
Copy link

tateisu commented Mar 26, 2020

can you show what code you need to import it?

@heatonJr
Copy link
Author

can you show what code you need to import it?
sure, as below, issue in AsyncTask.class...
issue

@tateisu
Copy link

tateisu commented Mar 26, 2020

that annotation has no real effect on Android Studio, you can add the same full qualified named empty annotation to your code.

@heatonJr
Copy link
Author

that annotation has no real effect on Android Studio, you can add the same full qualified named empty annotation to your code.

okay, thanks ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants