Questions tagged [android-studio]
Use for questions about using Android Studio, an official IDE by Google targeted at Android app development. Do NOT use for questions about programming for Android in general; instead, use the [android] tag.
android-studio
8,314
questions
830
votes
32
answers
654k
views
How do I add a library project to Android Studio?
How do I add a library project (such as Sherlock ABS) to Android Studio?
(Not to the old ADT Eclipse-based bundle, but to the new Android Studio.)
1755
votes
57
answers
1.3m
views
Rename package in Android Studio
How do you rename packages in the new IDE Android Studio, based on IntelliJ IDEA?
Is there an automatic refactoring included?
I want to make bulk refactoring, but I don't know how. I worked two ...
792
votes
103
answers
1.2m
views
"cannot resolve symbol R" in Android Studio
In every instance in all of my classes where I reference R.id.something, the R is in red and it says "cannot resolve symbol R". Also every time there is R.layout.something it is underlined in red and ...
737
votes
54
answers
1.1m
views
How to get the SHA-1 fingerprint certificate in Android Studio for debug mode?
I am trying to make a Map app in Android Studio, on Windows. How can I find the SHA-1 fingerprint certificate number?
When I was using Eclipse it was right under Windows -> Preferences -> ...
140
votes
10
answers
27k
views
Android Studio shows wrong file contents
I have an odd problem with Android Studio.
Here is how my class file looks like on Android Studio
And here is what it looks like on a text editor.
Any ideas why it is happening? I have tried closing ...
680
votes
7
answers
447k
views
How to completely uninstall Android Studio on Mac?
I recently downloaded Android Studio on my Macbook Pro and I messed up with it every time I open it. It gives me plugin errors and several other errors. I need to uninstall it completely from my mac. ...
497
votes
28
answers
439k
views
No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() in Flutter and Firebase
I am building a Flutter application and I have integrated Firebase, but I keep getting this error when I click on a button either to register, login, or logout. I have seen other people have asked the ...
1598
votes
26
answers
721k
views
Where to place the 'assets' folder in Android Studio?
I am confused about the assets folder. It doesn't come auto-created in Android Studio, and almost all the forums in which this is discussed talk about Eclipse.
How can the Assets directory be ...
807
votes
24
answers
560k
views
Error retrieving parent for item: No resource found that matches the given name after upgrading to AppCompat v23
I've always programmed Android with Eclipse and decided to start migrating to Android Studio. I decided to use the same SDK I already had for Eclipse, then:
Started a new project
Set minimum SDK 4.0 (...
201
votes
15
answers
442k
views
How to completely uninstall Android Studio from windows(v10)?
I have already seen this question.
But that's for Mac OS. I am using windows. Every time I create a new project or try to build/rebuild the project it freezes!! I have installed the latest version(9/...
166
votes
14
answers
238k
views
OpenCV in Android Studio
I want to use OpenCV library in my app with Android Studio. I followed instructions found here but I get error
Configuration with name 'default' not found
What can be wrong?
I use Android Studio ...
529
votes
30
answers
1.0m
views
Android Studio - How to Change Android SDK Path
When I open Android SDK Manager from Android Studio, the SDK Path displayed is:
\android-studio\sdk
I want to change this path. How do I do it?
459
votes
18
answers
1.1m
views
How to update gradle in android studio?
I installed Android Studio 0.1.9. Today I got and update to version 0.2 and of course I updated. After the installation I restarted Android Studio but now I get this message:
Project is using an ...
489
votes
38
answers
596k
views
Filter LogCat to get only the messages from My Application in Android?
I observed that when i use Logcat with Eclipse with ADT for Android, I get messages from many other applications as well. Is there a way to filter this and show only messages from my own application ...
567
votes
75
answers
694k
views
"Default Activity Not Found" on Android Studio upgrade
I upgraded IntelliJ IDEA from 12.0.4 to 12.10.
Now all the modules in my Android project give the error:
Error: Default Activity Not Found
I reverted back to 12.0.4 and it everything works again.
...