首页 > 解决方案 > 将应用程序转换为库后,.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'
        }
    }
}

它同步并成功构建。我不知道它是否已转换为库模块(因为无法找到库文件),或者如果它已转换,那么位置在哪里,我该如何包含它?

标签: androidaar

解决方案


推荐阅读