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 文件。