Giter VIP home page Giter VIP logo

Comments (8)

kkozmic-seek avatar kkozmic-seek commented on June 27, 2024

I just hit the same problem (masked by very confusing java.lang.IllegalStateException: buildToolsVersion is not specified.)

Are there any plans to fix this?

from aws-device-farm-gradle-plugin.

michael-b-willingham avatar michael-b-willingham commented on June 27, 2024

We are currently exploring making the plugin compatible with Java 7. In the meantime, the recommended course of action is to use the Java 8 SDK in Android Studios.

kkozmic-seek,

buildToolsVersion is not specified.

is typically thrown when the android gradle plugin is misconfigured.

Using the sample at http://developer.android.com/tools/building/configuring-gradle.html:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 19
    buildToolsVersion "19.0.0"

    defaultConfig {
        minSdkVersion 8
        targetSdkVersion 19
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile project(":lib")
    compile 'com.android.support:appcompat-v7:19.0.1'
    compile fileTree(dir: 'libs', include: ['*.jar'])
}

That error occurs when

buildToolsVersion "19.0.0"

is removed from the android gradle configuration.

from aws-device-farm-gradle-plugin.

kkozmic-seek avatar kkozmic-seek commented on June 27, 2024

Hi @michael-b-willingham thanks for getting back to me.

Any ETA for when Java 7 support will go live?

As for the buildToolsVersion issue, I think it's a red herring. We most definitely have that configured in our build.gradle (set to buildToolsVersion "23.0.2" if that makes any difference to device farm plugin)

from aws-device-farm-gradle-plugin.

michael-b-willingham avatar michael-b-willingham commented on June 27, 2024

We're actively working on the java 7 support for this plugin. You can expect to see a pull request soon.

from aws-device-farm-gradle-plugin.

awjones76 avatar awjones76 commented on June 27, 2024

Awesome... Looking forward to Java 7 support!

from aws-device-farm-gradle-plugin.

michael-b-willingham avatar michael-b-willingham commented on June 27, 2024

Here's the pull request. Once it gets reviewed, I'll upload the artifacts to maven central as v1.2 and push the changes to the awslabs master repo.

https://github.com/awslabs/aws-device-farm-gradle-plugin/pull/8/files

from aws-device-farm-gradle-plugin.

kkozmic-seek avatar kkozmic-seek commented on June 27, 2024

nicely done @michael-b-willingham

from aws-device-farm-gradle-plugin.

michael-b-willingham avatar michael-b-willingham commented on June 27, 2024

The new artifacts were deployed to maven. You should be good to try it. Here's the new gradle dependency:

classpath 'com.amazonaws:aws-devicefarm-gradle-plugin:1.2'

from aws-device-farm-gradle-plugin.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.