Questions tagged as 'android-studio'

0
answers

Execution failed in Android Studio (Error: Execution failed for task ': app: preDexDebug'.)

In the execution of my project the following error is occurring and I already researched in several places, but none solved for my problem. I hope someone can help me. I've already restarted Android Studio and gave it a Clean, but nothing wor...
asked by 09.11.2015 / 03:35
1
answer

Error while syncing: Could not reserve enough space for 1048576KB object heap

This error appears when I try to sync my project in Android Studio, how do I resolve this?    Error: Unable to start the daemon process.   This problem might be caused by an incorrect configuration of the daemon.   For example, an unrecogniz...
asked by 28.09.2015 / 23:23
2
answers

Error adding appcompat-v7 api level 22

I'm trying to add appcompat-v7 to my project, but when I sync with gradle the following error occurs: /path/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.1/res/values/values.xml Error:(2) Attribute "layout"...
asked by 30.09.2015 / 18:52
2
answers

Authenticate PHP page through the application is not working

I'm trying to make a connection to the MYSQL database to login to the user in the android application, I already have some users registered in the database but I'm not able to login with user data. <?php if($_SERVER['REQUEST_METHOD']=='POS...
asked by 02.09.2015 / 22:25
1
answer

Inflate a warning in the view from a BroadcastReceiver

I have an application where it is necessary to monitor, and warn the user when he is without an internet connection available. To solve this, I created a BroadcastReceiver and show a toast when this happens. But I need to update this class so th...
asked by 04.09.2015 / 16:26
0
answers

Directory Error in Android Studio

I deleted the folder where the projects were and I could not create any projects anymore.     
asked by 02.09.2015 / 19:59
0
answers

Android Studio - Error trying to open old projects

I often get this error when trying to open some of my old projects that do not yet belong to Android Studio! Does anyone know the solution to this problem? Thanks. MyAndroidSDKManager:     
asked by 29.08.2015 / 14:01
1
answer

Extract apk to put in playstore

I'm having issues with Xml of my colors. When I try to finish the extraction, it is giving error, but the application runs on my cell phone, I already clean and build and everything is fine, but against start, when I try to extract to lau...
asked by 19.10.2015 / 13:57
0
answers

How to read txt files and put your data in a vector

I'm trying to make a code that reads latitudes and longitudes that are in a txt file. ie put what is in the file in a vector and make a for loop to call all inside the polyline. try { File file = getFileStreamPath("circular_1.txt")...
asked by 17.07.2015 / 19:56
0
answers

Load an activity inside a fragment with tabHost

I'm starting with android studio reading some things and watching some videos on youtube, basically what I want to do is a calculation program to make my life easier on my service, some simple accounts I've already been able to do (I only...
asked by 18.07.2015 / 03:10