I am currently developing my first app, so I am not an expert on android, the point is that I have uploaded my app to test the google play console, but in the section "Report before launch" (where it is tested the apk in different levels of android api) it tells me that I have a problem for android 9 with a red icon and with the message of:
Problem: Usage of non-SDK interfaces
I've read this , this and some other entries, and from what I understand is that they are trying to prevent developers from using elements of android and java that have not been designed to be used directly.
In the emulator, my app works as it should at that level of api but in logcat it generates entries such as (I only quote some, they really are many):
Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (light greylist, reflection)
Accessing hidden field Landroid/app/ActivityThread;->mActivities:Landroid/util/ArrayMap; (light greylist, reflection)
Even in a newly generated project it also generates me entries of that type, and from what I see all the entries it generates belong to light greylist.
Is that really an impediment for me to launch my app in the playstore?
If so, what should I do to identify where these methods and / or attributes are being accessed?
To add, I want to clarify that I do not have access to a physical device with this level of api.
I appreciate your attention.