Stream

Join this community to post or comment
Pinned by moderator

Android Developers
owner

Discussion  - 
 
This community is about Android Developer Tools only. Do not post about app development.

Android app development community is here: https://plus.google.com/u/0/b/108967384991768947849/communities/105153134372062985968

Android app design community is here: https://plus.google.com/u/0/b/108967384991768947849/communities/116667001535376136065

All Official Android communities can be found here: https://plus.google.com/u/0/+AndroidDevelopers/about

Posts about app development will be removed.
86

Sanme Huang

Android Studio  - 
 
android studio upgrade to 1.2.1
is very slow. how to optimization it!!!
1
Walter Ramirez's profile photo
 
Put some gravy on it?
Add a comment...

Eder Bastos

Gradle Build System  - 
 
Does anybody know a way to get the current build flavor?  I'm trying to write a Gradle task that is aware of which flavor is building, but the code that defines each flavor always executes for all the flavors, so I can't just set a flag or variable in there.
1
Andrew Clark's profile photoEder Bastos's profile photo
4 comments
 
+Andrew Clark I mean at build-time, in the Gradle script. It's easy enough to find out which flavor is running at runtime.
Add a comment...

Jared Burrows

Discussion  - 
 
Gradle + Android Studio + Robolectric + Mockito + EasyMock/PowerMock + JaCoCo Template

I recently made this template on Github for people starting software development with Android who want to use Intellij or Android Studio who are planning on using different testing libraries with test coverage. I plan on adding more examples for Mockito and Espresso testing libraries. What do you all think?

https://github.com/jaredsburrows/AndroidGradleTemplate
AndroidGradleTemplate - Gradle + Android Studio + Robolectric + Mockito + EasyMock/PowerMock + JaCoCo
4
1
Alex O'Ree's profile photo
Add a comment...

Gareth Dys

Android Studio  - 
 
Hello!
Looking for the "Only Show Logcat from Selected Process" button, or anyway to restore it to the 'Android' view!
Has anyone had the same problem? 
1
Philip Cohn-Cort's profile photoGareth Dys's profile photo
4 comments
 
The device shows up, but the app dropdown wouldn't show anything.
However, now the dropdown for app is now showing the app and 'logcat' filters correctly now! 
Thank you guys for your time!

I guess I missed the patch note where they took the button out of Android Studio. 
+Philip Cohn-Cort
+Anton Golovin 
Add a comment...

YISHENG LEON

Android Studio  - 
 
I am very sad. All day I tried to run the android studio, despite doing a thousand things, he can not resolve the symbols, but compiles fine, so I do not understand. Can someone help me out ?. already invalide the caches, reinstall .. no what else to do
1
Jonathan Steele's profile photoUmair Qudus's profile photo
12 comments
 
try to rename your package
Add a comment...

Mark Carter

Android Studio  - 
 
Android Studio 1.2.1.1: when I close a tab (e.g. for a Java class), the resulting opened tab is the one immediately to the left. Wouldn't it be better to open the previously opened tab instead? This would be good when accidentally opening (and then closing) a tab.
1
Bjørn T Johansen's profile photoMark Carter's profile photo
3 comments
 
+Bjørn T Johansen​ thanks, that's great! This should be the default behaviour, surely.
Add a comment...

Swaraj Alugandula

Android Studio  - 
 
android studio hangs when I edit or write code
1
omar Faroque's profile photoDavid Herman's profile photo
4 comments
 
+omar Faroque Your advice about playing with vmoptions is worth OP trying out but FYI careful editing anything under app/Contents on mac - if you do that, you'll get a conflict when you try to update Android Studio later. Think of the application directory as off limits, and modify your user copy of the file instead.

More info here: http://tools.android.com/tech-docs/configuration
Add a comment...

Georgi Mirchev

Android Studio  - 
 
After upgrading to Android Studio 1.2.1.1 the xml editor stucks when i use intellisense (I mean sometimes it does not detect some of the keys I press or takes 3-4 seconds just to finish the words I type), CPU is very overloaded  when I open the preview window and sometimes if I just leave the studio open the CPU still works like there is a stuck background process. I am on Ubuntu 14.04.02 x64. Any new version with fixes coming soon? :) 
1
Add a comment...

Fanchao Liu

Android Studio  - 
 
Anyone knows why my Android Studio v1.2.1.1 does nothing when click on dump java heap? Previously it showed up a dialog asking me the save location of hprof file. But now nothing happens, just silent. Android device monitor works but it's too much hassle to use. I'm using Mac Yosemite. 
1
David Herman's profile photo
 
Sorry for the slow reply, and sorry for the trouble. If you're still seeing this, you may be able to collect details of what's going on.

See:
http://tools.android.com/filing-bugs http://tools.android.com/filing-bugs/studio

Thanks!
Add a comment...

Drew Hannay

Android Studio  - 
 
I'm trying to come up with a way to measure and report the performance of gradle commands run from Android Studio (how long does a clean build take, incremental build, running tests, etc). Does anyone know of a good way to do this? I'd like to be able to measure which commands are run, as well as how long they take.
2
Add a comment...

About this community

This is the official community for the developer tools of the Android SDK: Android Studio, The ADT Eclipse plugin, as well as the emulator and command line tools. This is all about the tools to build great Android apps. Please do not post about libraries, about how develop an app or advertise your app. This will be heavily moderated and off topic messages will be removed. Also, be nice to each other!

Scotte Zinn

Android Studio  - 
 
Upgraded (both via check for upgrade and by fresh install) to 1.2.1.1 on a Mac Pro.  Now the startup says "Internal error: Please report to...  com.intellij not found platform prefix is Android Studio" in a popup dialog box.

I've changed the info.plist for the app to use 1.7 as the SDK.

Log file first error says it cannot load android.jar

Any ideas?
1
Add a comment...
 
I can't code like this. Does anyone know of a fix?
I'm using Android Studio 1.1.0 in Mac OS X 10.10. I noticed that when I wrote code like: public void; or even: + (bad) thisObjectiveCCodeShouleNeverCompileInJava:(ButSomehow *)itsNotComplaining
1
Ben “C. R.” Leggiero's profile photo
 
Problem: I had Power Save Mode enabled.
Solution: I disabled it.
Add a comment...

YISHENG LEON

Android Studio  - 
 

look at this, you can not recognize the symbols, but compiles correctly, this project is a simple empty activity. Who can help me to correct this error?
1
YISHENG LEON's profile photoomar Faroque's profile photo
4 comments
 
look at this link. It might help
http://stackoverflow.com/questions/21100688/android-studio-suddenly-cannot-resolve-symbols
Add a comment...

orr essel

Discussion  - 
 
hi. i'm looking for tool that can help me debug ui. maybe something that equals to "inspect element" in browsers. like the "hierarchy viewer" but dynamically. thank you very much!
1
Ali Muzaffar's profile photo
Add a comment...

Mihai Kato

Discussion  - 
 
Hello everyone,

I have a question. I have released my app for free on google play. Now I am thinking to make a premium payed version of it and I have no idea how this process works. Does anybody know what is the best solution ?Thanks
1
1
Ruben Havre's profile photoMihai Kato's profile photoChuck Kingeter's profile photo
5 comments
 
yes....next time i know. this is my first released project. next time i will develop in android studio. now i will make a workaround creating 2 dif projects. thanks 
Add a comment...

Fré Dumazy

Android Studio  - 
 
I've updated my Log.d Live Template tutorial to avoid having errors with tags that are longer than 23 characters.

Check out this easy trick that will speed up development! Feel free to share :)
Hi, I've just found a way to save a lot of time while developing Android apps using Eclipse or Android Studio, by creating a shortcut for the typical Log.d statement. Eclipse (or ADT) In Eclipse go to Preferences > Java > Ed...
1
1
Javier Pinedo's profile photo
Add a comment...

Travis Hall

Android Studio  - 
 
Hi everyone. I'm trying to work on a watch face for wear using this site as a guide/template, http://catinean.com/2015/03/07/creating-a-watch-face-with-android-wear-api/

But I'm running into an error that says "local path doesn't exist" for my debug-apk. I've looked around and made sure I'm using the latest sdk and build tools, cleaned project, synced gradle, imported project again, but the error persists. The apk folder the error is saying didn't exist before, so I made it manually, but it's like it still doesn't see it. I'm very sorry if this isn't an accurate enough description or if I'm posting in the wrong place, and thanks for your time. 
1
Add a comment...

Laurie Challans

Android Studio  - 
 
I have an app that I just finished and I want to beta test from my intranet.
I generated the signed APK but I do not see the instructions to create a download / install file.
Please Help!
1
Natarajan Raman's profile photoLaurie Challans's profile photo
2 comments
 
Thank you. I experimented until I found if I zip the apk file and save a link to the zip file on my intranet. My htc will download and install.
Add a comment...

Andrea Pivetta

Discussion  - 
 
What are the parameters I have to use with adb logcat to have the same logs displayed in the logcat in Android Studio?

I've read a lot of solutions but none of them seems to be right.
2
Andrea Pivetta's profile photoPhilip Cohn-Cort's profile photo
4 comments
 
+Andrea Pivetta glad to help.
Add a comment...