Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio No "Import Sample" option in File menu

Why android studio not showing import sample option in File menu even if I have downloaded sample projects on my disc?

I have Android Studio 2.2.2 with correct sdk path.

enter image description here

It's a bug? or ??

enter image description here

like image 802
Esperanz0 Avatar asked Oct 22 '16 21:10

Esperanz0


People also ask

How do I import a sample project in Android Studio?

In the Android Studio menu, select File > Import Sample to open the Import Sample wizard. Select a sample to import and click Next. Specify the application name and project location if different from the displayed settings. Click Finish . The sample project opens in a new Android Studio project.

How do I find a sample code in Android Studio?

The Code Sample Browser in Android Studio helps you find Android code samples based on the currently highlighted symbol in your project. In your code, highlight a variable, type, or method. Right-click to display the context menu. From the context menu, select Find Sample Code. The results of your search appear in a tool window as shown in ...

How do I import Android code samples from GitHub?

Android Studio provides easy access to import Android code samples from GitHub and is the recommended method to retrieve Android code samples. In the Android Studio menu, select File > Import Sample to open the Import Sample wizard. Select a sample to import and click Next.

How to import samples from a sample file?

In the Browse Samples dialog. 1 Select File > New > Import Sample. 2 Use the search box or the scroll bar to browse the samples. 3 When you find a sample that interests you, highlight it and take a look at the preview. 4 If you want to import it as a project, click Next and then Finish.


2 Answers

To see this menu option: File -> New -> Import Sample

you need to turn on: Settings -> Plugins -> Google Cloud Tools For Android Studio

like image 88
Vasily Kravchenko Avatar answered Nov 14 '22 20:11

Vasily Kravchenko


Have you checked "Google Developer Sample" plugin option? In my case, this option had not been active.

Settings -> Plugins -> Google Developer Samples.

After checking this option, I finally could import sample project.

like image 28
Jeremy.Kim Avatar answered Nov 14 '22 18:11

Jeremy.Kim