Android Studio debugger listing variables like IntelliJ IDEA - android

using Android Studio for development. Last week I discovered really neat feature in IntelliJ IDEA IDE, which when debugging Java app shows listing of variables next to the line of code. It is really helpful.
I have been wondering if the same option can be enabled in AS, since it uses the same core? Anybody knows? I would really love to use it in AS as well.
Here is screenshot what I am talking about.:

Android Studio 1.2 Preview 1 has been released just this week, and is the first version of Android Studio based on IntelliJ 14.
Since the feature you're describing was introduced in IntelliJ 14, Android Studio 1.2 will contain this feature as well:
Please note that this is an alpha release, so expect to encounter bugs.

That's a new feature of IntelliJ IDEA 14, as you can see here.
Android Studio is based on IntelliJ IDEA 13, so currently it is not possible to have such feature. Anyway if you want to have it you can always download IntelliJ IDEA 14 and use the Android plugin, which covers the same funcionality that Android Studio does:
From Jetbrains FAQ:
When can I get the Android Studio features in IntelliJ IDEA?
The EAP of IntelliJ IDEA 13, which includes all of the Android Studio
features except for the redesigned new project wizard and the App
Engine cloud endpoints integration, is available now. The remaining
features are going to be integrated in the coming weeks.
See more at: http://blog.jetbrains.com/idea/2013/05/intellij-idea-and-android-studio-faq/#sthash.OPJSeIA2.dpuf
To Download this plugin in IDEA 14, go to Settings, Plugins and then Search for Android Support:

Android Studio Preview has recently been updated to use IntelliJ IDEA 14. If you want to get the new updated make sure you are set to receive updates from the Cannery channel.
To do this go to Android Studio > Check for updates...
Then Click the Updates text and select the channel you wish to receive updates from.

Related

Do we need to download complete Android Studio if any updates

Hi I have Android Studio 3.0 Beta 7 and I want to update it to new version Android Studio 3.1 Canary.
It shows this dialog. Download button takes me to this page https://developer.android.com/studio/preview/index.html?utm_source=android-studio and suggest to download complete IDE. Shouldn't it download updated patches ? or Is this for me only
3.1 is a future release, which apparently isn't a patch for 3.0.
IntelliJ IDEA, which Android Studio is based on, does the same thing
And as #CommonsWare mentions, the Canary is pre-beta releases, so it's often used for those who want to use possible breaking changes.
The reason you downloaded 3.0 beta in the beginning was to get Kotlin, and whatever other changes, probably.
If that is the case, you can download 3.0 stable now.

Using IntelliJ with Android plugin, rather than using Android Studio

I wonder if there is any difference between using the Android Studio, Google offer to use, and use the IntelliJ Base IDE, and install the Android plugin?
Would it effect the project and module handling?
Would it effect facets?
I've been using IntelliJ IDEA 12 for Android projects for a long time. Android studio has a lot of beneficial additional Android integration, such as:
Inline Lint API checks
Drawable and string previews
Better layout editor
Built in Gradle support
Better DDMS integration
But you can certainly just use the community edition of IntelliJ 12 for Android projects, and for production projects, I would say it's preferable at this time until Android Studio stabilizes. Also, I believe IntelliJ 13 will essentially include all of the Android functionality that Android Studio does, from what I've heard.
This is useful FAQs about Android Studio vs Android Plugin in IntelliJ IDEA.
It is clear to me that
The EAP (Early Access Preview) of IntelliJ IDEA 13, which includes all of the Android Studio features except for the redesigned new project wizard and the App Engine cloud endpoints integration, is available now.
http://blog.jetbrains.com/idea/2013/05/intellij-idea-and-android-studio-faq/
As of today, Android studio actually functions, so I guess this would be my immediate solution. plus I'm not even sure the Android plugin would support all the features as Android studio will, and that there would not be any conflicts... better safe then sorry.

AndroidStudio team foundation server

I've been using AndroidStudio from its release date and a part from all it's
bugs i like it. I wanted to ask if anyone knows a way to share my project with
my team to work on in AndroidStudio. Something like TFS for eclipse. Thanks in advance
According to this discussion:
https://groups.google.com/forum/#!topic/adt-dev/C_Gc6hVkig0
We just have to wait for the version 1.0 that should come in december.
UPDATE
From the IntelliJ IDEA faq page:
If I rely on features that are only available in IntelliJ IDEA
Ultimate (such as additional version control plugins), will I be able
to use Android Studio?
No, these additional features will not be available in Android Studio.
You should continue using IntelliJ IDEA Ultimate.
Fortunately, all the Android Studio features can be found on IntelliJ IDEA as well.

How to install new Android Studio extensions to IntelliJ IDEA

Is it possible at the moment to add the Android Studio extensions to a current IntelliJ IDEA installation?
Xavier Ducrohet and Tor Norbye mentioned in their talk, that Android Studio is an extension to the Community Edition of IntelliJ IDEA and that it's not a fork. So it should be possible to add the extension.
Is there an easy way to do so and probably to revert?
They also mentioned in their talk, that Android Studio uses Gradle as default build system. This should break the builds of current modules. Is this correct?
Thanks for the answers, but I finally found the corresponding statement by JetBrains: http://blog.jetbrains.com/blog/2013/05/15/intellij-idea-is-the-base-for-android-studio-the-new-ide-for-android-developers/
You can upgrade by hitting help -> Checking for updates and then choose Early Access Program as channel in the Update settings. You should receive a notification, that version 13 is available.
This EAP version contains almost all Android Studio features except the new Project Wizard and the App Engine Cloud Endpoints, but they will come soon. The reason for the delay is the Google IO, in the future new Android Studio and IntelliJ versions will be synced (mentioned in the comments of the blog post).
I guess it will be at androidstudio but the project is currently empty.
The installation page is here: Android Studio.
From what I understand in the download page & from what they said in the conference, it's a stand alone IDE based on the intelliJ, but i'm skeptical to whether one can get it as an extension to an already installed intelliJ IDEA.
About the build - in Migrating from Eclipse page they explain how to generate Gradle build files for your projects in Eclipse and then import those projects to Android Studio. It's pretty simple and straight forward.

"App Engine Connected Android Project" not available

According to this guide by Google the "App Engine Connected Android Project"
should be available after installing/configuring ADT plugin for Eclipse, Android SDK and Google Plugin for Eclipse. I have installed everything in the most recent version in both Eclipse 3.7.2 (Indigo) and Eclipse 4.2 (Juno). However, I can't create such a project in any of the two Eclipse releases. Here are my installation details in Juno:
And here is a part of my Android SDK details:
My OS is Mac OS X 10.7.4
I know that I could see the menu point on 23/6/2012 before I updated the SDK tools to the most recent version.
Is anyone experiencing a similar issue or does anyone know what I configured the wrong way?
Thanks!
I just found a (I would say semi-official) statement from a Google employee here. It says, that the "App Engine Connected Android Project" has been removed in GPE v3.0.0. It would be possible to downgrade to the last version containing this menu item (2.6.1), which can be downloaded here.
The reason for the whole migration is, that "C2DM [is now] deprecated and [we] should be using GCM instead". Furthermore
The official docs [for using GCM] are on the way. In the meanwhile do sign up for the
endpoints trusted testers program at
http://endpoints-trusted-tester.appspot.com.
They also "plan to add [the menu item] again in the next version of GPE with GCM integrations" and they "plan to release the next version end of July".
Also, I got a similar answer form the Google employee Sparky R.:
I believe there is a known issue that the template for making
GAE-connected Android apps isn't working right now.
I don't know if it will be helpful, but i have managed to restore the Android SDK tools to rev 19 and Android SDK Platform-tools to rev 11, and installed the Google Plugin from scratch since i don't have the older version of it. It seems i still don't have the option in the menu, so i think it is about the Google Plugin.
In addition, Android Cloud to Device Messaging Framework - C2DM is deprecated since as of June 26, 2012 (https://developers.google.com/android/c2dm/). It may be about this deprecation, but it should be more clear in the near future.
I've been wasting a lot of time on this. I had the option in Eclipse 3.7, but now I've upgraded to 4.2 Juno and all the latest other stuff I can no longer see the 'App Engine Connected Android Project' option. I've had multiple attempts at installing, trying to make sure I get the order right. I've had major problems with trying to update from within Eclipse, and have had to resort to the various offline options. Not happy. How am I supposed to teach this technology when I can't even install it!
Tim
There is an example here, which he creates one of these projects:
http://bradabrams.com/2011/05/google-io-session-overview-android-app-engine-a-developers-dream-combination/
And you can checkout the code:
http://code.google.com/p/cloud-tasks-io/source/checkout
So I'm trying now to strip out what I don't need and get back to basically a new "Appengine Connected Android Project" I don't know how successful that'll be, as I don't know what I need or don't!
Annoying thing is, if this is do to with C2DM, I don't even want to use C2DM. I just want to invoke my app engine app from android, not send messages to android. Maybe I'm going along the wrong lines?
Edit
I got my project working (without messages to Android, just Android invoking methods and getting results) using these two examples:
How to call your app: Android REST client, Sample?
How to access a security enabled app: http://krasserm.blogspot.co.uk/2010/01/accessing-security-enabled-google-app.html
And this to work out how to do the http connection: http://developer.android.com/reference/java/net/HttpURLConnection.html
I'm on windows 7 and I'm also seeing this as well. This had been working for me, then I updated the Android SDK tools to rev 20 and Android SDK Platform-tools to rev 12 (both updated at the same time in the Android SDK Manager) after which I noticed this was not working. I was on Eclipse 3.7 but I upgraded to 4.2 to see if that helped (which I didn't). I then downloaded the Android 4.1 SDK stuff, but that didn't help either.
In addition to "App Engine Connected Android Project" not being ava
This feature is now available for me
Update your Android and App Engine SDKs, and you should be good to go!

Categories

Resources