Correct the output file name.
This commit is contained in:
committed by
Joshua Granick
parent
481b39b01b
commit
ca59773602
@@ -186,7 +186,12 @@ class AndroidPlatform extends PlatformTarget {
|
||||
|
||||
}
|
||||
|
||||
deviceID = AndroidHelper.install (project, FileSystem.fullPath (targetDirectory) + "/bin/app/build/outputs/apk/" + project.app.file + "-" + build + ".apk", deviceID);
|
||||
var apkPath = FileSystem.fullPath (targetDirectory) + "/bin/app/build/outputs/apk/";
|
||||
var apkSuffix = "-" + build + ".apk";
|
||||
|
||||
File.copy (apkPath + "app" + apkSuffix, apkPath + project.app.file + apkSuffix);
|
||||
|
||||
deviceID = AndroidHelper.install (project, apkPath + project.app.file + apkSuffix, deviceID);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user