Been searching around and cant figure out how to export my library module. Apparently AAR is the Android standard that exports thew resources too, which I want.
After looking here I figured how to do it, exported etc. I copied to desktop and extracted it (as its more or less a zip) but i couldnt find my classes.
Not really sure what ive done or missed?
my build gradle has the following.
apply plugin: 'com.android.library'
android {
compileSdkVersion 22
buildToolsVersion '22.0.0'
defaultConfig {
minSdkVersion 14
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile ('com.android.support:appcompat-v7:22.0.0')
}
Android studio advised to change to 'com.android.library'
Any ideas how I can successfully extract with all my library classes and resources?
Note: I also rebuild and clean (apparently this should generate a new AAR file?) maybe this is not the correct way to do it?