Questions tagged as 'android-studio'

1
answer

Error generating SQLite Database android studio

I create a table with foreign keys and it generates error in the execution, I can not understand the error is the following ... 01-11 08:57:28.821 27100-27100/company.viral.organizadorjec E/AndroidRuntime: FATAL EXCEPTION: main...
asked by 11.01.2017 / 13:21
3
answers

ERROR when compiling my code in Android Studio

When compiling my Android code, I'm getting the following error:    Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:   Error: Execution failed for task ': app: mergeDebugResources'.    Error:...
asked by 27.12.2016 / 20:26
3
answers

Compatibility of api 22 with api 19

I generated an application which runs very well on systems with api levels higher than 20, I wanted to try an android s4 mini which has an api level 19 (Kit-Kat) someone can help me to give compatibility with this system. I have reviewed some...
asked by 28.11.2016 / 16:54
1
answer

Problem when building APK

Just make an application and try to generate the corresponding apk but it gives me this error. Can someone help me correct this error? This in my gradle file apply plugin: 'com.android.application' android { compileSdkVersion 23 buil...
asked by 22.11.2016 / 21:25
2
answers

Grant permissions for android Marshmallow (Android 6.0)

I am trying to grant permissions on Android Marshmallow but it still does not work. The code that I used is this: private boolean checkAndRequestPermissions() { int pocatioPermission = ContextCompat.checkSelfPermission(this, Manifest....
asked by 10.11.2016 / 19:57
2
answers

APK Debug vs APK Realease. Does not consume webservice, does not work database operations

I have a problem. I have my mobile app in android studio. The APK generated in DEBUG mode works correctly consuming web services and performing operations on the local database on android. All permissions are correctly configured. But when the A...
asked by 31.10.2016 / 20:54
1
answer

Work on a menu with items within a NavigationView on Android

Good afternoon, I would like to raise a problem that I can not find a solution for in Android programming. It turns out that I have a sliding menu implemented under two structures, a header and a listMenu in my view. I access the header pe...
asked by 26.10.2016 / 18:14
1
answer

Can I change the time and date of the mobile device using a DatePickerDialog and a TimePickerDialog? [closed]

I have implemented a DatePickerDialog and a TimePickerDialog to select the date and time that you want but I would like to know if that date I place can be changed in the mobile device.     
asked by 26.10.2016 / 23:17
1
answer

Null object reference in a RecyclerView pointing to a package

I am working on an application of time and the design is with three tabs, the problem comes to me when I show the predictions for the next five days in a recycler , which generates an error indicating that I invoke a reference of null obje...
asked by 04.01.2017 / 22:12
1
answer

Change the Setting of the Preview

Hello, excuse me for bothering you with this question. I can not visualize the cell phone as an image of the "Preview" view at the time of the Layout program. According to what I have been told that came in previous versions, which made me do...
asked by 07.11.2016 / 23:50