I installed new Android Studio 0.1.1 based on IDEA ide and tried Import code from Eclipse.
I explore this problem and find the weak point: in file build.gradle I change next lines:
And it fix my problem with project import. I think it's problem in Eclipse export function. Build tools starts only from version 17 (in ADT 22), so it's imposible to find version 15.
Go to File->New->Import Module then browse you project. After importing module go to project structure and add module dependency to your project.
To use your Android library's code in another app module, proceed as follows: Navigate to File > Project Structure > Dependencies. In the Declared Dependencies tab, click and select Library Dependency in the dropdown. In the Add Library Dependency dialog, use the search box to find the library to add.
Had same problem, now works. I did this:
Open android studio:
Tools -> android -> SDK manager then install the android 4.0.3 (API 15) and done.
It worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With