Class AndroidLocation


  • @Deprecated
    public final class AndroidLocation
    extends java.lang.Object
    Deprecated.
    Use AndroidLocationsException or AndroidLocationsSingleton. Inside Gradle, use the build service instead of the singleton.
    Manages the location of the android files (including emulator files, ddms config, debug keystore)

    This does not manages the SDK location. For that see [SdkLocator]

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AndroidLocation.AndroidLocationException
      Deprecated.
      Throw when the location of the android folder couldn't be found.
    • Constructor Summary

      Constructors 
      Constructor Description
      AndroidLocation()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.lang.String getAvdFolder()
      Deprecated.
      Returns the folder where the users AVDs are stored.
      static java.lang.String getFolder()
      Deprecated.
      Returns the folder used to store android related files.
      static java.lang.String getFolder​(EnvironmentProvider environmentProvider, ILogger logger)
      Deprecated.
      Returns the folder used to store android related files.
      static java.lang.String getFolderWithoutWrites()
      Deprecated.
      Returns the folder used to store android related files.
      static java.lang.String getUserHomeFolder()
      Deprecated.
       
      static void resetFolder()
      Deprecated.
      Resets the folder used to store android related files.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • FOLDER_DOT_ANDROID

        public static final java.lang.String FOLDER_DOT_ANDROID
        Deprecated.
        The name of the .android folder returned by getFolder().
        See Also:
        Constant Field Values
      • FOLDER_AVD

        public static final java.lang.String FOLDER_AVD
        Deprecated.
        Virtual Device folder inside the path returned by getFolder()
        See Also:
        Constant Field Values
      • ANDROID_PREFS_ROOT

        public static final java.lang.String ANDROID_PREFS_ROOT
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AndroidLocation

        public AndroidLocation()
        Deprecated.