Questions tagged as 'android-studio'

2
answers

How to open a project directly by explorer

I was left with the following question these days and could not find a solution for that. Next, I have several projects in Android Studio (all have already been imported and are working perfectly), but every time I open the AS it opens the la...
asked by 14.11.2016 / 19:38
1
answer

Unreachable Statement

I need help, at line 107 android studio shows an error that says:    "Error: (107, 48) error: unreachable statement" Since Line 106, which is AdapterView.AdapterContextMenuInfo info, is in red. When I remove line 107 which is the...
asked by 15.07.2015 / 19:17
1
answer

How to change minSdkVersion on Android

I'm having some problems running on my actual device. Essseisabovemydevice,andtheonebelowistheconfigurationofmyproject.applyplugin:'com.android.application'android{compileSdkVersion22buildToolsVersion"22.0.1" defaultConfig { appl...
asked by 03.07.2015 / 22:24
2
answers

How to maintain a local file that conflicts with the repository?

Is it possible, when running git pull , to tell Git not to overwrite a local file that conflicts with the repository? If so, how to do it? The file in question is already in the repository. It is a file that was created by Android Stu...
asked by 10.09.2015 / 14:56
1
answer

compile "com.android.support:appcompat-v7:27.1.0" error

This message appears in the Android Studio console    Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.   It will be removed at the end of 2018. For more information see: link And points to line...
asked by 01.11.2018 / 14:51
1
answer

Doubt in Toast.makeText (this, ...)

This is the same code as a previous question, but now my question is different. No Toast.makeTest(this, msg, Toast.LENGTH_SHORT); gives the following error at compile time, I believe because of the context of this this : error: non...
asked by 21.07.2018 / 17:46
1
answer

Is it possible to edit the name of a project?

Is it possible to change the name of an application after the project has already been created in Android Studio, by Manifest something like this?     
asked by 25.01.2018 / 14:43
1
answer

Problem in making TextView display value updated

I'm doing a simple application, it's just a counter, with two buttons, "+" and "-", which consists of displaying an initial value of 0, and if I click on any of the buttons, the value displayed on the screen will be increased, or decremented, ac...
asked by 28.07.2017 / 05:18
2
answers

Android - Invalid Resource Directory Name

I tried everything by searching the internet, I saw several answers about giving Clean Project, renaming, updating IDE and nothing worked. It still gives the following problem: I just want to better organize the layout files by adding a...
asked by 21.04.2017 / 22:25
1
answer

Android - ImageButton image is not displayed [duplicate]

I'm trying to put 3 ImageButtons in a LinearLayout. The background image I am using are drawable images that I added by clicking the following sequence in Android Studio (2.2.2): Right click on the drawable, new, vector asset folder and choose...
asked by 02.12.2016 / 15:46