Skip to content
Advertisement

Tag: android-studio

Android Studio: Failed to initialize editor

I’m new with Android Studio technology. I’ve just launched a new empty project from scratch on Windows 10 machine. At first in my activity_main.xml file I could see an error “editor is unavaible until next gradle synch”. After clicking on “Synch Project with Gradle Files” the error message turns into “Failed to initialize editor” as you can see on the

save image file with increment at the end of file name

enter image description here please someone help me “To save an image file with increment at end of file name” like(“image 1.jpg , image 2.jpg , etc..”) here is my code please some help me to make this,i am new learner to android-studio. Answer If I have understood your question properly then, I assume you want your pictureFile name to

Why is my recyclerview greyed out? Anyone?

Am using the right dependencies and as you can see my xml is properly arranged, someone hep out Answer That can happen due to various reasons 1. Dependency issue: Check your app’s build.gradle if you have one of the dependencies. if not, add them and rebuild the project. If your project is in appcompat: implementation ‘com.android.support:recyclerview-v7:28.0.0’ If your project is

Android studio can’t find ArrayList class

First of all I’ve been using Android studio for quite years but this has never happened before. It seems like android studio’s inner ArrayList class has vanished out of a sudden. I can’t use ArrayList. It always says Can’t find symbol ArrayList I’ve cleaned rebuild and even invalidated caches and restarted several times but all in vain. My android studio

Only some URLs not loading in Webview

Code Im trying to load this URL in webview and the webview is empty. What’s wrong with this URL? I tried replacing the URL with other links and it works perfectly. Answer It’s been a SSL handshake failed for HTTPS URL. for debugging the webview, pls add following line and you can inspect webview Using chrome browser chrome://inspect. Step-1: Create

Advertisement