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
votes0
answers124
viewsI have a problem in Cardview to pull on a layout on Tabsadapter
Hi! I can’t pull my Cardview. I use Tabs to scroll the pages more easily. Instead of just pulling a list of things using Reciclyerview, I pull the Layouts I created. That said, my cardview on the…
-
0
votes1
answer305
viewsFirebase authentication
I developed an Android + Firebase app (authentication + Storage + database). While this in the tests on Android Studio + authentic smartphone and works perfectly. I posted last Tuesday and after I…
-
0
votes1
answer260
viewsDebug app emulating on mobile
I’m having a problem with a conversion string para double, in that in the emulador o APP está funcionando perfectly, but no celular ele trava and closes. I’d like to know how to debugar se quando…
-
0
votes1
answer94
viewsError while trying to generate signed APK. What may be wrong?
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission…
-
0
votes1
answer85
viewsEnvironment for Android database testing
I am developing a simple application with Android Studio, using Java as a language. Currently, I am implementing the login and logout routine and I have some doubts. 1° ) Is there a need for me to…
-
0
votes1
answer391
viewsSet Floatingactionbutton size on Android
private FloatingActionButton createButton(int id) { FloatingActionButton fab = new FloatingActionButton(this); fab.setId(id); fab.setOnClickListener(new View.OnClickListener() { @Override public…
-
0
votes0
answers56
viewsCreate xml elements inside the activity_controller
I have a program that has a dropdown with 3 options. (Option 1 has value 1, Option 2 value 2 and option 3 value 3). Depending on the selected option, I need to create Textedits below this dropdown.…
-
0
votes1
answer81
viewsKotlin - R.string.navigation_drawer_open, Not being imported?
I’m trying to learn Kotlin, but I can’t use navigation_drawer_open, nor the navigation_drawer_close, as shown in the attached image Someone would give me a suggestion of what to do to fix the…
-
0
votes1
answer90
viewsInstalling Android Studio on Windows 10
I’m having problems trying to install Android Studio on Windows 10. Upon completion of the installation the information on the screen appears in English (on the buttons) and in a language disfigured…
-
0
votes1
answer429
viewsAndroid emulator loads but gives error
This is the mistake you make after a few minutes of loading Emulator: Error: Missing initial data Partition file: C: Users Reinaldo.android Avd 3.7_WVGA_Nexus_One_API_25.Avd/userdata.img…
-
0
votes2
answers888
viewsmy virtual device in android studio does not open my application
I was creating an application, and soon after adding strings to some textviews I tried to do a test, I selected my virtual device, however, when the device started a white screen with the google…
-
0
votes1
answer385
viewsError while performing an SQLITE table creation
I’m trying the following mistake: android.database.sqlite.SQLiteException: no such column: np (code 1): , while compiling: SELECT _id, nome, email, np, tipoFunc FROM usuarios ORDER BY nome ASC at…
android android-studio sqlite android-fragment sqlite-studioasked 7 years, 5 months ago Lucas Charles 127 -
0
votes1
answer158
viewsAndroid Studio running problem
Friends, I need your help to solve a problem. When I open Android Studio appears the following error and I can’t do anything about it. Could someone help me ? >Failed to…
android-studioasked 6 years, 10 months ago GratefullyDead 373 -
0
votes1
answer220
viewsProblems with 2 different versions of v7 library
My app is presenting the following error: as if I had used two versions of the compatibility library, the 25 and the 27, however I already reviewed the whole project and I can’t find where the 25…
-
0
votes0
answers73
viewsError compileDebugKotlin
Error: Error:Execution failed for task ':app:compileDebugKotlin'. Compilation error. See log for more Details Build.Radle Modulo App apply plugin: 'com.android.application' apply plugin:…
-
0
votes1
answer402
viewsIs it possible to edit a project name?
It is possible to change the name of an application after already created the project in Android Studio, by Manifest or something like this?
-
0
votes1
answer57
viewsApplication Installation Failed
After using for the first time Android Studio on a mobile phone, I could not use the emulator normally. The message appears below. Somebody please help me? "Installation failed with message Failed…
-
0
votes0
answers290
viewsAndroid Studio Error - compile app direct to handset
I’m trying to run the command to compile a direct app cmd for mobile, however I’m falling in an expection, need help: Code I’m running is react-native run-android Note: I plug my phone (I have left…
-
0
votes1
answer999
viewsWhere are the files of projects developed in Android Studio on Linux?
I am developing an App for Android using Android Studio, but as I have not yet published, it is my custom to make a backup at the end of the working day. I’m using Linux and I can’t find where the…
-
0
votes0
answers133
viewsAndroid Studio Design Gray mode
I bought an app on codecanyon and I’m slowly editing everything and fixing, but there’s one thing I’m wondering, maybe it’s some silly problem but I can’t solve the same.…
-
0
votes1
answer110
viewsHow to clone a Branch in Android Studio?
I would like to know how I can clone a Branch of Github in Android Studio, because when I clone the Project, on the home screen, comes only the default version of the repository.
-
0
votes1
answer3088
viewsHow to install plugins in Android Studio?
How to install plugins to increase Android Studio functions? Android Studio is a great tool that really helps decrease the time creating apps, but I would like to increase my productivity by adding…
android-studioasked 6 years, 9 months ago Nakamoto 1,341 -
0
votes0
answers30
viewsHow to make layouts for different device resolutions?
Good guys, I wonder how I do to create layouts for different screen sizes (small, normal, large or xlarge) in the same project in Android Studio? I do the layouts in the same directory: "layout" or…
-
0
votes1
answer121
viewsAVD Disabled on Android Studio
I’m not able to enable AVD - Android Virtual Device in my Android Studio, I’ve seen several tutorials, but I can’t. If anyone can help me I’ll be happy.
android-studioasked 6 years, 8 months ago Clarismilton 3 -
0
votes1
answer453
viewsError in Android Studio - Several messages of type `Cannot resolve the ...`
Good afternoon, I have an error in Android Studio and I can’t fix it. When I opened my project several messages like cannot resolve the symbol and in red they appeared, as it is in the image. Can…
-
0
votes1
answer702
viewsAdd icon to Android Studio mode
I’ve been doing research on the internet about the implementation of icons for android apps by android studio, however, I confess that I was somewhat confused. I made my icon using Adobe Illustrator…
-
0
votes1
answer307
viewsAndroid - Logcat without working/blank
My logcat’s not working. When I start the emulator and click on the Logcat tab, no information appears only blank, as if it is not connected to any device. The screen looks like this:…
-
0
votes1
answer879
viewsWhite Screen when loading the app in Android Studio
I’m using visual studio to create a mobile app. I used the command "Ionic Cordova run android" to load in my emulator in android studio my application. Apparently it seems to be going, but it just…
-
0
votes1
answer154
viewsBuild Variant Android studio
Why should my build variants (first image) does not present the options I want for the compilation? In this case I wanted the "mockdebug" as presented in the second image. What do I need to do to…
-
0
votes0
answers119
viewsHow to access the Date tab from within the Android Device Monitor
Hello, I’m having a problem that I can’t access my tab even using the emulator or a physical device connected to the PC with a USB. This error may be due to some permission, but I don’t know how to…
-
0
votes1
answer109
viewsJSON Return Giving Error
I’m doing a service to get the return JSON in an Android application, so far so good, but I don’t know where I’m going wrong when it comes to getting the value. The structure of JSON is this:…
-
0
votes1
answer200
viewsError inflating class android.support.design.widget.Navigationview Android Navigationview
Good night, you guys! I am trying to create an application with navigationView pwla first time and am encountering problems at the time of setContentView(R.layout.activity_main) call; the…
android android-studio android-layout navigation-drawerasked 7 years, 2 months ago Eduardo Rafael Moraes 710 -
0
votes1
answer598
viewsError compiling Ionic 3 with Cordova: Cordova node_modules Cordova-common src superspawn.js:169:23
In Ionic 3 with Cordova when I give the command: Ionic Cordova run android --emulate Give me the following message: BUILD FAILED in 3s at ChildProcess.whenDone…
-
0
votes0
answers21
viewsnotify every day schedule X
I was running the code in android studio but the code has some flaws and I can not solve,. Mainactivity @Override protected void onCreate(Bundle savedInstanceState) {…
-
0
votes1
answer315
viewsHow can I copy a machine from android studio to another machine, without needing to install android studio?
I installed the android studio on my machine and created a machine with android to emulate the applications, but now I want to take only this machine that I created and put on another computer, I’m…
-
0
votes2
answers1328
viewsProblem dragging components in Android Studio
I’m starting to use android studio today, this blue box on the right layout side ta? And every time I drag components into the middle, the button goes up by itself, but the button checkbox is still…
-
0
votes0
answers434
viewsFailed to allocate a 1850507580 byte allocation with 1048480 free bytes and 382MB until OOM
I’m putting a 728k image in an Imageview and when I run the app in android studio gives this stick in the application: java.lang.Outofmemoryerror: Failed to allocate a 1850507580 byte allocation…
-
0
votes1
answer44
viewsMusic app does not run on Android
Hello I was creating a music app whose I hit the button touch the music, I copied all code and went to run the program not debugged on my phone and opened an error then opens a screen of the music…
-
0
votes1
answer686
viewsApp does not appear in emulator
I am creating an app in Android Studio, I am using the emulator Genymotion, everything is running normal, only it does not run the app and does not appear the icon in the emulator.…
-
0
votes0
answers161
viewsCannot resolve Symbol 'Theme' in the Styles.xml file
Is giving the following error message: Android Studio 3.2.1 build.Gradle (Project:xxx) dependencies { classpath 'com.android.tools.build:Gradle:3.1.2' } I tried the following: 1) I deleted the .…
-
0
votes1
answer127
viewsManage android library versions
Currently in my application I have the following imports library in my build.gradle: compile 'com.google.android.gms:play-services-maps:+' compile 'com.google.android.gms:play-services-gcm:+'…
-
0
votes1
answer21
viewsAndroid appears message in the log about security configuration
I have an application that queries data on a Webservice using JSON. When I run my application I get the following message in the logs: D/NetworkSecurityConfig: No Network Security Config specified,…
-
0
votes0
answers133
viewsExtremely slow app build
Hi, I’m having a serious problem with the time of Gradle Build an app. I did a lot of research, changed Gradle settings, disabled crashlytics, activated daemon, build cache, offline work and…
-
0
votes1
answer110
viewsAndroid Studio giving error
My Android studio ta giving this error and I’ve tried everything but nothing worked[
-
0
votes2
answers1351
viewsInstant Run works but file . apk does not install
Well, the problem I’m facing is that when I emulate mine app through the Instant Run the app goes perfectly on my smartphone. However, I cannot install the same app through the .apk generated. Use…
-
0
votes1
answer1059
viewsCreate separate method to call Activity
i created a script where I intend to call separate activities but it’s not working package com.example.john.new_login; import android.content.Context; import android.content.Intent; import…
-
0
votes1
answer27
viewsHow do I add the Firebase API to my android project?
I was researching about and found it quite interesting, but I do not know what is necessary and how to use
-
0
votes2
answers789
viewsError installing application on mobile
I am getting this error while trying to install the application on my mobile phone, and I am not able to find the error inside the manifest.…
-
0
votes1
answer47
viewsError in executing activity_main.xml image
recently installed the android studio version 3.0 and followed its installation and configuration instructions, but this error appeared. I uninstalled and reinstalled and persists in it, which I…
-
0
votes0
answers50
viewsError parameter always null
I’m trying to make a registration system when I click the button, everything goes right but the parameter is getting null always. (Even if I define in a string) String url = ""; String parametros =…