Publishing app with Android Studio and XCode

I will publish my first app developed with Ionic / Cordova, and I’m studying the publish process.

I learned several ways to sign and compress the application for Android and iOS, but I also realized that you can open the direct project on Android Studio and XCode.

Someone has used the Android Studio itself to sign and generate the APK? Do you know if problems can occur?

I believe that in this way would be easier than the command line.