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
answer220
viewsAndroidmanifest.xml error 'class' or Excepted interface
I screwed up and Manifest doesn’t recognize the Activitys name <activity android:name=".Login" android:label="@string/app_name" android:theme="@style/AppTheme.NoActionBar">…
-
0
votes1
answer219
viewsError translating strings previously marked as untranslatable
Hello, has anyone ever been through this? I checked some strings like Untranslatable in the Android Studio String Editor just to speed up the release. In this update, I opened again the Android…
-
0
votes1
answer59
viewsError: Firebase API initialization Failure
I’m making the following mistake: Firebase API initialization Failure. From this form, every time I send a notification through Firebase, the "crash app". Bundle dependencies { compile…
-
0
votes1
answer1716
viewsHow to install SDK platforms in Android Studio?
I installed Android Studio and now I need to download and install some Sdks platforms for it. By default, it comes to 7.1.1 installed, but I need to install all from 4.1, but when you click on the…
-
0
votes0
answers219
viewsStrange character bug in Android Studio UI
Has anyone ever witnessed a similar problem?…
-
0
votes2
answers925
viewsI did wrong thing in my code in android studio and I can’t go back to what I was before
Is there any way I can get my code back to the way it was before I did the wrong thing in android studio? Apparently I deleted my code and only Gradle script is there. Is there any way I can recover…
-
0
votes1
answer724
viewsGenerate an APK per command line?
How do I generate an APK, android studio project via command line? I wonder if you have how to call a file . bat and it export the apk in a folder.
-
0
votes1
answer56
viewsIndentation with problems in Studio
I’m getting a lot of code indentation on Android Studio. My code is very ugly as it shows the image and I can’t indent it. I already changed the keymap for eclipse, netbeans and looks like nothing…
-
0
votes3
answers587
viewsAndroidstudio Onclicklistener() error
I don’t know how to fix the Onclicklistener() error in the java class below, it just has to fix it Here the full code to download: https://www.sendspace.com/file/4sgv14 Error: classe…
-
0
votes1
answer547
viewscall requires api level 24 (Current min is 16): android.icu.text.Decimalformat#Decimalformat
I was trying to format the output numbering of the calculus data in the textview to two decimal places. I found Decimalformat code, however it didn’t work with me. I’ve been to Gradle and changed…
android-studioasked 7 years, 10 months ago Ana Waldila 119 -
0
votes0
answers360
viewsWhy the key api ( google ) does not work when adding key constraint
I have 2 key api, one with restriction for android apps and the other without, when I put the app to use the restricted api it can not access the api returning Error "403 Forbidden", in the…
-
0
votes1
answer51
viewsShared installation Android Studio
Need to perform the installation of Android Studio in a shared way on the same machine and create a local repository for updates, is it possible? I’ve been through the web, and I haven’t found…
-
0
votes0
answers143
viewsHow to resolve these error in android studio 2.3?
how do I fix these new errors ! the layout doesn’t work before it worked! i had changed the build version 26.0.0 to 25.2 helped but then appeared these 4 errors…
-
0
votes0
answers193
viewsAdd Google Provided Key to my APP
Google Play suggests a license key for my app They have a public RSA key encoded in Base64 to include in your binary file. Remove any spaces. MIIBIjANBgkqhkiG9... How do I add this key provided by…
-
0
votes1
answer115
viewsHow to pass a certain content contained in a direct first Activity to a third Activity?
People would like to know how to pass the contents of a plaintext that is in Mainactivity directly to Main3activity, without having to import to Main2activity for later to Main3activity. User passes…
-
0
votes0
answers93
viewsIs it possible to use the SDK and NDK with Android Studio?
Good night! I have an app I made using the SDK. However, there was a need to use NDK in order to be able to use some ready-made functions already existing in C/C++. How does it work in this case? I…
-
0
votes1
answer180
viewsAndroid Testing Instrumentals
When I start to elaborate the instrumental test for Mainactivity it gives error because it does not recognize this Class (Mainactivity), as it is possible to verify in the following image. I read in…
-
0
votes1
answer384
viewsGradle project refresh failed - Cause: invalid stream header: FFFFFFFF
I created a new project in Android Studio. However, when opening, the following error appears: Error:Cause: invalid stream header: FFFFFFFF How can I resolve this situation?…
-
0
votes1
answer143
viewsError using Long.parseLong to capture Edittext value for a LONG variable
I created an app that contains only one Activity. In this app there are 3 Edittexts and 1 Textview. I created 3 variables of the type long (l01, l02 e l03) to receive the value of the 3 Edittexts.…
-
0
votes1
answer67
viewsYou can generate a . WAR in Android Studio
I am developing an application that needs to be generated in APK and . WAR; I wonder if there’s a way to do this in Android Studio, or I’ll have to develop two applications in different…
android android-studio software-engineering apk android-eclipseasked 7 years, 3 months ago Aderbal 119 -
0
votes0
answers36
viewsHow to let app run on 2° plan?
I have an Activity and I want it running at 2°; plan, permanent time, I know it will waste Cellular battery but I need help . The code I have to implement is a webView this : new…
-
0
votes1
answer533
viewsError after updating android studio
Error:Could not find com.google.android.gms:play-services-cast:9.6.1. Required by: android:app:unspecified Search in build.Gradle files How to fix this error? Gradle already has this play-services.…
-
0
votes1
answer43
viewsWebservice for android app without using Tomcat
would like to know some alternative to Tomcat, for me to make a web service for my android application, where I have my local database want to synchronize this information through the webservice. If…
-
0
votes2
answers877
viewsTextview is not displaying decimal numbers of a long type variable!
I created 3 Textviews and 2 variables of the type long. 2 of the Textviews will display the two long variables separately, while the last one displays the result of a split of the first (N01) long…
-
0
votes2
answers425
viewsAccent error in IDE editor - Linux
I’m having stress issues in the 'Netbeans' and 'Android Studio IDE’s'. My operating system is linux Elementary os [Elementary OS 0.4 Loki] Only id accentuation characters are not typed. This is not…
-
0
votes2
answers821
viewsError while trying to display a vector (SVG) imageView!
Good guys, in this app I intend to do a test inserting a vector image in the main Activity. I did the integration process all right, as you can see: But even having followed the entire tutorial, the…
android android-studio svg imageview android-resourcesasked 7 years, 9 months ago Boneco Sinforoso 817 -
0
votes2
answers1978
viewsTextview - Leave only one word in Bold
I have a TextView which displays the following text on the screen: Like this: value: PROMOTION! As I wish: value: PROMOTION! Has as put Bold in just one word from TextView? I mean, there’s a way I…
-
0
votes1
answer313
viewsEdittext with same size Android
I’d like to leave my components <EditText/> the same size but I’m not getting it. <?xml version="1.0" encoding="utf-8"?> <ScrollView…
android android-studio android-layout android-fragment android-activityasked 7 years, 2 months ago User1999 864 -
0
votes0
answers65
viewsError Android Studio
After installing android studio, I can open a new project, but is giving these errors and can not do anything. Someone could help me?…
-
0
votes0
answers411
viewsAndroid Studio does not create new project
My android studio whenever I create a project, it gives this error: Error:Execution failed for task ':app:processDebugAndroidTestResources'. com.android.ide.common.process.Processexception:…
-
0
votes0
answers42
viewsError dependencies Gradle: all google.com.gms.Ibraries must use the Exact same version Specification (Mixing versions can lead to Runtime crashes)
I am trying to add a barcode reader to my application and am using this example as the basis: https://github.com/KingsMentor/MobileVisionBarcodeScanner The error appears whenever I arrive at step 2,…
-
0
votes1
answer140
viewsError generating APK - app:transformClassesWithDexForDebug
I am trying to turn my application into APK, for TCC delivery and am having the following error: Error:Execution failed for task ':app:transformClassesWithDexForDebug'.…
-
0
votes0
answers230
viewsError when trying to add a Fragment to a project in android studio?
I created a project and did not put anything in it, the same is zeroed, only with that textView "Hello World". The problem appeared when I tried to add a Fragment (with a + 1 button) to the project:…
-
0
votes1
answer51
viewsAndroid does not find the local variable, but does not exist
Hello I’m running a debug on this code and at the end it gives this message in debug. Cannot find local variable 'Namespace' However I already searched all my code and I do not find this variable do…
-
0
votes0
answers43
viewsApplication closing alone after Holder.textViewVar.setVisibility
I have a RecyclerView and in each item I would like to check if a fact occurred to show or not a button: @Override public void onBindViewHolder(ViewHolder holder, int position) { Posts post =…
-
0
votes1
answer164
viewsAzure Sotarage on Android - open failed: ENOENT (No such file or directory)
I’m having a problem with the AZURE STORAGE API for Android which is when I try to upload an image with the following code storageAccount = CloudStorageAccount.parse(storageConnectionString);…
-
0
votes1
answer793
viewsError while running App on Android Studio 2.3
When I run (both in Android emulator on PC and smartphone) the App returns the following error: <p>Installation failed with message Invalid File:…
-
0
votes1
answer41
viewsBest HTML library for Android Studio
Someone can give me suggestions of HTML libraries to use in Android Studio, or what would be the best way to put HTML without being native? Example: Html-Textview…
-
0
votes1
answer399
viewsError while running studio.sh
Hello, I’m new in development with Java. I’m using Fedora 26 and openjdk java version "1.8.0_91". my environment variables are: export JAVA_HOME=/usr/lib/java export CLASSPATH=$JAVA_HOME/lib/ export…
-
0
votes0
answers498
viewsError entering registration: "No such table" - can anyone help me?
I am developing the registration for my application, but I have an error at the time of registering (insert function), an error that I do not know how to solve, it is in the image: Registration…
-
0
votes0
answers77
viewsError while running Android application with Opencv
I am trying to open my application on my Smartphone (Motorola G4 Play), but I am not successful. The following error is shown to me: E/art: No implementation found for void…
-
0
votes0
answers379
viewsHow to check application errors with android stúdio 3.0
I hope to count on the understanding of all because I am only hobbysta, I started learning android with the version 2.3.3 of android studio and checked the errors and Logs through the tool Monitor,…
-
0
votes2
answers1577
viewsProblem with special characters
i have an application that downloads a csv file from an ftp server and within that file contains product information and the app must insert it into a database, but the special characters are coming…
-
0
votes3
answers705
viewsHow to click on Listview
Well I created a search screen with Pain text and added a Listview to show the suggestions, but how to set the click of the item that appears in the list? Java code public class Tempo_Real extends…
-
0
votes0
answers348
viewsProblem with debug in android studio
Hello, I was debugging the application normally on the device, I stopped the debug I made a correction and when I started the debug I got the following message: Debug port (8700) is busy, make sure…
-
0
votes1
answer110
viewsProject preview in android studio
Why has the visualization of my project items in android studio changed? Only this project is like this, the others are normal.…
-
0
votes1
answer139
viewsAndroid Studio: Invisible problem?
Hi, I’m making an app to calculate the best purchase between 2 products, in this case is toilet paper. In the title I put invisible problem because android studio 3 does not detect any error in the…
-
0
votes1
answer153
viewsSave android studio project
I’m making an app and my biggest fear is losing the project (if my pc breaks for example) I want to know if you can save the project to Dropbox or Google Drive without damaging the app, or if…
-
0
votes1
answer207
viewsChanging label and color of pie chart entries - Android
I have the following code: public class Pontuacaouseractivity extends Appcompatactivity { PieChart graficoUser; int pontosCor, pontosNumero, pontosObjeto; FirebaseUser user; FirebaseAuth auth;…
-
0
votes0
answers475
viewsProblem with Gradle generating
Good afternoon... I have a serious problem, I already searched in forums and groups of Whatsapp and could not solve, I realized that it is only in windows 10... Come on: My problem is this, every…