Questions tagged as 'android-studio'

1
answer

Persistent problem in Android studio: Can not resolve symbol 'ActivityCompat' 'Crashlytics' 'Fabric'

I have a serious problem which does not let me continue with my project, it turns out that last week I compile my latest version (1.1.6) for the moments of my project, I launched it and everything goes well with the devices, fabric and firebase...
asked by 01.06.2018 / 19:34
1
answer

Why does not my app show a map when downloading from playstore?

I have an App that shows a map using the Map API, but when you download it from Playstore the map is not displayed. This is what I have configured: An Api key for debug, the SHA-1 I get from google_maps_api.xml (debug) An Api Key for pro...
asked by 24.07.2018 / 18:42
1
answer

How can I load the Android Studio activity?

When I open the program, the screen where the application design is generated, simply does not finish loading, and in the upper part an error is generated that mentions something about an infinite cycle, but I do not know what is due. First of a...
asked by 11.05.2018 / 02:06
2
answers

Fragment setContentView Android

Hello good day today was making an app connected to the database with Firebase the application is already connected and all with some tutorials that I saw on YouTube, but now I wanted to make my app more aesthetic and I added a Bottom Navigation...
asked by 20.05.2018 / 09:23
1
answer

Create text file: error java.lang.IllegalArgumentException: contains a path separator "

I need to create a .txt file in a specific path that I created and write data that is in my BD inside that file, the way I found is OutputStreamWriter, but it sends me an error that says:    "java.lang.IllegalArgumentException: sample / examp...
asked by 15.10.2018 / 18:39
1
answer

Error requestFeature () AlertDialog

I have an AlerDialog in my App, the main problem is that in versions of Android Nougat and later this works perfectly but in Marshmallow and below the AlertDialog gives me this error: requestFeature() must be called before adding content...
asked by 15.10.2018 / 15:35
2
answers

Pass data from one query to another activity, listview

I asked a question about how to pass data between activities, and they answered me well, but my problem now is that I do not need to pass a simple string or an integer, I need to pass a query SQLserver, put it in the intent and then pass it to t...
asked by 02.05.2018 / 10:50
1
answer

How can I change the visibility of an xml object in ViewModel?

I have a question about how the visibility of an object in the ViewModel will change. I expose my case: I have a login interface that has two Edittext and two buttons, a button and an Edittext are invisible by default, and I want to press the...
asked by 20.04.2018 / 14:34
1
answer

Android studio updated and has problems to "run" the apps?

a few days ago update Android Studio, the updates were downloaded, they were installed correctly, all right but running the app has errors: sometimes this Failed to find byte code for javax/naming/spi/ObjectFactory or avaces this F...
asked by 10.04.2018 / 17:55
1
answer

How do I save the status of an activity with sharedpreferences?

I want to know how I do to save the status of my activities, for example if I go in level 2, I mean in activity 2, as I do to save the textview that indicates the level, for example level2, and that when closing the app and open it again, when y...
asked by 25.05.2018 / 00:13