Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Device Farm configuration is NOT VALID (with valid config) #4

Closed
fabiendevos opened this issue Oct 19, 2015 · 10 comments
Closed

AWS Device Farm configuration is NOT VALID (with valid config) #4

fabiendevos opened this issue Oct 19, 2015 · 10 comments

Comments

@fabiendevos
Copy link

I get this message:

AWS Device Farm configuration is NOT VALID
AWS Device Farm configuration is NOT VALID

(the message appears twice) for the config below (the projectName, accessKey and secretKey are working, I can use them to send tests through the command line):

devicefarm {

  projectName "My Android App"

  authentication {
    accessKey "XXXXXXXXXXXXXXXX"
    secretKey "YYYYYYYYYYYYYYYYYYYY"
  }

}

The devicefarmUpload task is therefore skipped (I'm guessing because the config is considered not valid).

@fabiendevos fabiendevos changed the title AWS Device Farm configuration is NOT VALID AWS Device Farm configuration is NOT VALID (with valid config) Oct 19, 2015
@MisumiRize
Copy link
Contributor

This problem is fixed by #2, but fixed plugin is not seem to be published yet.

@fabiendevos
Copy link
Author

Thanks, any idea when it will be published?

@MisumiRize
Copy link
Contributor

Sorry, I don't know when the change will be published.
But you can distribute the newest one by using Bintray.

@fabiendevos
Copy link
Author

@r7o is there any chance you could release it? This is a pretty blocking issue. :)

@EugeneDeveloper
Copy link

I am also interesting about that issue. It blocked. Is it possible to send test using command line?
I also every time have problem with using deviceState property:

Error:(86, 0) No such property: on for class: com.amazonaws.devicefarm.extension.DeviceState

@thesimran
Copy link

I'm having the same issue. Any update on a release date?

@trentpeterson
Copy link

Hi all, we're working on this now and will have a new build shortly. Thanks for your patience!

@michael-b-willingham
Copy link
Contributor

We released the latest changes from github as version 1.1: 'com.amazonaws:aws-devicefarm-gradle-plugin:1.1'

@fabiendevos
Copy link
Author

Thanks a lot!

@michael-b-willingham
Copy link
Contributor

I forgot to mention that anybody who was running into

No such property: on for class: com.amazonaws.devicefarm.extension.DeviceState

should now surround their "on" or "off" with quotes in their device state enclosure.

Here's an example:

        // optional block, radios default to 'on' state, all parameters optional
        devicestate {

            extraDataZipFile file("relative/path/to/zip") // default null
            auxiliaryApps [file("path1"), file("path2")] // default empty list
            wifi "on"
            bluetooth "off"
            gps "off"
            nfc "on"
            latitude 47.6204 // default
            longitude -122.3491 // default
        }

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

No branches or pull requests

6 participants