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
-
1
votes0
answers59
viewsError running AVD - The filesystem is already 140800 (4k) Blocks long - Nothing to do
When I try to run my AVD, it hangs on the part illustrated in the low image and returns the error resize2fs 1.42.13 (17-May-2015) The filesystem is already 140800 (4k) blocks long. Nothing to do! I…
-
1
votes2
answers5462
viewsError while compiling in Android Studio
I made a first project in android studio, but when compiling it generates the following errors: Error:(2) Error retrieving Parent for item: No Resource found that Matches the Given name…
-
1
votes0
answers107
viewsUpdate UI during print screen process
I have a Activity and several Fragments in it and, in a Fragment, I have a list of images. I want it, through a floating button, to print all the images without having to change the image that…
-
1
votes1
answer2790
viewsApp runs on emulator but no icon appears
I’m creating an app for Android using Android Studio. The application works normally when running on the android emulator, however, neither in the emulator nor when I run an apk and install on…
-
1
votes0
answers260
viewsINTENT call not found
The Delphi application calls a java application Activity and in the call displays the following error: android.content.Activitynotfoundexception: Unable to find explicity Activity class…
-
1
votes2
answers588
viewsPass Activity object id to another
I’m trying to pass the id from my object to another activity using Serializable, but it’s returning to me a damn mistake that I can’t fix. Obs: my object already implements serialiable My code is…
-
1
votes1
answer208
viewsRegister product for logged in user
I’m getting the object through Activity's using putExtra and returning on the other screen with the getSerializableExtra. I’ve already created the fk id_usuario in the product table for the field…
-
1
votes1
answer339
viewsonActivityResult does not return setResult
What happens is that I have an Activity Client where I have 2 buttons, one for registration and another for consultation, when I call the registration opens an Activity with a Tabhost with 2…
-
1
votes1
answer645
viewsAndroid studio installing the app over another app
I’ve been using the same apk to perfect it, went to the folder and gave a Ctrl v Ctrl c and started editing the new apk. I changed the name, the name of the folders, I changed some screens, only…
-
1
votes0
answers346
viewsMake Calls / Send SMS between Android emulators
Using the AVD Manager, created two devices - one with API level 22 and another with API level 23. Loading both devices with the emulator, I would like to make calls and send SMS from one to the…
-
1
votes0
answers33
viewsDoubt about the Actionbar Tab
When my app opens, the Tab appears like this: But if I open a new one View and return to the home screen, it already appears like this: Does anyone know why? And how do I always show up with the…
-
1
votes1
answer362
viewsAndroid Studio 2.1.1 - Rendering Problem
My Android Studio 2.1.1 (Windows XP) is giving problem when opening: the virtual mobile screen is gray instead of white. With this, any item I insert into my project is invisible.…
-
1
votes2
answers496
viewsBuild Gradle Eterno
I couldn’t find anything like it. When I try to run a book project it gets like this: "Gradle: Resolve dependencies: 'app:_debugCompile'" And do not compile for anything. I changed my Gradle file to…
-
1
votes0
answers29
viewsAndroid app shows error
Good night I’m learning to use Android Studio. I’m trying to develop an application that picks up some json data via url, but when running my application, it presents the following error: 02-01…
-
1
votes1
answer254
viewsHow to finish running the app in the emulator
I’m building an application that caches remote data. Fact is, I change the remote data, finish the application in the emulator with back button. At the next run, done from the click on the…
-
1
votes2
answers328
viewsSearch and display in a listview a single type of BD information
I’m having problems to search for a single type of BD information, I’ve created a list where I bring all the information in it present, but I want to pull only one, for example search only the names…
-
1
votes0
answers1186
viewsGradle Sync error when compiling project
I’m finishing a project in Android Studio, and I updated to version 2.1, then started to appear me errors, some already solved, the one chases me; When synchronizing Gradle appears me these…
-
1
votes0
answers30
viewsError requesting the ID of a data in the database via the data STRING name
Good guys, I made a method in my webservice to get the ID of a value of a state, IE, I pass to function a name EX: "Acre" and it returns me the ID in the bank of that state. I did it, it worked cool…
-
1
votes1
answer89
viewsIncrement of version number
I would like your opinion and help on version 1.0.0.1 (example). How can I make this increment automatically? Or more, as is usually or good practice, increase this number before and after the…
-
1
votes2
answers1746
viewsCalling an Activity within a Fragment - Android Studio
I need from the click of a button inside my Fragment, it call an Activity. My code is like this: public class ActFoto2 extends Fragment implements View.OnClickListener,…
-
1
votes1
answer221
viewsDirect photo taking method of the application only works on some mobile phones
I have a problem in my apk that allows the user to take a photo straight from the application, however, in some cell phones give error and closes the app. Here is my manifest: <?xml version="1.0"…
-
1
votes1
answer2704
viewsAndroid - How to set a selected item from a Spinner to a string?
I have a question in my code, I’m trying to take the value of Spinner and record it in the bank, but I can’t make the spinner have String value. In case he’s giving me error at the time of setText,…
-
1
votes0
answers30
viewsProblem to Debug
I was using the Android emulator to test my apps, but it is very slow, I started using my smartphone, but I realized that many times the application is not updated. To resolve I uninstall the…
-
1
votes2
answers776
viewsMenu screens are above the app’s home screen
I was implementing the standard Navigation Drawer and when I emulated the apk was the screens of the options above the initial screen of the apk, this way: Mainactivity.java file. @Override public…
-
1
votes1
answer986
viewsHow to change Activity within a Button Ragment?
I have a simple App, has two areas, one with the Fragment and another with a Button Group (Imagebuttons) How to do so that by clicking the buttons I can change which Activity will be loaded in…
-
1
votes1
answer73
viewsInstant Run message on Androidstudio
I upgraded Androidstudio to 2.2.2 and the SDK to API 25, in build.gladle put targetSdkVersion 25. When asked to run the application (physical device) appeared the following message: What needs to be…
-
1
votes1
answer1381
viewsError while trying to generate a signed APK
Error while trying to generate a signed APK. I have already managed the Keystore, passwords, alias, etc. Error:(32) Error: The element must be a direct Child of the root element…
-
1
votes0
answers29
viewsProject migration done in Eclipse to Android Studio - FATAL EXCEPTION
I made the import and I had no mistake, more when I try to compile the project I have this problem: 07-13 15:29:13.786 1380-1380/br.com.sistemaguardiao E/AndroidRuntime: FATAL EXCEPTION: main…
-
1
votes1
answer957
viewsError while running Android Studio emulator
I’m having a problem when emulating a device in android studio. When I try the following error happens: 15:28:24 FileNotFoundException: /home/Henrique/. android/Avd/3_2_HVGA_slider_ADP1_API_17.ini…
-
1
votes1
answer399
viewsGradle version error
Does anyone have any idea how to resolve this error in Android Studio? Plugin is Too old, Please update to a more recent version, or set ANDROID_DAILY_OVERRIDE variable to... error-Gradle.Png1055x71…
-
1
votes2
answers68
viewsComo Release App
I finished my app now leave ready for Play Store I saw on the website that I have to set up Gradle, add the release code. I took this code and I still don’t understand how to use it. release {…
-
1
votes1
answer781
viewsProblem to connect my device to Android Studio via Wi-Fi
I’m developing an application that needs the USB port of the device is not connected, so not to disturb the tests, I need to connect the phone in Android Studio through Wi-Fi, in the past had…
-
1
votes1
answer1104
viewsAndroid - Generate Apk
How do I generate apk in Android Studio? 1.0 - I went to Build -> Build APK. 1.1 - When finishing I put it on the smartphone and gave the following error: There is a package analysis problem. 2.0…
-
1
votes1
answer74
viewsError when configuring test environment
When running a test, simple to check the settings, the following error appears: Error:Execution failed for task ':app:transformClassesWithJarMergingForDebugAndroidTest'.…
-
1
votes0
answers182
viewsProblems to compile in Android Studio
I created my first Project in Android Studio defining as Minimums SKD the API 23 Android 6.0 (Marshmallow). Then I created a virtual device in AVD Manager with the following settings: Nexus 5 API 24…
-
1
votes1
answer698
viewsError:Execution failed for task ':app:transformClassesWithDexForRelease' de Lcom/google/android/gms/Internal/zzbw; Would anyone know this error?
In my Android Studio is giving the following error when trying to make a store apk: Error:Execution failed for task ':app:transformClassesWithDexForDebug'.…
-
1
votes0
answers438
viewsError: android.view.Inflateexception: Binary XML file line #10: Error inflating class android.widget.Listview
I am running my app, however it returns the following error: Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class android.widget.ListView And I’m simply running…
-
1
votes3
answers181
viewsHow do I use the new Java 8 Date API?
I would like to know how I compile in my Gradle Build to make available the new java 8 date API in my android studio
-
1
votes0
answers137
viewsError generating Signed apk in android studio
When running the command "Cordova build --release android", the following message appears Error: Could not find Gradle wrapper Within Android SDK. Might need to update your Android SDK. Looked here:…
-
1
votes2
answers4924
viewsHow do I use HTML or CSS in Android Studio?
I would like to know how to structure my app with HTML, and style it with CSS as well. I want to put a fieldset to form a table. I looked for tutorials on the Internet but did not understand well…
-
1
votes0
answers26
viewsError:Execution failed for task ':app:preDexDebug'. > finished with non-zero Exit value 1
I’m trying to run the compiler of Android Studio, but it returns me this error. Error:Execution failed for task ':app:preDexDebug'. > finished with non-zero exit value 1 build.Gradle app: android…
-
1
votes1
answer219
viewsAndroid Studio - Error:(46, 13) Failed to resolve: me.dm7.barcodescanner:zxing:1.9
Good afternoon, I have a project and I’m trying to implement a QR code reader. so when will I include his lib in the project there in Gradle he gives the following error Error:(46, 13) Failed to…
-
1
votes1
answer217
viewsHow to Install Appium
I’m trying to instate the Appium in Android Studio, but I’m not sure how to do it. How can I install the Appium in the Android Studio ?
-
1
votes0
answers1228
viewsReal-Time Facial Recognition on Android
Good morning! I’m creating a real-time facial recognition app. The app should compare the video image to a recorded image. In virtually all the researches I did the most suitable to be used was the…
-
1
votes2
answers471
viewsError generating Key Store
I was following the steps of a book , to publish an application , but when creating JKS the android studio returns me an error…
-
1
votes2
answers69
viewsHow to open a project directly from the explorer
I was left with the following doubt these days and I could not find a solution to it. Next, I have several projects in Android Studio (all have already been imported and are working perfectly),…
-
1
votes1
answer1381
viewsError: A problem occurred Configuring root project 'Meuprojeto'
I’m trying to use the Firebase of Android Studio but I made the settings as in Google site itself, and the message that appears to me is: Gradle 'MeuProjeto' project refresh failed Error:A problem…
-
1
votes1
answer470
viewsHelp to resolve android studio error
I’m having trouble with an error in android studio. From what I understand, when I run the project, a "certain partition is resized" to a larger size or takes up a larger space. I tried to search…
-
1
votes1
answer941
viewsAndroid - Imagebutton image is not displayed
I’m trying to put 3 Imagebutton on a Linearlayout. The background image I’m using are drawable images that I added by clicking on the following sequence in Android Studio (2.2.2): Right-click on the…
-
1
votes2
answers939
viewsAndroid - Invalid Resource Directory Name
I tried everything searching the internet, saw various responses about giving Clean Project, rename, update IDE and nothing worked. Still giving the following problem: I just want to better organize…