Skip to content

Guidelines for importing library to Android Studio #16

@ghost

Description

Hi,
I am experiencing some difficulties with importing the library to Android Studio. Whenever I import it I get 2 errors:

  1. all of a sudden ActionBarActivity cannot be resolved
  2. I get gradle error: "Error:The SDK Build Tools revision (18.1.0) is too low for project ':PhysicaloidLibrary'. Minimum required is 19.1.0" even tough SDK Build Tools revison 19.1.0 (and higer) are all installed. I also looked in every possible gradle file and I haven't been able to found any reference to numbers 18.1.0 nor 19.1.0

I don't know if there is an issue with configuration of my parent project or the issue arises from the fact that this project was developed in Eclipse and has a different file structure. When I create a new project I set the minSDK to 12 since USB Host mode is only part of Android 3.1+.

It would be nice if there would be a tutorial for importing into Android Studio since it is now the official IDE. I am willing to create a tutorial with screenshots and everything, it's just I cannot resolve the problem.

Any help is much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions