File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
109109 private getDeviceBuildOutputPath ( currentPath : string , projectData : IProjectData ) : string {
110110 const currentPlatformData : IDictionary < any > = this . $projectDataService . getNSValue ( projectData . projectDir , constants . TNS_ANDROID_RUNTIME_NAME ) ;
111111 const platformVersion = currentPlatformData && currentPlatformData [ constants . VERSION_STRING ] ;
112- const normalizedPath = path . join ( currentPath , "debug" ) ;
112+ const buildType = this . $options . release === true ? "release" : "debug" ;
113+ const normalizedPath = path . join ( currentPath , buildType ) ;
113114
114115 if ( semver . valid ( platformVersion ) ) {
115116 const gradleAndroidPluginVersion3xx = "4.0.0" ;
You can’t perform that action at this time.
0 commit comments