Skip to content

The return type is incompatible #323

@hsoehalim

Description

@hsoehalim

Hi There,

I'm new at this, perhaps I missed something during setup. I'm using eclipse Mars and jdk 1.7. After checking out the github project, I'm seeing a lot of compilation errors. In particulars "The return type is incompatible" on io.appium.java_client.AppiumDriver class. For example:

Multiple markers at this line
    - The return type is incompatible with WebDriver.findElements(By)
    - overrides 
     io.appium.java_client.DefaultGenericMobileDriver<RequiredElementType>.findElements

@Override
public List<RequiredElementType> findElements(By by){
        return super.findElements(by);
}

screen shot 2016-02-22 at 5 35 18 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions