Questions tagged as 'android-studio'

1
answer

Repositories.cfg could not be loaded

I'm trying to compile an android application using the following command, ionic build android for Ionic 1.x, but I get the following error: File C:\Users\User\.android\repositories.cfg could not be loaded. The information of my team...
asked by 13.04.2017 / 19:54
3
answers

Android App Security

I am finishing the 1st app that I have developed, which handles sensitive data and any modification or alteration of the data or the handling thereof can cause great damage to the infrastructure of the company. I'm afraid that Apps of the typ...
asked by 14.09.2017 / 18:37
2
answers

Send phrase to web service using JSON

I have a small problem when sending a phrase using JSON to a web service, if I send a string without spaces like String name="Jose" ;, there is no problem, but when trying to send a whole sentence, the consultation is not done. What would be the...
asked by 09.12.2018 / 22:48
1
answer

java.lang.RuntimeException: Unable to start activity, java.lang.NullPointerException in Android Studio

Making a code to simply show Hello, world in a TextView named st, which is referred to by the variable stat, the error comes out: java.lang.RuntimeException: Unable to start activity ComponentInfo {com.aapps.vyber.clicker/com.aapps.vyber....
asked by 30.07.2018 / 12:26
1
answer

Alertdialog, separate the title of the message

I am using the Holo_Dialog theme in an AlertDialog, the problem is that the title comes out below the line of separation, how could I put the title above ?, or if I use the theme Theme_AppCompat_Dialog_MinWidth, how could I separate the title fr...
asked by 04.03.2018 / 01:38
2
answers

Copy TextView on Clipboard when pressed

I want to make that when I clicked on a TextView in andorid studio it was copied to the clipboard, I tried to put the android:longClickable="true" line in the text view tag as I read on a page, but nothing. I have changed in the androi...
asked by 10.04.2018 / 16:13
2
answers

How to display a message with Toast within a Thread in Android Studio?

It turns out that when I want to show a message through Toast and send it the context I get an error, I do it like this: public void mostrarMascotas(){ new Thread(new Runnable() { @Override public void run() {...
asked by 24.04.2017 / 22:18
3
answers

Error starting Android Studio on windows 10

When I started Android Studio I got an error message, a week ago I started normally, but now before I start loading I get this error. Internal Error. Please report to https://code.google.com/p/android/issues java.lang.RuntimeException: com.in...
asked by 10.04.2017 / 17:45
1
answer

Obtain if there is data in a nested object inside a json

I run into a problem, I have a list of items in a json. and before filling out a list, I want to check if there is a PROMOS sector in the json. Try this way but it only brings me the first 5 articles and nothing from the PROMOS sector my java...
asked by 19.10.2018 / 15:55
1
answer

Problems with Android Manifest

I get the following error: android.content.ActivityNotFoundException: Unable to find explicit activity class {montsemkd.eac1_activity/montsemkd.eac1_activity.Acitivty2}; have you declared this activity in your AndroidManifest.xml? I'm tryi...
asked by 20.09.2018 / 22:55