Ionic app on android 9 with error message “detected problems with API compatibility”

I created an ionic app with the latest ionic CLI. After the app deployed on my android device, it always displays a warning message “detected problems with API compatibility (visit g.co/dev/appcompat for more information)” as the enclosed screenshot.

I tried to package and deploy the app with Cordova and Capacitor. The same error message displayed. (yes, Capacitor actually based on Cordova).

I just went through the g.co/dev/appcompat and did some search online. It is caused by restrictions on non-SDK interfaces of Android.

I do not add any special code, so I guess it may be something wrong with Ionic or Cordova.

Anyone know the solution to dissolve the warning message? Thanks very much~

1 Like

no one have same issue?

I also have this problem, anyone can help?