Most voted "android-studio" questions
Use only for questions about using Android Studio. DO NOT use for Android programming questions in general, so use the [android] tag. Android Studio is Google’s official IDE for Android application development, based on Intellij IDEA.
Learn more…1,128 questions
Sort by count of
-
4
votes2
answers1726
viewsHow to create a Library-Android using Android Studio?
I have some projects in development process and have several common classes for these projects. I would like to know how to create and use a Lib of the classes so I can reuse them whenever I need…
-
4
votes2
answers676
viewsInstallation of Firebase in Android Studio
I was watching a video about installing Firebase and it says to go into: File > Project Structure, and open this image window: However, the next step is to click Cloud, but when I enter Project…
-
4
votes0
answers10278
viewsHow do I leave the Android Studio interface in English?
It seems a little layy on my part (really is), but I’m not able to leave the interface of android studio in English.
-
4
votes2
answers1398
viewsJava to Kotlin conversion
One of the qualities cited about the Kotlin language is the creation of clean code, that is, code that is pleasant to read and that can accomplish its goal without curling. From what I saw, Android…
-
4
votes3
answers2405
viewsIs it possible to export the source code of an Android Studio project? How?
I developed an application in Android Studio that is now available in Google Play. As it was a project that I used as my TCC theme, the university needs the PDF source code. How I extract the code…
-
4
votes1
answer655
viewsHow to associate/open mp3 files in raw folder?
I’m in trouble with songs, whenever I add some music and I will run some error code, whenever I click on the music in the raw folder appears a text , in tutorials that I saw the person clicks on the…
-
4
votes2
answers3752
viewsWhat is the difference between Compile and Implementation in the Android Studio build.Radle file?
Whenever I will add some library manually in the file build.Gradle (Module: app) of Android Studio 3, I use the format implementation, because this is the way that Android Studio itself uses by…
android android-studio gradle dependencies android-gradleasked 6 years, 9 months ago Chinnon Santos 349 -
4
votes0
answers222
viewsTreating JSON Response with Retrofit in Android Studio
To be clear, I am developing a simple application test, where my user type the Cpf of a registered customer and their data as customers appear on the screen. My server returns me a json with a…
-
4
votes2
answers489
viewsDetect URL Webview
I have a little problem, I need to know the URL every time the page is changed. my code works perfectly normally opens youtube that would be the example : WebView wv; public void onBackPressed(){…
-
4
votes1
answer85
viewsWhat are the widgets?
I understand that the widgets would be the components available in the Android Studio palette, for example. Thus, the components of the palette below, not only those that are in the Widgets group…
-
3
votes2
answers359
viewsMount screen on Android
I’m developing an application on android and I’m in a part that I need to put many items on the screen and so it doesn’t get too messy, I thought of putting a screen with the style of the image that…
-
3
votes2
answers189
viewsDoes anyone have any information about Google no longer making ADT available for download? Have they fixed Android Studio as a tool?
In case the question already exists I apologize, but I made an app and published these days. I went to create a new project, another idea, and the eclipse did not create Activity or the layout, I…
-
3
votes1
answer6178
viewsHow to configure the back button action on android?
How to perform certain activities in the app when the back button is heard?
-
3
votes2
answers1863
viewsAndroid - How to export the database in a csv file?
I have an application that collects and stores information in a database, and the user can query this data within the application itself. However, I would like to insert a button to export the…
-
3
votes1
answer3160
viewsDrawable folders for different dpi do not appear in Android Studio
I can’t find the drawable folders with the proper resolutions in Android Studio. It only has a drawable call, where I should place the images with different resolutions?…
-
3
votes2
answers4054
viewsError message (Error:Execution failed for task ':app:processDebugManifest')
When I try to emulate the application I’m developing the following error appears. Error:Execution failed for task ':app:processDebugManifest'. Manifest Merger failed : uses-sdk:minSdkVersion 3…
-
3
votes1
answer690
viewsHow to add reticence if content leaks from Android layout?
How to add ellipsis if content leaks from Android layout? For example: I have a very large text in my Actionbar, and instead of having to decrease it in size, I want it to add reticence in case…
-
3
votes2
answers154
viewsAndroid studio has ndk support?
I will start development geared towards digital tv, and will be 50% ndk. Android studio meets well? or better eclipse?
-
3
votes1
answer102
viewsI need to know how I use a . text as a database; I just need it to show the data contained in it
My application is a manual that when the user clicks on the item in the listview appears the descriptions contained in each item, along with a photo. Another thing like putting . text data in a…
-
3
votes1
answer189
viewsDoubt of beginner javax.imageio library
I’m trying to make this import in java studio import javax.imageio.ImageIO; import javax.imageio.ImageReader; import javax.imageio.stream.ImageInputStream; but I’m coming up with this mistake:…
-
3
votes1
answer272
viewsUpdating data from one Active to another
I’m making an app android that uses communication telnet and receives data every second (ActivityTelnet). I would like to treat part of this data in another activity(Activity1). But when I’m in…
-
3
votes2
answers215
viewsHow to maintain a local file that is in conflict with the repository?
It is possible, when executing git pull, inform Git not to overwrite a local file that is in conflict with the repository? If so, how to do it? The file in question is already in the repository. It…
-
3
votes1
answer54
viewsHow to implement UI like the recent Lolipop
I am trying to implement UI like the recent Lolipop need to know if it is possible and if I can do it with Recyclerview and Cardview?…
-
3
votes1
answer5281
viewsHow to import an android project as a module in Android Studio?
I’m trying to import a project Android as a module of another project: But when I try to import, Gradle makes a mistake saying he can’t find the method android() in the archive build.gradle module.…
-
3
votes2
answers3258
viewsAdd dependency on android studio
I wondered where exactly I put a dependency like this in android studio: <dependency> <groupId>com.code-troopers.betterpickers</groupId>…
-
3
votes0
answers147
viewsInstalling Parse on Android Studio 1.5
Hello, I’m having trouble installing Parse in my project, I include the library(Parse-1.11.0.jar) in the libs folder, I change the manifest.xml with permissions, in the java class, in the Oncreate…
-
3
votes2
answers382
viewslayout problems in Android Studio
I’m having a little problem with my layout looks like this in Android Studio and how it looks on Avd: xml code: <TextView android:layout_width="wrap_content" android:layout_height="wrap_content"…
-
3
votes1
answer418
viewsProblem when creating Android Studio project on Ubuntu
I installed Android Studio, but when I create a project or open an existing one appears the following message: Error:Could not determine Java version using Executable…
-
3
votes1
answer1283
viewsAndroid Studio Error 1.5.1
Good evening, I’m new with Android development and in my first project I’m having error the following error "Exception in thread "png-cruncher_20", just below follows the complete log of the error,…
-
3
votes1
answer722
viewsError while running an app in Android Studio
I imported a project from eclipse to Android Studio (version 1.3.2), until then all right, but an error occurred when I tried to run the program: Error:Execution failed for task ':dexDebug'.…
-
3
votes1
answer84
viewsAndroid Sharedpreferences with Radiobutton
I have two Radiobutton, I want to select one of them, close the app and when open load the last selection. Can you help me? I can’t find a clear tutorial explained. Thank you.
-
3
votes2
answers244
viewsClone repository failed, error: Repository test has failed
I’m trying to clone a repository. Bitbucket. But it gives this error: Repository test has failed In Settings the git path is correct. To create I try to create at the opening moment of Android…
-
3
votes1
answer41
viewsHow to enable "Telephony Actions" in Android Studio?
How to "enable" Telephony Actions in the Android Device Monitor? Because I would like to do call testing in the emulator but the field is disabled.…
-
3
votes1
answer6947
viewsAndroid Studio Error "Unable to locate adb"
I have an error when running some app with Android Studio. It gives an error and returns this message: Unable to locate adb I already reinstalled the program to return to factory configuration and…
android-studioasked 8 years, 3 months ago Lucas Maciel 31 -
3
votes1
answer516
viewsAndroid Studio 2.0 Render Error
Every time I open a layout file no preview appears and an error appears in the event log. It is not a specific layout, are all layouts. Has a question the same as in the English version, but it…
-
3
votes1
answer2073
viewsHow to automatically run a method outside of Activity onCreate()
I have a Mainactivity who owns 4 buttons, when the user selects some of them, the button method calls another Activity, which will display a query made in a XML in a Listview of this new Activity.…
-
3
votes2
answers3456
viewsHow to create Android apps on weak PC?
I have a notebook with a 1.3Ghz processor and 4 GB of RAM. It is good, but whenever I try to create an app for Android I come across lag, slowness, brakes, etc... I have in my notebook Android…
-
3
votes1
answer291
viewsDifferent source code for release/debug version
I saw that in android studio it is possible to have an Androidmanifest.xml for the debug version and another for the release version. Well, I have an "Appmock.java" file with constants for testing.…
-
3
votes2
answers1540
viewsSwap a variable from True to False and vice versa
I created a button that when clicked creates the onClick method and makes a variable "true" What I want is that if this button is clicked again and the variable is true it turns "false" I’m using…
-
3
votes1
answer327
viewsError in app theme
Guys I implemented some tabs in the app I’m developing with Fragments and had to use the theme of Appcompat but started giving this error: Caused by: java.lang.Illegalstateexception: You need to use…
-
3
votes1
answer7563
viewsLightweight and stable alternative to Android Studio
I need to do an Android project, but I don’t want to use Android Studio because it is very slow and full of bugs on my computer. Which IDE or alternative framework I could use? A basic requirement…
-
3
votes1
answer795
viewsError while emulating AVD in android studio
error while trying to emulate a device in android studio He lets create the device, but at the time of emulating this error, I already searched, but not getting anything related.…
-
3
votes2
answers825
viewsCreate directory and add files to query later on android
I am new in the area of Development. mobile, I am developing a simple app that uses the library Tesseract-OCR in Android Studio and I came across the following situation: I need to store some files…
-
3
votes0
answers108
viewsError when connecting external database
The following error appears E/MYSQL: Erro: java.lang.ClassNotFoundException: org.sqlite.JDBC.Driver E/MYSQL: Erro: java.sql.SQLException: No suitable driver E/MYSQL: Erro:…
-
3
votes1
answer131
viewsJSON with value - Null App List
I am creating an App, where it will present some information from an external database using a JSON file so that I can present this information in the App. However when I run the code, the list in…
-
3
votes1
answer95
viewsUnused images in android studio project are included in APK?
Normally I’m not satisfied with the first image I put up as background, is from Activity, textView, button, etc. Even imageViews at last. It happens that I leave them there in the project, even not…
-
3
votes1
answer334
viewsHow to hide the vertical line shown in the Android Studio editor
In the code editor of Android Studio 3.0 is displayed a vertical line at position 88, both for files .java how much for files .xml. The image below shows exactly what I just described: How do I hide…
android-studioasked 7 years ago ldfranco 163 -
3
votes1
answer43
viewsThe "code Completion" window has few drawable alternatives to insert
You notice that there are several imported libraries in my Android Studio: But when I import an image to my project there are only a few alternatives as you can see below: It was to appear more…
android-studioasked 7 years ago wladyband 4,694 -
3
votes1
answer1089
viewsHow to set up Android Studio to save projects to another folder?
I have Android Studio installed on my SSD but would like to set it up to save the projects on my hard drive. Does anyone know how I could do that? I looked in "Settings", "other Settings" and also…
android-studioasked 6 years, 6 months ago Marcelo Gonçalves -
3
votes1
answer1717
viewsAndroid studio does not display the devices to emulate
Android Studio not displaying the emulator that is on the pc nor by usb device on mobile how to fix it. follows an image to assist, as you can see no devices appears.…