Skip to content

Commit

Permalink
change debug apk output folder
Browse files Browse the repository at this point in the history
  • Loading branch information
zfdang committed May 14, 2016
1 parent 44ebc25 commit c9b8121
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ android {
// http://www.sollyu.com/android-apk-studio-generated-automatically-appends-a-version-number/
android.applicationVariants.all { variant ->
variant.outputs.each { output ->
// output.outputFile = new File(output.outputFile.parent, "zSMTH" + "-" + buildType.name + "-v" + defaultConfig.versionName + "-" + defaultConfig.versionCode + ".apk" );
// output.outputFile = new File(output.outputFile.parent, "zSMTH" + "-" + buildType.name + "-v" + defaultConfig.versionName + ".apk" );
output.outputFile = new File("/Users/zfdang/workspaces/gh-pages/zSMTH-Android/", "zSMTH" + "-" + buildType.name + "-v" + defaultConfig.versionName + ".apk" );
if(buildType.name == "release") {
output.outputFile = new File("/Users/zfdang/workspaces/gh-pages/zSMTH-Android/", "zSMTH" + "-" + buildType.name + "-v" + defaultConfig.versionName + ".apk" );
} else {
output.outputFile = new File(output.outputFile.parent, "zSMTH" + "-" + buildType.name + "-v" + defaultConfig.versionName + ".apk" );
}
}
}
// ...
Expand Down

0 comments on commit c9b8121

Please sign in to comment.