Is there any easy way to create(import) Android Sample Project (in eclipse terminology) in Android Studio?
I mean something like eclipse New Project->Android Sample Project dialog
-
2No. I only want to know is there any mechanism in AndStudio simmilar to eclipse's "new android sample project dialog"Johnny Doe– Johnny Doe2013-05-22 07:37:44 +00:00Commented May 22, 2013 at 7:37
Add a comment
|
2 Answers
Have you installed the samples for the SDK from your Android SDK Manager? Instructions for doing so can be found here.
After those are installed, you can use the menu File->Import Project...

3 Comments
Johnny Doe
Yes, all samples are already downloaded in to \android-sdk\samples\. As you can notice, this folder contains only sources, no platform or ide depending files are there. Eclipse uses simple 2 step dialog to create new sample project in the workspace. Yes, i can use Import Project->From Existing sources->locate folder->check needed folders->review libraris found->review suggested module structure->select project sdk.
Johnny Doe
But this solution looks more complicated in comparison with eclipse.
Padma Kumar
@JohnnyDoe Yes its little complicated coz its an initial V0.1.
On Android Studio 1.0.2
File -> Import Sample...
Then, if you are looking for Support Samples, these live under
/sdk/extras/android/support/samples/
You'll need to go to File -> Import Project...
Some of them still have Eclipse project structure, but AS will take care of that.
1 Comment
TheOne_su
And you should know that sometimes you will miss the "Import Project" menu ,then you can goto File==>Settings==>Appearance&Behavior ===>Menus android Toolbars===>Main menu ===>File ===>Add After ==>Main Menu ===>File==>Import Sample==>Ok, then ,the "Import Project" menu can show again