@@ -117,10 +117,9 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
117
117
let targetSdkVersion = androidToolsInfo . targetSdkVersion ;
118
118
this . $logger . trace ( `Using Android SDK '${ targetSdkVersion } '.` ) ;
119
119
if ( this . $options . symlink ) {
120
- this . symlinkDirectory ( "build-tools" , this . platformData . projectRoot , frameworkDir ) . wait ( ) ;
121
120
this . symlinkDirectory ( "libs" , this . platformData . projectRoot , frameworkDir ) . wait ( ) ;
122
121
} else {
123
- this . copy ( this . platformData . projectRoot , frameworkDir , "build-tools libs" , "-R" ) ;
122
+ this . copy ( this . platformData . projectRoot , frameworkDir , "libs" , "-R" ) ;
124
123
}
125
124
126
125
// These files and directories should not be symlinked as CLI is modifying them and we'll change the original values as well.
@@ -129,7 +128,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
129
128
this . $fs . createDirectory ( mainPath ) . wait ( ) ;
130
129
shell . cp ( "-R" , path . join ( path . resolve ( pathToTemplate ) , "*" ) , mainPath ) ;
131
130
} else {
132
- this . copy ( this . platformData . projectRoot , frameworkDir , "src" , "-R" ) ;
131
+ this . copy ( this . platformData . projectRoot , frameworkDir , "src build-tools " , "-R" ) ;
133
132
}
134
133
this . copy ( this . platformData . projectRoot , frameworkDir , "build.gradle settings.gradle gradle.properties" , "-f" ) ;
135
134
0 commit comments