xiaoliang
2014-06-30 17:11:24 +08:00
menu: VCS -> Checkout from Version Control -> Subversion
然后自己构建一个build.gradle,需要你自己看下gradle的文档
关键的配置如下,可兼容Eclipse目录结构的老项目
android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
jniLibs.srcDirs = ['libs']
}
}