Questions tagged as 'android-studio'

1
answer

Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText ()' on a null object reference

I have a problem trying Iniciar sesión in my app; I register and enter the data correctly, but when I try to login, the application stops. When reading the logcat it indicates to me that it is an error in Registro.java . EditText...
asked by 30.03.2017 / 22:50
3
answers

android.permission.GET_ACCOUNTS and privacy policy

I have updated the apk of one of my app and I got the message from    Your APK requests the following permissions: android.permission.GET_ACCOUNTS . Applications that use these permissions in an APK must have a privacy policy set. But I...
asked by 07.12.2016 / 16:51
1
answer

problems to interact with the database from a fragment

From so much research I realized that the fragment do not work the relation with the database SQLite as do the activity directly, that this could help me to work or what is the correct code line for to be able to work with t...
asked by 07.12.2016 / 05:54
2
answers

Android DrawerLayout - No drawer view found with gravity left

When you click on the button to display the DrawerLayout, you get this error: E/AndroidRuntime: FATAL EXCEPTION: main java.lang.IllegalArgumentException: No drawer view found with gravity LEFT...
asked by 23.09.2016 / 19:57
2
answers

download Build Tools 26.0.2 for Android studio 3.0.1

I want to download Build Tools version 26.0.2 but it will not let me download it because of my geographical position (I'm in Cuba) in the SDK Manager.     
asked by 26.02.2018 / 15:22
2
answers

Error in sqlite

I am working on android studio with database sqlite and it generates the following error when deleting all the data in a table: When using this code: db.delete("tabla",null,null); I get the following error:    android.database....
asked by 14.09.2016 / 20:48
1
answer

Libraries in Android Studio

I have a problem when I want to start a project from another computer. And the two PC's have the same version of ANDROID 2.2 RC just in case, but it only happens with my pc, try another and without problems. And I have the same version. Erro...
asked by 05.09.2016 / 03:10
0
answers

Android keyboard uses the whole screen in landscape mode on some devices

I have an application that I need to use only in landscape mode and it turns out that in one device it occupies the whole screen and in another it only occupies half. I need only half of it to be used since it is uncomfortable to have to...
asked by 19.12.2018 / 21:08
1
answer

Error in Android Studio Button

being new I'm practicing in Android Studio, but I have a problem, I created a button and I want to launch a message when it is pressed, but I miss the following error in a screen that I can only put OK and does not stop exit, so I click OK but i...
asked by 03.04.2016 / 05:50
1
answer

EditText and ImageButton inside a textInputLayout

I try to place the EditText and the ImageButton inside a textInputLayout horizontally, in the Preview of android it appears fine, but when executing in the emulator nothing appears. What I want to do is a field where the user can enter their d...
asked by 13.11.2018 / 14:09