Questions tagged as 'android'

2
answers

Error in debug \ AndroidManifest.xml ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error

Today I was adding the firebase functions from the wizard and at the time of doing the gradle build I got an error in the file debug \ AndroidManifest.xml , before to add the functions of firebase I compiled without problems, I attached the f...
asked by 01.11.2017 / 22:36
1
answer

Error getting epoch in Date object

It's something basic but I'm stuck in this conversion of dates: I receive a date in String with format    10/19/2017 and I have to convert them into epoch for this I do: Date dataObjUntil = null; SimpleDateFormat s...
asked by 02.11.2017 / 18:36
1
answer

Android Should I use a doInBackground inside an AlertDialog?

Good morning everyone. I have this doubt ... The fact is that I need to click on an item in a list to 'execute' a URL that returns a true or false answer, to confirm or cancel a reservation. I am using a AlertDialog within a On...
asked by 12.08.2017 / 07:15
2
answers

url is not registered http //schemas.android.com/apk/res/android

I started working with recyclerview and cardview and then I had to put a dependency and when it was synchronized the build sent me this error, I already deleted the activitys and classes that I used, I also deleted the dependencies that I did no...
asked by 10.09.2017 / 23:08
2
answers

Line break of a second android textview

I have two textview on the same line, the two textview do not have static content, the problem comes when the second textview is loaded with the data, it takes the second line but not from the left completely. I hope you can help me. The...
asked by 01.08.2017 / 21:15
1
answer

Android Mediaplayer Service

I have a service that runs with mediaplayer the thing is that when you close it stops playing the song and the service restarts, I want to keep the song playing normally even if the application is closed as it is a service public class For...
asked by 12.09.2017 / 08:03
1
answer

Android Studio new project, Vista not complete

Create a project of 0 and when making the first view I get a space like a header that does not let me occupy my layout any idea that it is this is my manifest <?xml version="1.0" encoding="utf-8"?>                          &...
asked by 17.10.2017 / 21:05
2
answers

Slow loading Gradle in Android Studio 2.3.2 [closed]

I just installed the Android Studio , and it takes time to load Gradle . I have 8 GB of RAM and an Intel core 7 .    Resolve dependencies: app:debugAndroidTestApkC .     
asked by 22.05.2017 / 00:23
1
answer

Modify the colors.xml file of an android project from an external xml

I have this xml in my android project /res/values/colors.xml : <?xml version="1.0" encoding="utf-8"?> <resources> <color name="colorPrimary">#77ac5f</color> <color name="colorPrimaryDark">#558...
asked by 08.06.2017 / 13:22
2
answers

In android when taking vertical photo, in the image view, the image comes out rotated 90 degrees

I have problems uploading an image to a server from android. My code to select image: new AlertDialog.Builder(getContext()) .setTitle("Seleccionar Imagen") .setPositiveButton("Galeria", new DialogInterface.OnClickListener() {...
asked by 12.06.2017 / 09:25