Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

Outdated buildToolsVersion in ros-android gradle plugin #79

Closed
wmmc88 opened this issue Jan 17, 2019 · 5 comments
Closed

Outdated buildToolsVersion in ros-android gradle plugin #79

wmmc88 opened this issue Jan 17, 2019 · 5 comments

Comments

@wmmc88
Copy link

wmmc88 commented Jan 17, 2019

When applying the ros-android gradle plugin, I get the following warning from Android Studio:

WARNING: The specified Android SDK Build Tools version (25.0.2) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.2.1. Android SDK Build Tools 28.0.3 will be used. To suppress this warning, remove "buildToolsVersion '25.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools. Remove Build Tools version and sync project

project level build.gradle

buildscript {
    apply from: "https://github.com/rosjava/android_core/raw/kinetic/buildscript.gradle"
}

allprojects {
    repositories {
        google()
        jcenter()

    }
}

subprojects {

    apply plugin: 'ros-android'

    afterEvaluate { project ->
        android {
            // Exclude a few files that are duplicated across our dependencies and
            // prevent packaging Android applications.
            packagingOptions {
                exclude "META-INF/LICENSE.txt"
                exclude "META-INF/NOTICE.txt"
            }
            lintOptions {
                abortOnError false
            }
        }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
@wmmc88
Copy link
Author

wmmc88 commented Jan 17, 2019

@jubeira
Copy link

jubeira commented Jan 17, 2019

Hi @wmmc88, thanks for the observation.

That part was actually fixed here: #73, but I think the problem is that the Maven repository has not been updated yet (see rosjava/rosjava_mvn_repo#63).

I'll update Maven repo with the latest rosjava_bootstrap.

@wmmc88
Copy link
Author

wmmc88 commented Jan 17, 2019

resolved by rosjava/rosjava_mvn_repo#64

@wmmc88 wmmc88 closed this as completed Jan 17, 2019
@jubeira
Copy link

jubeira commented Jan 18, 2019

@wmmc88 could you solve your problem with the time conversion? I can't see your question anymore.

@wmmc88
Copy link
Author

wmmc88 commented Jan 18, 2019

Ye I'm not sure what it was, maybe my caches didn't update correctly or Smth but I got it fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants