public String getBuildToolsLibDirectoryPath ( ) { File buildToolsLib = new File ( getBuildToolInfo ( ) . getLocation ( ) , "lib" ) ; if ( buildToolsLib . exists ( ) ) { return buildToolsLib . getAbsolutePath ( ) ; } throw new InvalidSdkException ( "Cannot find " + buildToolsLib ) ; }
Get the path for build - tools lib directory