Questions tagged as 'android-studio'

1
answer

What is the difference between StackOverflowError and OutOfMemorryError and how can we avoid them in the application? [closed]

I have missed these two errors in Java and I would like to know what difference there is between them, and how can both be avoided?     
asked by 20.04.2018 / 18:20
1
answer

Problem generating Signed APK in android studio

I am trying to generate the Signed APK in android studio but it sends me the following error every time I try: Please correct the above warnings first. My build.gradle has the following code: android { compileSdkVersion 26 defaultConfig...
asked by 30.04.2018 / 02:36
1
answer

How to make Firebase report changes to me ONLY when I click on a button? Android Studio

I have a problem with the Firebase in Android Studio. I have 2 buttons on my interface, one that is called "Upload Data" and another one called "Get Data". When I click on the "Upload Data" button, it uploads the data perfectly to the Firebas...
asked by 06.11.2018 / 00:17
1
answer

How can I place a Linearlayout on top of a scrollview?

I need to make a table where I have to scrolle it because there are too many rows, the header of the table must be static and be displayed when "scrolee". try to create a linearlayout with the fields of the table and in another linearlayout (tha...
asked by 20.08.2017 / 00:32
2
answers

automatic onClick

Greetings to all, by chance someone knows how you can make a button to be clicked only after a few seconds. Something like in Waze that one chooses the route and a Button appears (Go now) which after a few seconds is pressed only activating t...
asked by 27.09.2017 / 00:45
2
answers

Failed to resolve: com.android.support:appcompat-v7:27.+ android studio 2.3.3

I use android studio 2.3.3 and every time I start a new project this error marks me this is my granddle Module: App file apply plugin: 'com.android.application' repositories { mavenCentral() } android { compileSdkVersion 27...
asked by 26.03.2018 / 14:51
1
answer

Error creating apk android studio [duplicated]

When trying to create the apk (Build > Build APK) , the following error occurs:    Error: Execution failed for task   ': app: transformClassesWithDexForDebug'.    com.android.build.api.transform.TransformException: com.android.ide.com...
asked by 06.02.2017 / 17:44
0
answers

How to import Android Studio Project 0.5.2 (Ubuntu), to Android Studio 3.2.1 (windows-10)

I have an application developed in Android 0.5.2 installed in UBUNTU, in perfect ALL. Buy a windows-10 PC and install Android 3.1.4, paste the whole project, and when I open it is full of errors. Why does that happen? this is one of the error...
asked by 27.12.2018 / 00:20
1
answer

View folders separately android studio [closed]

I would like to know how I can go in android studio to see the folders as com.xxx.xxx to see them as one inside another in the android studio view.     
asked by 06.07.2017 / 12:26
1
answer

problems extending AppCompatActivity to use material design

a question. I want to work an application with material design and for that it is necessary to do an AppCompatActivity extends, but I already do an extended ListActivity for the results of a web service ... what solution do you propose?  ...
asked by 28.06.2016 / 19:19