android - 将应用程序转换为库后,.aar 文件不可用
问题描述
我想将应用程序转换为库模块,我已按照将应用程序模块转换为库模块 https://developer.android.com/studio/projects/android-library的步骤。
apply plugin: 'com.android.library'
android {
compileSdkVersion 23
defaultConfig {
minSdkVersion 17
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
它同步并成功构建。我不知道它是否已转换为库模块(因为无法找到库文件),或者如果它已转换,那么位置在哪里,我该如何包含它?
解决方案
推荐阅读
- c++ - 对象删除后对成员变量的引用会损坏吗?
- mysql - 如何使用“INSERT (name, ...) INTO table SELECT name, ... FROM table_2”只插入不具有相同'NAME'的行?
- node.js - 一个 Redis 连接可以服务一千个并发用户吗?
- asp.net - 如何在 ASP.net MVC 中存储更改的数据?
- python - Parquet 数据库的组织和重复数据删除
- apache-spark - 单一地点的 Spark 模式管理
- applescript - posix无法将文件转换为类型文件
- javascript - ReactJS如何在setState之后调用函数来更改JSON dict值?
- python - How can I case-insensitive sort a 2D List in Python?
- python - 熊猫在循环中选择下一个列标题