Java Code Examples for com.android.SdkConstants#FD_TOOLS

The following examples show how to use com.android.SdkConstants#FD_TOOLS . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AndroidProGuardTask.java    From javaide with GNU General Public License v3.0 5 votes vote down vote up
private File getDefaultProguardFile(String name) {
    File sdkDir = scope.getGlobalScope().getSdkHandler().getAndCheckSdkFolder();
    return new File(sdkDir,
            SdkConstants.FD_TOOLS + File.separatorChar
                    + SdkConstants.FD_PROGUARD + File.separatorChar
                    + name);
}
 
Example 2
Source File: BaseExtension.java    From javaide with GNU General Public License v3.0 5 votes vote down vote up
public File getDefaultProguardFile(String name) {
    File sdkDir = sdkHandler.getAndCheckSdkFolder();
    return new File(sdkDir,
            SdkConstants.FD_TOOLS + File.separatorChar
                    + SdkConstants.FD_PROGUARD + File.separatorChar
                    + name);
}
 
Example 3
Source File: TaskManager.java    From javaide with GNU General Public License v3.0 4 votes vote down vote up
private File getDefaultProguardFile(String name) {
    File sdkDir = sdkHandler.getAndCheckSdkFolder();
    return new File(sdkDir,
            SdkConstants.FD_TOOLS + File.separatorChar + SdkConstants.FD_PROGUARD
                    + File.separatorChar + name);
}
 
Example 4
Source File: ToolPackage.java    From java-n-IDE-for-Android with Apache License 2.0 2 votes vote down vote up
/**
 * Computes a potential installation folder if an archive of this package were
 * to be installed right away in the given SDK root.
 * <p/>
 * A "tool" package should always be located in SDK/tools.
 *
 * @param osSdkRoot The OS path of the SDK root folder.
 * @param sdkManager An existing SDK manager to list current platforms and addons.
 * @return A new {@link File} corresponding to the directory to use to install this package.
 */
@Override
public File getInstallFolder(String osSdkRoot, SdkManager sdkManager) {
    return new File(osSdkRoot, SdkConstants.FD_TOOLS);
}
 
Example 5
Source File: ToolPackage.java    From javaide with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Computes a potential installation folder if an archive of this package were
 * to be installed right away in the given SDK root.
 * <p/>
 * A "tool" package should always be located in SDK/tools.
 *
 * @param osSdkRoot The OS path of the SDK root folder.
 * @param sdkManager An existing SDK manager to list current platforms and addons.
 * @return A new {@link File} corresponding to the directory to use to install this package.
 */
@Override
public File getInstallFolder(String osSdkRoot, SdkManager sdkManager) {
    return new File(osSdkRoot, SdkConstants.FD_TOOLS);
}