Questions tagged as 'android-studio'

2
answers

Render problem in android studio, does not show components

I just created the project and it does not show my action bar, nor the textview that I just put, it sends me that message of render problem, I hope you can help me, it's the first time this happens to me, and maybe it has to do with which...
asked by 25.06.2018 / 20:16
0
answers

Problem with fourth level height of ExpandableListView android studio

I have a small problem with my ExpanableListView, it has 4 levels. 1.- dates 2.- Locations 3.- Streets 4.- Lots When I want to expand the fourth level this is not shown. Use, according to guides, the onMeasure method as follows: public Seco...
asked by 27.06.2018 / 00:20
0
answers

android-apt plugin is incompatible with the Android Gradle plugin. Please use 'annotationProcessor' configuration instead

I'm migrating a project to Android Studio but I get the error described ... This is the build gradle (module: app) file: apply plugin: 'com.android.application' apply plugin: 'realm-android' android { compileSdkVersion 24 build...
asked by 26.07.2018 / 22:12
0
answers

Why does my app restart when I want to run a timer, in Android Studio?

I have the following code in the MainActivity.java TimerTask timerTask = new TimerTask() { @Override public void run() { Toast.makeText(MainActivity.this, "Timer", Toast.LENGTH_SHORT).show(); } }; Timer timer = new Ti...
asked by 17.07.2018 / 01:07
0
answers

Display remote database data with Volley, Android

I am currently loading all the data in the table in a ReciclerView and everything goes OK. Now I want to do a search by name I modified the .php, leaving it as follows: // post para recoger el nombre $nombre=$_POST['nombrecito']; // inten...
asked by 09.07.2018 / 18:17
2
answers

How to call a fragment from an Android RecyclerView?

As you can call an un fragment when you select an element of my RecyclerView, I already search the internet and no method works for me. I would appreciate your strong response, I urge a lot. Thanks My Adapter's code public class ReciclerAda...
asked by 24.06.2018 / 04:26
0
answers

Failed to create void 'adc'

I am doing an end-of-course project for my institute. It's about buying movie tickets digitally. It is being developed by android studio, the problem is that when I want to use an AVD I get the following error:    Emulator: audio: Failed to c...
asked by 22.06.2018 / 22:07
0
answers

how could I create a PUBLIC folder in internal memory in android?

I managed to create the folder but private, that is, only the same app can see it and what I'm looking for is that it can be viewed from any file browser, internal memory not sd val directorio = File(filesDir, nombreDirectorio) if (!d...
asked by 21.06.2018 / 02:23
0
answers

error when calling the bd in the main activity

I have the following codig'package com.example.manuu.alazar; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.support.v7.app.AppCompatActivity; import android....
asked by 20.06.2018 / 22:40
1
answer

How to correct the error in activity_main.xml design?

The present error is:    java.lang.ClassNotFoundException:   android.view.View $ OnUnhandledKeyEventListener at   org.jetbrains.android.uipreview.ModuleClassLoader.load (ModuleClassLoader.java:180)     at   com.android.tools.idea.rendering.Re...
asked by 03.07.2018 / 23:06