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
answer155
viewsRecyclerview No Adapter Attached; Skipping layout (Kotlin) How to resolve?
Oops guys, I’m having this problem. I’m developing a CRUD in Kotlin and I’m having difficulties in the database reading page... Once I enter Activity, loads the Textsviews and all the other elements…
-
0
votes1
answer15
viewsTrade an image with Kotlin?
Hello I am new learning Kotlin and I have the following problem, I have a View image with two buttons, move forward and backward. In a gallery of 5 photos I would like to keep exchanging images so…
-
0
votes1
answer17
viewsProblem with Annotation after updating android studio
I have an implementation made with Socket.IO on android. However after I update the android studio, everything stopped working... I created routines to facilitate lib implementation, one of them is…
-
0
votes1
answer32
viewsError making calling methods from one class through another
My application crashes when I write this code below, I am trying to stop the Login Class in the Registration Class and access the Login class methods through the Registration class.…
-
0
votes0
answers10
viewsHow to Change Action Bar Top Andoid Studio Background
I need to make this layout, whose design is not mine I have already agreed to change the icone of the overflow, but I need to put this green bar with this image, being it a button, for now I only…
-
0
votes1
answer116
viewserror: The argument type 'Jsobject' can’t be Assigned to the Parameter type 'Buildcontext'
I’m trying to navigate from the login screen to the homescreen, but when creating the void _onSuccess is returning the error: error: The argument type 'Jsobject' can’t be Assigned to the Parameter…
-
0
votes1
answer26
viewsI can’t make a setOnItemClickListenner with a Long (Android Studio)
I have a Person class with the attribute "code" type Long. I have an error in this code block. Code1 is where I got the ID. list.setOnItemClickListener(new AdapterView.OnItemClickListener() {…
-
0
votes0
answers9
viewsInitial step when creating a navigation in Android Studio
It’s very basic, but I’m not able to implement it. I’m wanting to start studying navigation, but not being able to implement it correctly. On the android site they ask me to put this code in the…
-
-1
votes1
answer475
viewsHow to add the files in . gitignore in Android Studio?
At some point in our project, local settings files were sent (workspace.xml, app.iml) to the git. Among these files, some of the Gradle (cache.properties.lock, fileHashes.bin, fileSnapshots.bin,…
-
-1
votes1
answer54
viewsProblem to run project
I can’t run my project from the bug "com.android.ide.common.process.Processexception: org.gradle.process.internal.Execexception: Process 'command 'C: Program Files Java jdk1.7.0_79 bin java.exe''…
-
-1
votes1
answer135
viewsClass import that turns gray
When you import a class that is not being used, it turns gray and immediately erases it. How do I make it not be automatically deleted. I’m using Android Studio.
-
-1
votes1
answer694
viewsWhy are my I.mportsscrewing up?
After a few days I opened the project, today I returned to work but when I opened the project I noticed that there was something wrong because all the classes I open indicate error by IDE, errors…
-
-1
votes1
answer749
viewsHow to return data from the user who logged in?
I need someone to help me with the following problem. I want to realize a select in a Mysql database, select will be done via web service with PHP returning a Json to my Android app. What happens,…
-
-1
votes1
answer385
viewsError in build. Gradle
Error:(1, 0) Plugin with id 'com.android.application' not found. Open File Guys I went to open a project, and this mistake came up. Can someone help me, please.…
-
-1
votes1
answer70
viewsProject in Android studio does not run for lack of libs
I’m having this error when trying to run an Android project I did a while ago, I cloned the git repository and tried to run, updated Android Studio a little while ago I don’t know what to do. Error:…
-
-1
votes1
answer2309
viewsHow to use an API on an Android Studio project?
Does anyone have any ideas about this, or can they explain it to me by giving an example? I looked on the net but everything was kind of clueless, so I came here to find out more. someone is able to…
-
-1
votes2
answers348
viewsDatabinding error in Android Studio 2.1.2: package databinding does not exist
I am trying to learn databinding and there is a strange error when I try to build: Error:(8, 54) error: package br.com.aulas.vitor.cadastrodecarro.databinding does not exist My Build.Radle looks…
-
-1
votes1
answer2317
viewsConfigure JDK in Android Studio
I need to configure the JDK path in Android Studio via terminal without root access to a script. The computer has JDK/JRE 7, I tried to change the value of some variables: PATH, JAVA_HOME, JDK_HOME,…
-
-1
votes1
answer430
viewsHow to resolve Nullpointerexception error in android studio 2.3?
I am with android studio 2.3, and since I updated it has been giving this error: would like to know how to revolve this. Android studio is not affected...continues working normal, but this is very…
-
-1
votes1
answer218
viewsError in Android Device Monitor Android Studio
After getting a lot to have my device recognized by Android studio to be able to run on it what I was programming, I got it, but then the android studio wanted me to install something from android 7…
android-studioasked 7 years, 7 months ago Azrah 1 -
-1
votes2
answers1585
viewsWhat are the advantages and disadvantages of developing or not with Android Studio?
Using technologies like Xamarin, it is possible, with some changes, to develop the same application for several platforms having a great reuse of code. Already, with Android Studio, it is possible…
-
-1
votes1
answer1886
viewsHow to import projects and modules from Android Studio via Git
Hello! Good afternoon. I am a bachelor’s student in information systems and am practicing development for Android. My teacher provided a Git link containing a "pack" of each subject covered in his…
-
-1
votes1
answer6407
viewsIs it possible to recompile an APK for Android to change only the name and icon?
Good people, I bought a full site + APP for Android, I sent them to compile for Android the PNG for Icon and Title, but unfortunately it was not good and would like to change. I asked support them…
-
-1
votes2
answers417
viewsMove android studio to another computer without installing
To vacation in a small town, here the internet is very slow, I want to move the android studio to a more advanced computer I bought, only I can not via internet, I wonder if it is possible to pass…
-
-1
votes1
answer367
viewsAndroid Studio Infinity Charging
Hello, since yesterday I come across a problem in Android Studio, When it opens it never finishes to load the project, yesterday I left for more than 5 hours and nothing... I already deleted the…
android-studioasked 7 years, 9 months ago Wallace Roberto 496 -
-1
votes1
answer172
viewsAndroid Studio Doesn’t Recognize Gradle Libraries
I took a project that has several external dependencies, like facebook lib, even some of the android support itself. The design compiles normally and runs perfectly on the device. The problem is…
-
-1
votes1
answer35
viewsWeb Application (running only on mobile)
Is there any way I can basically make an installer, as if it were an app or mobile game???? Because I wanted to generate an access icon for the customer without having to open site through browser.…
-
-1
votes1
answer481
viewsError after updating Android Studio to version 3.0.1
Hello, I just updated my version from 2.1 to 3.0.1 and this error appears Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar]…
-
-1
votes1
answer139
viewsRemove Branded in Android Studio editor
How to get this automatic branded Android Studio?…
-
-1
votes1
answer297
views(Android studio) How to get a user id from their email in Realtime Database (Firebase)
I would like to know how I can get an id of my database in firebase by email. For example I have the email [email protected] and would like to get his id just by email. It is possible?
-
-1
votes1
answer867
viewsRecyclerview error: cannot find Symbol variable when running the Android Studio Project
My project when axecutar appears this error: Error:(417, 63) error: cannot find symbol variable testando Error location: The app’s Gradle has all the right Recyclerview Imports: apply plugin:…
-
-1
votes1
answer157
viewsError while loading JSON
In the link below, I have a return JSON: http://localhost/hotplateprensas.com.br/Ws/produtos.php is delivering the following return:…
-
-1
votes1
answer746
viewsSqlite giving "near "CREATE" error: syntax error (code 1):"
Does anyone know what’s wrong to be making that mistake? I/System.out: ERRO 1 :android.database.sqlite.SQLiteException: near "CREATE": syntax error (code 1): , while compiling: CREATE TABLE…
-
-1
votes1
answer49
viewsHow to get values from a Textview of another Activity?
I would like to get the email that was typed on the login screen and with this value pass to another Activity.
-
-1
votes2
answers54
viewsImplement a Layout in Android Studio
I want to implement a layout like this in Android Studio, I searched already in Google, but I did not know to refer to this type of bar I want to do, then I made this image. I think it is quite self…
-
-1
votes1
answer99
viewsError in Java database
Hello, I "created" an application with user registration and login, after the login screen that comes the problem, the system to log in is working, started to give problem after I created a screen…
-
-1
votes1
answer92
viewsHow to delete an external library
How do I delete external libraries that generate version 28 incompatibility. It already deletes manually in the directory. idea/Ibraries and also clicked on them and had them deleted in both cases…
-
-1
votes1
answer152
viewsError Installing Gradle
Hello guys someone has seen this error when the application tries to install Gradle, be it in android studio, Ionic, React-Native, all give this same error when I try to compile the project Both…
-
-1
votes1
answer177
viewsHow to access a field (value) of a JSON
I got a problem, I got this JSON…
-
-1
votes1
answer37
viewsMaps KEY is not working
Recently I had to format the pc... And I took a backup of my projects... When I reinstalled Android Studios and opened my project I realized that the map is not showing!!! But all the rest of the…
-
-1
votes1
answer101
viewsAndroid studio: how to organize images in subfolder
when placing the images in a new subfolder of drawable, the images and the new folder no longer appear in the left panel, in the "android" tab, in the other tab as "Packages" the folder is there.…
-
-1
votes1
answer47
viewsError declaration Android-Studio
I wonder why my android studio is giving these errors in the statements, this print ai is a new project, statement made by own android studio this giving error.…
-
-1
votes1
answer109
viewsAndroid Development with Android Studio - Recyclerview is not working
I’m trying to get into this world of Android development, using Android Studio. And right at the beginning I already face a simple problem for an experienced programmer who uses Android Studio but…
-
-1
votes1
answer39
views"Non-static method" error
Below is my part of the code that is giving this problem: "Non-static method' write(byte[], int,int)' cannot be refenced from a Static context". I don’t understand this error message! Could you help…
-
-1
votes1
answer48
viewsgetWindow() command is not recognized
Someone help me for love of desu, to using SDK 29 so the problem is not that at least...…
-
-1
votes1
answer27
viewsIcons larger than the text box
How do I decrease the size of these icons in my layout?…
-
-1
votes1
answer420
viewsBrowse an array of JSON objects in Android Studio
I receive the following JSON link [{"ProdutosidProduto":"1","Produtostipo":"mp","Produtosmodelo":"F540 2 BAN.PNEU. 100 X…
-
-1
votes1
answer81
viewsFailed to build Android Studio project :app:packageDebug
Execution failed for task ':app:packageDebug'. > A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable > Entry name…
-
-1
votes0
answers5
viewsGenerate Pdf of the page with listview android studio
I am facing difficulties to adjust an application page layout in android studio, generate image and save in pdf. I have a layout with several Textview and a Listview with scrolling, I can transform…
-
-1
votes0
answers11
viewsBuild error in android studio using Kotlin
When I compile my application it does not build and from this error, how do I fix? in another application it works. java.lang.Assertionerror: annotationType(): unrecognized Attribute name MODULE…