The 'aar' bundle is the binary distribution of an Android Library Project. .aar file
consists a JAR file and some resource files. You can convert it
as .jar file using this steps
1) Copy the .aar file in a separate folder and Rename the .aar file to .zip file using
any winrar or zip Extractor software.
2) Now you will get a .zip file. Right click on the .zip file and select "Extract files".
Will get a folder which contains "classes.jar, resource, manifest, R.java,
proguard(optional), libs(optional), assets(optional)".
3) Rename the classes.jar file as yourjarfilename.jar and use this in your project.
注意:如果只想从.aar文件中获取.jar文件,请使用上述方法。假设如果要在.jar文件中包含manifest.xml和资源,则意味着可以右键单击.aar文件并将其直接保存为.jar文件,而不是将其保存为.zip。要查看已解压缩的.jar文件,请下载JD-GUI(Java Decompiler)。然后将您的.jar文件拖放到此JD_GUI中,您可以看到具有可读格式的.class文件,例如.java文件。