Include .aar native to Ionic cordova project


I have aar file and want to include it to another android project.
Could this library be included in Ionic project?
I’ve tried include this library in build.gradle of the main project like usual >> compile(name: ‘filename’, ext: ‘aar’), but it returns error.

Is there anyone trying this?
Thank you :slight_smile: