Joke Collection Website - Blessing messages - What is an sdk interface and what is a non-SDK interface? Seeking answers in a popular way,
What is an sdk interface and what is a non-SDK interface? Seeking answers in a popular way,
For example, when an application interacts with a class through reflection and other mechanisms (WebView, HTTP, etc.). ), it should not access methods or fields that are not listed in the SDK after android9.0, otherwise it will prompt an error, and the application should honestly use the API provided by Google Big Brother.
Extended data:
Test during application debugging.
First, it is recommended to open lintOptions and check other problems.
In addition, build and run a debuggable application on a device or simulator equipped with Android 9(API level 28) or higher to test whether the application uses a non-SDK interface.
When running a test on an application, if the application accesses some non-SDK interfaces, the system will output a log message.
You can check the application's log messages for the following details:
Declared class, name and type (in the format used by Android runtime).
Access mode: link, reflection or JNI
Which list does the accessed non-SDK interface belong to?
- Previous article:Edit the letter 0000 or 00000 sent to 10655 133 to cancel Unicom?
- Next article:Iphone can't receive the verification code of ink and ink.
- Related articles
- Qidian registers as an online writer
- How can I blacken each other and not send text messages?
- Why was it notified before the virtual mining was completed?
- How to check missed calls before shutting down?
- Five keynote speeches to promote the spirit of fighting the epidemic
- If you add a mobile phone card, you can't receive text messages.
- How to query Hao's vaccination information?
- Real estate identification advertising copy
- What happened to the Yukang code pop-up window?
- Guangzhou provident fund deposit process