문제

I'm trying to import this android library project into my application from Android Studio (0.2.5, gradle 1.7), but I always get some error, no matter what I try.

I mainly have tried to follow the most voted answer from this post, (I even tried with a HelloWord project from the scratch and actionbarsherlock) but at the end I get some error, like

Gradle: A problem occurred evaluating project ':libraries:actionbarsherlock'.
> Gradle version 1.6 is required. Current version is 1.7

Can anyone help me? Can you import either the filedialog or the sherlock library into an Android studio project?

도움이 되었습니까?

해결책

I solved upgrading to Android Studio 0.2.6. Here, the "New Module" issue has been fixed, so you can add a new library module to your project. Then, I replicated the library project into this new module (adding manually activities, files, resources...), and now I've a working gradle project.

I know this is a bit tricky, but I had to make it work!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top