Gradle Plugin 3.0 Output Apk directory not available

已查看 24 次
跳至第一个未读帖子

md

未读,
2017年10月28日 11:38:312017/10/28
收件人 adt-dev
Android Studio 3.0 definitely is an improvement.

But Gradle Plugin 3.0 broke my builds.

We have all seen: 

https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html

But the section: "Modifying variant outputs at build time may not work"

Includes the following snippet:

android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "MyCustomApkFileName.apk"
}
}

So how do we configure the output directory where "MyCustomApkFileName.apk" is finally placed?

No solutions offered in the release.

Android Team Powers activate!

Gracias,

md


回复全部
回复作者
转发
0 个新帖子