I am developing Android application using Android Studio IDE and I can't find any public API comments in IntelliSense list. Do I need to install some plugins?
File -> Preferences -> Editor and check "Show quick doc on mouse move".
Also make sure the option "Autopopup documentation in (ms):" is checked under: "Code Completion"
Related
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.
It's a bug? or ??
To see this menu option:
File -> New -> Import Sample
you need to turn on:
Settings -> Plugins -> Google Cloud Tools For Android Studio
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.
As a workaround, you can import samples (eg, examples here) from Git with File -> New -> Project from version control -> git
You should go to File -> New -> Import Sample.
If you search for a example for a specific programming problem, you can now right click on some code e.g. viewpager and choose:
find code sample
.
On the bottom a window appears with example having the same construct. You can now double click and the browser opens and brings you to the git server with the example. From there you can download.
Before you had to browse the examples to find a specific example for your problem, now you can search. This might be an advantage.
I use android studio on mac. Version 2.2.2.
I already had Eclipse (kepler) installed to create java programs.
Now I wanted to develop android apps, so I wanted to install the ADT plugin for Eclipse.
I read the following:
http://developer.android.com/sdk/installing/installing-adt.html#Download
I did those steps exactly.
Then, on that same page, I read this paragraph:
http://developer.android.com/sdk/installing/installing-adt.html#Configure
But I don't understand what I have to do.
When Eclipse restarts, I get a popup diolog which asks me to choose a path which has to lead to a folder. I can't find any folder. I don't see anything changed in my file system.
I don't see any folder which looks like Android SDK. I think I am missing something.
You need the SDK as well. You can find it here:
https://developer.android.com/sdk/installing/index.html?pkg=tools
When you install it you have to insert the path of your SDK in the Eclipse popup dialog
I encourage you to update the SDK on your first launch through SDK manager
I am trying to set up android for eclipse.I have followed all the instructions Setting up Android Development Tools in Eclipse.
I even installed SDK tools from https://developer.android.com/sdk/installing/index.html?pkg=tools
I have even looked for updates in eclipse and updated them.
But still i cant see the "android project" in the "new" menu.(I have looked in "others" too).
Can anyone please help me.
I am using eclipse juno.
I´m just moving from Eclipse to Android Studio and I noticed a small difference.
In Eclipse when I use code completion for example like this
Eclipse would complete the code like this and allow me just use tab to jump to next parameter.
Log.d(tag, msg)
But Android Studio does this:
Log.d()
So is there any setting that would achieve the same result in Android Studio or is this available only in Eclipse
In your IDE go to Editor -> Code Completion and make sure that the Autopopup code completion is checked
I followed these tutorials to set up a Hello World Android app. But when I create a new java project I can't select a build target. It just says no targets available in the target selection box. I have confirmed that I am not having the UI issue described here (http://blog.rowancrane.com/2009/12/27/eclipse-new-android-project-cant-select-build-type-target), I actually have a message in the box saying there are no targets instead of an empty box. I also am using 1920x1080 res.
I'm guessing that eclipse is just not aware of my Android Targets? I installed them in the android SDK manager and see them listed under installed packages in the Android SDK manager (1.1, 1.6, ..., 2.2)
http://fyi.oreilly.com/2009/02/setting-up-your-android-develo.html
http://developer.android.com/resources/tutorials/hello-world.html
Any suggestions on how I can create the project and get started?
Thanks in advance
In Eclipse, do this:
Window -> Preferences -> (In the field "SDK Location", add your path to your Android folder, e.g. "C:\android-sdk-windows" and then click "Apply" -> OK.
Now you should be able to select a target.
For MAC users,
In Eclipse, do this:
Eclipse -> Preferences -> Android -> (In the field "SDK Location", add your path to your Android folder, e.g. "/Users/user/Projects/Android/android-sdk-mac_x86" and then click "Apply" -> OK.
Now you should be able to select a target.
Please make sure that at least one version of Android SDK is installed. To check this, go to window > Android SDK Manager.
Don't create a Java Project, instead create an Android Project. In the setup steps you can define a build target. Hope this helps.
just upgrade android sdk ools to rev. 22.6.2 n problem will be solved,at least my problem is solved