我有一些旧的Android Studio项目。如果我在安装了最新Android Studio的情况下打开它们,则需要以下设置(android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.allyourcode.a02_01"
minSdkVersion 19
targetSdkVersion 23
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}
}
除外)
var result = List1
.Select(e => new
{
key = new
{
e.Material,
e.Batch
},
QTY = e.QTY
})
.Concat(List2
.Select(e => new
{
key = new
{
e.Material,
e.Batch
},
QTY = -e.QTY
}))
.GroupBy( e => e.key, e => e.QTY )
.Select(g => new Report_Class
{
Material = g.Key.Material,
Batch = g.Key.Batch,
Difference = g.Sum()
})
.ToList();
已升级为网络上可用的最新版本。手动编辑对我来说似乎很乏味。
有没有最简单的方法来升级旧的Android Studio项目,而无需手动编辑gradle文件?