摘自原文地址:https://www.cnblogs.com/xxdh/p/6703746.html

生成jar:

在librarydemo工程下的build.gradle中加上:

Android Studio项目打包成jar

做如下操作:

Android Studio项目打包成jar

(注:你的as从来没有生成过jar,那么第一次就会很慢,会去下载一些文件)

Android Studio项目打包成jar

查看jar是否成功生成:

Android Studio项目打包成jar

相关文章:

  • 2021-06-23
  • 2021-09-20
  • 2021-05-11
  • 2022-01-01
  • 2021-06-20
猜你喜欢
  • 2021-10-31
  • 2021-07-15
  • 2022-01-07
  • 2021-07-06
  • 2021-04-02
  • 2021-10-18
  • 2021-11-06
相关资源
相似解决方案