我现在有一些文件需要编译到apk中,但是不知道如何操作
这个是我需要编译到apk中的文件:
我希望最终达成的效果:
我所使用的android stduio的版本为2.3.3,gradle版本为2.2.3。
我的 build.gradle文件
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "lnsoft.mobile.xtyth"
minSdkVersion 21
targetSdkVersion 25
versionCode 4
versionName "1.06"
//testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
// multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
// sourceSets{
// main{
// jniLibs.srcDirs=['libs']
// }
// }
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'org.litepal.android:core:1.6.0'
compile 'com.alibaba:fastjson:1.1.62.android'
compile project(path: ':commondialogutils_green')
compile project(':Android_Validator_master')
compile project(':pulltorefreshview')
compile project(':changeskin')
// compile 'com.android.support:multidex:1.0.1'
}
我该如何操作?