Skip to main content
The 2024 Developer Survey results are live! See the results

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
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.)
Alexander's user avatar
  • 48.1k
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 ...
ramzixp's user avatar
  • 17.7k
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 ...
ez4nick's user avatar
  • 9,967
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 -> ...
Setu Kumar Basak's user avatar
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 ...
Jeongbebs's user avatar
  • 4,110
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. ...
Mostafa Addam's user avatar
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 ...
Kennedy Owusu's user avatar
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 ...
hvkale's user avatar
  • 17.7k
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 (...
Vini.g.fer's user avatar
  • 11.8k
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/...
log0's user avatar
  • 2,394
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 ...
Bartosz Bialecki's user avatar
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?
dira's user avatar
  • 30.5k
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 ...
7heViking's user avatar
  • 7,437
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 ...
Vinod's user avatar
  • 32.6k
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. ...
Saad Farooq's user avatar
  • 13.3k

15 30 50 per page
1
2 3 4 5
555