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
-
0
votes1
answer948
viewsAccess date/date folder in DDMS
I am not being able to access the data/data folder in ddms on Windows. I can see all folders plus some as the date/date cannot access. Someone has a solution?
-
0
votes0
answers86
viewsError generating signed APK
When will I sign the apk to send the Play Store occurs the following error message: Error: Fragments should be Static such that they can be re-instantiated by the system, and Anonymous classes are…
-
0
votes1
answer1384
viewsBlank Activity does not appear in Android Studio
When creating a new project on Android Studio chooses the type of activity, how to put the Blank Activity in the Android Studio?
-
0
votes2
answers53
viewsError in Debugresources process
Could anyone assist me in solving this error that is occurring. I formatted my machine and installed the version of Android Studio 2.1.2. Since I don’t have domain of the platform, I don’t know if…
-
0
votes1
answer2062
viewsError in Android Studio what to do?
Seems this mistake to me Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'. Error:(2) Error retrieving…
-
0
votes1
answer156
viewsLenovo lives a7010 does not work in android studio
I tried everything to make Lenovo’s a7010 smartphone work, literally nothing solved, I’ve had some problems with Motorola, but something that a simple Driver already solve, however, this smartphone…
-
0
votes3
answers1785
viewsAndroid Studio does not exercise Genymotion device
I installed Android Studio Genymotion, created a virtual device on Genymotion, put to run the virtual device but Android Studio at the time of running it does not locate the device. I installed the…
-
0
votes1
answer45
viewsAndroid Studio in Fedora with error: Ignoring Unknown package filter 'Platform-tools'
I’m trying to install the Android Studio in Fedora 23 and the following problem occurs: In the Installation Details Console: Ignoring Unknown package filter 'Platform-tools' In a Pop-up reporting:…
-
0
votes1
answer57
viewsHello World differs on Android Studio version
I was watching a video class of a guy who was using Android Studio version 1.3. As much is generated, he was just taking away what was not necessary. I was doing this process, but I realized that…
-
0
votes1
answer47
viewsModified Android Studio Project name
I changed the name of the project using Refactor - Rename, but when copying this error: Logcat: 04-18 06:40:04.480 19491-19491/? D/dalvikvm: Late-enabling CheckJNI 04-18 06:40:04.680…
-
0
votes1
answer43
viewsI get many errors in Android Studio when wanting to compile my project
There are many mistakes and I don’t even understand why. Please help.…
-
0
votes2
answers212
viewsError generating apk with google play services
I have an app that uses google maps, which works perfectly in debug mode. But when I signed apk, and install on the device the maps do not work. What can be?
-
0
votes2
answers1577
viewsShow all the contents of a layout in the Android Studio preview
Hello, I would like to know how to (if possible) show all the contents of a layout in the Android Studio preview. Follow image of example: The blue dial, is a button that is in the layout, but I…
-
0
votes1
answer128
viewsError starting Android Studio after update
Hello, I was using Android Studio normally until the IDE asked me to update and that’s what I did. However after the update I received the following error: "No JDK found. Please validate either…
-
0
votes1
answer1546
viewsMy Android Studio does not run the app for testing
My Android Studio does not run the app for testing, already reinstalled several times and nothing, it recognizes my mobile only that does not install the app for testing, and also does not run in…
-
0
votes1
answer112
viewsHow to hide final public Static in proguard?
I have the following class package br.com.app1.urls; public class Urlapp { public static final String URL_LOGAR ="url/login"; public static final String URL_CADASTRAR_INCIDENTES ="url/incidentes"; }…
-
0
votes0
answers281
viewsError when building a project in Android Studio
I have a project that was working normally, but yesterday I had to install Windows on my computer. And today I open the project and when I try to compile, I get this message: Error:(1, 1) error:…
-
0
votes1
answer480
viewsView Page Android - grab list of images within the App and set on the View page.
Guys I have a problem when I need to set my variable in View Page. I have an Activity that searches the images inside the App and arrow in an Array String, until then it is all correct, I use the…
-
0
votes1
answer50
viewsAndroid Studio does not run script ( KVM MISSING )
Good morning, I have Android Studio running on my normal Windows , the emulator works too. I installed debian on oracle’s VMBOX, on the processor I enabled the VT-X/AMD-V option I installed andorid…
-
0
votes0
answers111
viewskeep the data in a variable of the first Act after returning from the second Act by the up button
I have the following problem , I have a list view in act1 q depends on a variable to be loaded, when I finish my act2 or go back by the back button of android (bottom button) the value of the…
-
0
votes1
answer41
viewsSaving data when selecting option
I have an Activity that has a list. In this list, the fields are almost all RadioButton. Currently, when the user saves the selected data in this list, a reading of all the RadioButton to know which…
-
0
votes1
answer2246
viewsBest Database for Android Application
Guys, I have a question on which bank to choose for an android application: Sql Server or Sqlite? I have a little Crawler, which doesn’t need to run every time, just once, and when there’s some…
-
0
votes1
answer3494
viewsAndroid Studio installation SDK problem
I’m having trouble installing Android Studio. I just can’t solve this problem of installing SDK’s in folder: Before he was warning that there were rises in the location of my folder, and really had,…
android-studioasked 8 years, 1 month ago vacobs10 47 -
0
votes1
answer657
viewsimport image from gallery - android
Eai personal, I need help with my application, I have q select an image from the gallery, make it appear in an imageView and save it in the database(sqlite), so q the person can exit the application…
-
0
votes1
answer73
viewsInsert API KEY from aws (Amazon)
I would like to know where I insert the Amazon KEY API into my android project. I will use a database installed on Amazon to record and retrieve my data. Follow my Radle: dependencies { compile…
-
0
votes1
answer4999
viewsGradle build running taking forever
Android Studio is no longer running the project. I have uninstalled and installed again but does not solve, it is only in this of "Gradle build running" and never ends. 22:21:33 Gradle sync started…
-
0
votes0
answers37
viewsAccess VPN using virtual machine
I’m trying to access a VPN through an android AVD but without success. If I try to access it through my real device with you without problems but using the AVD of android studio or genymotion is not…
-
0
votes1
answer122
viewsPositioning Imagebutton in XML
I have an imagebutton in a relative layout. When I put the command: "android:layout_marginLeft=" It does the intended (move away from the left edge in x measure), but when I put:…
-
0
votes1
answer38
viewsDoubt with component change in eclipse migration to android studio
I have an app that was migrated from the eclipse, it uses a component: http://actionbarsherlock.com/, but it generates error in opening the application, so I needed to comment on the code below so…
-
0
votes1
answer392
viewsAndroid does not resolve Firebase dependencies
I am having error in solving the dependencies of Gradle: I try to compile and get the following error: Error:FAILURE: Build failed with an exception. * What went wrong: A problem occurred…
-
0
votes1
answer56
viewsUpdate apps by Android Studio
I made a app In Android Studio, I ended up publishing it on Google Play. now I wanted to know how can I update it? What are the necessary steps? Just change app in android studio and compile as…
-
0
votes1
answer252
viewsAdd Firebase to Android Project
I did everything you asked on the Firebase website, but when I click Sync on Gradle inside the project, before finishing it appears an ERROR, as you can see below; Please help me out!…
-
0
votes1
answer52
viewsUmake Android error
I have a problem, I installed package by package, but when I went to use the "android umake" or "Sudo umake android", it returns these errors, searched on google, but still not found the solution of…
-
0
votes0
answers381
viewsAdd or enable items in Pallet in Android Studio
Please know how to enable Person Name, Textview Large, Textview Medium, Textview Small on Android Studio Pallet? They don’t appear here. Grateful…
-
0
votes1
answer1220
viewsError:(1, 0) Plugin with id 'com.android.application' not found when doing project sync
apply plugin: 'com.android.application' android { compileSdkVersion 24 buildToolsVersion "24.0.0" defaultConfig { applicationId "app.teste" minSdkVersion 15 targetSdkVersion 24 versionCode 1…
-
0
votes1
answer295
viewsError generating signed APK
So, I’m developing an app where I want to use Google Maps, but when I try to generate the signed APK I get 2 (two) errors: Error:The number of method References in a . Dex file cannot exceed 64K.…
-
0
votes1
answer5726
viewsChange the project API
I’m with an app in android studio practically ready, only I wanted to change from API 9 to API 16 (Android 4.0). Can anyone explain? Thank you!
android-studioasked 7 years, 10 months ago Ana Waldila 119 -
0
votes1
answer100
viewsError while running Gradle
I’m not able to run a project in Android Studio. The project compiles normally, but when I try to run it the Following error occurs in the Gradle console:…
-
0
votes0
answers93
viewsCode does not recognize image from xhdpi folder
I saved some images directly in the drawable folder. These, Android Studio recognizes normally. But the images saved in the folders mdli, hdpi, xhdpi, xxhdpi and xxxhdpi the code does not recognize…
-
0
votes0
answers32
viewsGraphviewdata is not recognized
Next. I’m trying to import Graphviewdata in the project, but Android doesn’t recognize it. This occurs even though I have imported the entire Graphview library and it is working…
-
0
votes2
answers731
viewsAndroid Studio consuming 100% disk
My Android Studio is consuming 100% of the disk all the time, even when it has no task running on backgroud, this disk usage leaves the whole system very slow. Looking at the Task Manager is not…
android-studioasked 7 years, 8 months ago EdCarlos 51 -
0
votes0
answers101
viewsAndroid Studio does not recognize R. Any Solution?
package com.example.consult.myapplication; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void…
android-studioasked 7 years, 8 months ago Hipólito 91 -
0
votes1
answer4092
viewsWhen should I use each log level in Android Studio?
There are different levels of log in Android Studio, which maybe, I say maybe, is not much different in other IDE’s. Basically it’s the different ways I can record a message on logcat. The guys are…
-
0
votes1
answer6358
viewsAndroid Studio does not recognize USB device
I have a device Motorola MOTO E 2nd Generation, I can install applications through USB debugging on other computers, however, in this specific PC Android Studio does not appear my device. On the…
android-studioasked 7 years, 8 months ago Hipólito 91 -
0
votes0
answers276
viewsInterface does not update in Emulator
I am creating a screen in Android Studio, created the emulator is running all right. Then I added some component on this screen. Only when I look at the application in the emulator it doesn’t update…
android-studioasked 7 years, 7 months ago Rodrigo Jacinto 355 -
0
votes0
answers279
viewsError publishing project to Github by Android Studio
I’m trying to share a project I have in Android Studio with git but it always returns me the following error: Successfully created project 'nome' on GitHub, but initial push failed: Could not read…
android-studioasked 7 years, 7 months ago Danilo 526 -
0
votes2
answers771
viewsMake an Acitivity on Android appear only once
Well, my question is: How do I make an Activity appear only once, and then when the user opens the app again this screen does not appear, only the others. I’ll explain how my project is to be…
-
0
votes0
answers49
viewsHow to list multiple items horizontally with title and description?
i am developing a virtual store for Android and would like to list the products horizontally with your title, price and description, I tried to do using Linearlayout but ended up giving error due to…
-
0
votes0
answers47
viewsGenerating in Android Studio
I have an error in android studio and I’m not knowing what it is, you could help me? Error:Android Source Generator: [cap3] Androidmanifest.xml file not found…
-
0
votes0
answers40
viewsListview does not present first item on android
Hi, how are you? i have a problem using android listview, I realize that it shows only from the second item, and in case of only one item in the list it shows nothing. I’ll show you my codes…