我已将此库添加到我的gradle构建中,我想访问它的代码并对其进行修改但是当我打开课程时它会告诉我它已经编译了#34;编译代码"
有没有办法可以使用可用于修改的代码来获取对实际类的引用?
这里是build.gradle文件
apply plugin: 'com.android.application'
android {
compileSdkVersion 20
buildToolsVersion "19.1.0"
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
defaultConfig {
applicationId "********"
minSdkVersion 14
targetSdkVersion 20
versionCode 18
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:20.0.0'
compile 'com.google.code.gson:gson:2.2.4'
compile group: 'commons-io', name: 'commons-io', version: '2.0.1'
compile 'com.mcxiaoke.volley:library:1.0.+'
compile "com.daimajia.swipelayout:library:1.0.1@aar"
compile 'com.google.android.gms:play-services:4.4.52'
}
具体的库是:
compile "com.daimajia.swipelayout:library:1.0.1@aar"