@@ -117,10 +117,9 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
117117 let targetSdkVersion = androidToolsInfo . targetSdkVersion ;
118118 this . $logger . trace ( `Using Android SDK '${ targetSdkVersion } '.` ) ;
119119 if ( this . $options . symlink ) {
120- this . symlinkDirectory ( "build-tools" , this . platformData . projectRoot , frameworkDir ) . wait ( ) ;
121120 this . symlinkDirectory ( "libs" , this . platformData . projectRoot , frameworkDir ) . wait ( ) ;
122121 } else {
123- this . copy ( this . platformData . projectRoot , frameworkDir , "build-tools libs" , "-R" ) ;
122+ this . copy ( this . platformData . projectRoot , frameworkDir , "libs" , "-R" ) ;
124123 }
125124
126125 // 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
129128 this . $fs . createDirectory ( mainPath ) . wait ( ) ;
130129 shell . cp ( "-R" , path . join ( path . resolve ( pathToTemplate ) , "*" ) , mainPath ) ;
131130 } else {
132- this . copy ( this . platformData . projectRoot , frameworkDir , "src" , "-R" ) ;
131+ this . copy ( this . platformData . projectRoot , frameworkDir , "src build-tools " , "-R" ) ;
133132 }
134133 this . copy ( this . platformData . projectRoot , frameworkDir , "build.gradle settings.gradle gradle.properties" , "-f" ) ;
135134
0 commit comments