Compile Ionic 4 for Android 9 (Pie)

Hello. I would like to see how can i compile my finished app for Android 9 (Pie)?
When i try compile my code with ionic build android. was compiled for android 8 (oreo) and that brought me problems because my http.get are not working on android 9, only works on android 8 and less, i tried to compiled with ionic build android@9.0.0, and not works
I need a solution with this issue, Thanks in advance