Package com.android.sdklib

Examples of com.android.sdklib.BuildToolInfo


                           @NonNull FullRevision buildToolRevision,
                           @NonNull ILogger logger) {
        if (!mInitialized) {
            mTarget = new FakeAndroidTarget(mPlatformRootFolder, target);

            mBuildToolInfo = new BuildToolInfo(buildToolRevision, new File(mPlatformRootFolder),
                    new File(getHostToolsFolder(), SdkConstants.FN_AAPT),
                    new File(getHostToolsFolder(), SdkConstants.FN_AIDL),
                    new File(mPlatformRootFolder, "prebuilts/sdk/tools/dx"),
                    new File(mPlatformRootFolder, "prebuilts/sdk/tools/lib/dx.jar"),
                    new File(getHostToolsFolder(), SdkConstants.FN_RENDERSCRIPT),
View Full Code Here


        mSdkParser = checkNotNull(sdkParser);
        mLogger = checkNotNull(logger);
        mVerboseExec = verboseExec;
        mCmdLineRunner = new CommandLineRunner(mLogger);

        BuildToolInfo buildToolInfo = mSdkParser.getBuildTools();
        FullRevision buildToolsRevision = buildToolInfo.getRevision();

        if (buildToolsRevision.compareTo(MIN_BUILD_TOOLS_REV) < 0) {
            throw new IllegalArgumentException(String.format(
                    "The SDK Build Tools revision (%1$s) is too low. Minimum required is %2$s",
                    buildToolsRevision, MIN_BUILD_TOOLS_REV));
View Full Code Here

    private BuildToolInfo createLegacyBuildTools(@NonNull LocalPlatformToolPkgInfo ptInfo) {
        File platformTools = new File(getLocation(), SdkConstants.FD_PLATFORM_TOOLS);
        File platformToolsLib = ptInfo.getLocalDir();
        File platformToolsRs = new File(platformTools, SdkConstants.FN_FRAMEWORK_RENDERSCRIPT);

        return new BuildToolInfo(
                ptInfo.getDesc().getFullRevision(),
                platformTools,
                new File(platformTools, SdkConstants.FN_AAPT),
                new File(platformTools, SdkConstants.FN_AIDL),
                new File(platformTools, SdkConstants.FN_DX),
View Full Code Here

            FullRevision rev = PackageParserUtils.getPropertyFull(props, PkgProps.PKG_REVISION);
            if (rev == null) {
                continue; // skip, no revision
            }

            BuildToolInfo btInfo = new BuildToolInfo(rev, buildToolDir);
            LocalBuildToolPkgInfo pkgInfo =
                new LocalBuildToolPkgInfo(this, buildToolDir, props, rev, btInfo);
            outCollection.add(pkgInfo);
        }
    }
View Full Code Here

        mSdkParser = checkNotNull(sdkParser);
        mLogger = checkNotNull(logger);
        mVerboseExec = verboseExec;
        mCmdLineRunner = new CommandLineRunner(mLogger);

        BuildToolInfo buildToolInfo = mSdkParser.getBuildTools();
        FullRevision buildToolsRevision = buildToolInfo.getRevision();

        if (buildToolsRevision.compareTo(MIN_BUILD_TOOLS_REV) < 0) {
            throw new IllegalArgumentException(String.format(
                    "The SDK Build Tools revision (%1$s) is too low. Minimum required is %2$s",
                    buildToolsRevision, MIN_BUILD_TOOLS_REV));
View Full Code Here

                           @NonNull FullRevision buildToolRevision,
                           @NonNull ILogger logger) {
        if (!mInitialized) {
            mTarget = new FakeAndroidTarget(mPlatformRootFolder, target);

            mBuildToolInfo = new BuildToolInfo(buildToolRevision, new File(mPlatformRootFolder),
                    new File(getHostToolsFolder(), SdkConstants.FN_AAPT),
                    new File(getHostToolsFolder(), SdkConstants.FN_AIDL),
                    new File(mPlatformRootFolder, "prebuilts/sdk/tools/dx"),
                    new File(mPlatformRootFolder, "prebuilts/sdk/tools/lib/dx.jar"),
                    new File(getHostToolsFolder(), SdkConstants.FN_RENDERSCRIPT),
View Full Code Here

        mSdkParser = checkNotNull(sdkParser);
        mLogger = checkNotNull(logger);
        mVerboseExec = verboseExec;
        mCmdLineRunner = new CommandLineRunner(mLogger);

        BuildToolInfo buildToolInfo = mSdkParser.getBuildTools();
        FullRevision buildToolsRevision = buildToolInfo.getRevision();

        if (buildToolsRevision.compareTo(MIN_BUILD_TOOLS_REV) < 0) {
            throw new IllegalArgumentException(String.format(
                    "The SDK Build Tools revision (%1$s) is too low. Minimum required is %2$s",
                    buildToolsRevision, MIN_BUILD_TOOLS_REV));
View Full Code Here

                           @NonNull FullRevision buildToolRevision,
                           @NonNull ILogger logger) {
        if (!mInitialized) {
            mTarget = new FakeAndroidTarget(mPlatformRootFolder, target);

            mBuildToolInfo = new BuildToolInfo(buildToolRevision, new File(mPlatformRootFolder),
                    new File(getHostToolsFolder(), SdkConstants.FN_AAPT),
                    new File(getHostToolsFolder(), SdkConstants.FN_AIDL),
                    new File(mPlatformRootFolder, "prebuilts/sdk/tools/dx"),
                    new File(mPlatformRootFolder, "prebuilts/sdk/tools/lib/dx.jar"),
                    new File(getHostToolsFolder(), SdkConstants.FN_RENDERSCRIPT),
View Full Code Here

        mSdkParser = checkNotNull(sdkParser);
        mLogger = checkNotNull(logger);
        mVerboseExec = verboseExec;
        mCmdLineRunner = new CommandLineRunner(mLogger);

        BuildToolInfo buildToolInfo = mSdkParser.getBuildTools();
        FullRevision buildToolsRevision = buildToolInfo.getRevision();

        if (buildToolsRevision.compareTo(MIN_BUILD_TOOLS_REV) < 0) {
            throw new IllegalArgumentException(String.format(
                    "The SDK Build Tools revision (%1$s) is too low. Minimum required is %2$s",
                    buildToolsRevision, MIN_BUILD_TOOLS_REV));
View Full Code Here

TOP

Related Classes of com.android.sdklib.BuildToolInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.