Hello,
I get a warning from the Google pre-launch report:
"Problem: Usage of non-SDK interfaces"
when I upload an APK with targetSDK=26 on Google Play and tested on a Pixel 2 with Android 9.
It does not matter if I use the first or second option to compile the app on AI2 nb170.
Logcat (there are a lot of issues like that):
...
D/StrictMode(12635): StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/os/... (Landroid/view/...)
...
I did not use any additional API.
Thanks