Ejemplo n.º 1
0
 @Nullable
 private String getOldPlatformToolsFolderPath() {
   String platformLocation;
   if (myWrapee.isPlatform()) {
     platformLocation = myWrapee.getLocation();
   } else {
     IAndroidTarget parent = myWrapee.getParent();
     platformLocation = parent != null ? parent.getLocation() : null;
   }
   if (platformLocation == null) {
     return null;
   }
   return platformLocation + SdkConstants.FD_TOOLS + File.separator;
 }
Ejemplo n.º 2
0
 @Override
 public String getLocation() {
   return myWrapee.getLocation();
 }