我的模块build.gradle中有以下代码 // Rest of the configuration omitted for clarity paid }如果我在paid、free、debug或release中创建一个文件(任何文件: Java、resources等),它就会被AndroidStudio识别,并且我可以在我的项目中使用它。然
并将其导出为jar文件: public class Simple { return a+b;} 在AndroidStudio中,我创建了一个libs文件夹并添加了.jar文件,右键单击,添加为库,然后尝试使用Simple.add(1, 2);但没有成功,类不被识别。在extensions文件夹中,我尝试创建一个新模块,然后在其中导入我的.jar文件。导入后,Simple.add在项目中也