Skip to content

Tag: android

What does “class loading deadlock” mean here?

I have this classes: And code inspector is detecting this warning: Referencing subclass NonRegisteredUser from superclass User initializer might lead to class loading deadlock What does it mean exactly? Answer The deadlock can only occur if you have 2 threads and one starts to load User and one starts to load…

Android Fragment OnAttach method

I’m new to Android development and have a question about OnAttach(Context context) method. As far as I understand you override OnAttach method in the class that you extend Fragment and what it basically does is it attaches the fragment to the Activity(Context) that gets passed as a parameter. However, i…

app:transformDexArchiveWithExternalLibsDexMergerForDebug

hi guys i get this error when i try to run my app Error:Execution failed for task ‘:app:transformDexArchiveWithExternalLibsDexMergerForDebug’. com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex i don’t know why! I tried also to clean and rebuild project but i get alway…

Android Studio 3.0.1 gradle build pkix pathbuilding failed

I have created a new project in android studio 3.0.1 setup the proxy settings of company and added the self sighned certificate unser server sertificates. When I try to build the following error is listed and the build fails. Error: Could somebody help me? Answer Solved this by adding the self signed certific…

Login Page will not open profile activity

After a user registers in the signup activity page I want them to be able to press the login button in the login page and then for the app to go to a profile activity page. However, the app crashes after typing in the username and password and pressing the login button in the login page. Here is the sets

android – Google places opens the map on closes after 1 sec

Im creating an intent to an activity by clicking on a button which should open google places, but it closes again really fast and says no location selected, and returns to the main activity, and then nothing happens if i click again. My api should be fine, I have checked that it’s the correct SHA1-finge…