How to create .jar or .aar file for porting java to c# Android bindings library (xamarin) project in android studio?

I had been tried dozen of times creating jar and aar files for android java library to c# xamarin , but the generated dll has no class and namespace, i changed many build action like EmbededJar, InputJar, EmbededReference Jar, I think the problem is with jar or aar file tha is not created as per-requirement for Android Bindings Library (xamarin).

The procedure for creating jar and aar like as in boelow link; stack overflow answer