Can't import library project into Android Studio project -
Can't import library project into Android Studio project -
i'm writing library project create component that's going used in some, if not all, of our projects. wanted test how it's going far, can't import library project other project.
so, created library project called splashscreen android studio. i've created project splashscreendemo activity should utilize component wrote in library project. import wizard doesn't allow me take project , info find online import android studio old eclipse library project, in problem eclipse isn't involved @ all.
so far i've tried:
right click on project root > new > module > import existing project file > import project file > import modulethis window (and that's path library project):
i've tried several paths, none of them working:
/users/dgc/androidstudioprojects/splashscreen /users/dgc/androidstudioprojects/splashscreen/splashscreen.iml /users/dgc/androidstudioprojects/splashscreen/build.gradle /users/dgc/androidstudioprojects/splashscreen/app /users/dgc/androidstudioprojects/splashscreen/app/app.iml /users/dgc/androidstudioprojects/splashscreen/app/build.gradleany ideas? missing something?
p.s.: versions:
android studio 0.6.1 gradle 1.10 android plugin 0.11.+
i think what's happening you're trying import module has same name existing module , it's not giving indication of what's wrong. actually, if come in path parent project show list of modules can import, , modules can't selected if hover on one, show error message in tooltip:
obviously that's not helpful, , i've filed bug asking improvements:
https://code.google.com/p/android/issues/detail?id=71942
to work around it, you'll have rename either module you're trying import or module in project. can right-click on in project view, take refactor > rename > rename directory.
android import android-studio library-project
Comments
Post a Comment