@@ -252,9 +252,6 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
252
252
this . $fs . ensureDirectoryExists ( targetPath ) . wait ( ) ;
253
253
254
254
shell . cp ( "-f" , path . join ( libraryPath , "*.jar" ) , targetPath ) ;
255
- let projectLibsDir = path . join ( this . platformData . projectRoot , "libs" ) ;
256
- this . $fs . ensureDirectoryExists ( projectLibsDir ) . wait ( ) ;
257
- shell . cp ( "-f" , path . join ( libraryPath , "*.jar" ) , projectLibsDir ) ;
258
255
} ) . future < void > ( ) ( ) ;
259
256
}
260
257
@@ -281,12 +278,6 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
281
278
return ( ( ) => {
282
279
let pluginPlatformsFolderPath = this . getPluginPlatformsFolderPath ( pluginData , AndroidProjectService . ANDROID_PLATFORM_NAME ) ;
283
280
284
- // Handle *.jars inside libs folder
285
- let libsFolderPath = path . join ( pluginPlatformsFolderPath , AndroidProjectService . LIBS_FOLDER_NAME ) ;
286
- if ( this . $fs . exists ( libsFolderPath ) . wait ( ) ) {
287
- this . addLibrary ( libsFolderPath ) . wait ( ) ;
288
- }
289
-
290
281
let configurationsDirectoryPath = path . join ( this . platformData . projectRoot , "configurations" ) ;
291
282
this . $fs . ensureDirectoryExists ( configurationsDirectoryPath ) . wait ( ) ;
292
283
@@ -310,14 +301,6 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
310
301
public removePluginNativeCode ( pluginData : IPluginData ) : IFuture < void > {
311
302
return ( ( ) => {
312
303
try {
313
- let pluginPlatformsFolderPath = this . getPluginPlatformsFolderPath ( pluginData , AndroidProjectService . ANDROID_PLATFORM_NAME ) ;
314
- let libsFolderPath = path . join ( pluginPlatformsFolderPath , AndroidProjectService . LIBS_FOLDER_NAME ) ;
315
-
316
- if ( this . $fs . exists ( libsFolderPath ) . wait ( ) ) {
317
- let pluginJars = this . $fs . enumerateFilesInDirectorySync ( libsFolderPath ) ;
318
- _ . each ( pluginJars , jarName => this . $fs . deleteFile ( path . join ( libsFolderPath , jarName ) ) . wait ( ) ) ;
319
- }
320
-
321
304
this . $fs . deleteDirectory ( path . join ( this . platformData . projectRoot , "configurations" , pluginData . name ) ) . wait ( ) ;
322
305
this . $fs . deleteDirectory ( path . join ( this . platformData . projectRoot , "src" , pluginData . name ) ) . wait ( ) ;
323
306
} catch ( e ) {
0 commit comments