In this video will see how to resolve red color marked error on any project written in eclipse it can be selenium (webdriver,testNG,maven) or java. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Screenshot: Excerpt: In the…
Tag: issue
How to fix “‘org.json.JSONException’ exception Expected literal value at character” in your Android App Java code?
In this video it shows the steps to fix the error – ‘org.json.JSONException’ exception Expected literal value at character 65 of … In this demonstration it first reproduces the issue by introducing an erroneous comma (,) at the end of the JSON string and then shows the fix by removing…
How to fix “Value of type org.json.JSONArray cannot be converted to JSONObject” in your Android App code?
In this video it shows the fix for the error “Value of type org.json.JSONArray cannot be converted to JSONObject”. It reproduces this error by trying to convert a JSONArray to JSONObject. And then fixes it by rightly converting it into JSONArray and then using the index to get the right…
How to solve “Waiting for Target Device to Come Online” error in Android Studio?
The video provides a solution for resolving the “Waiting for Target Device to Come Online” error in Android Studio, which arises when there’s corruption in the emulator’s data during an App’s installation and run. The error can be rectified by wiping the emulator’s data via the Device Manager. Detailed steps are illustrated in the video. For further queries, suggestions, or appreciation, the creators can be contacted through the provided email or website.
How to fix Java error “Could not find tools.jar. Please check that C:\Program Files\Java\jre-1.8 contains a valid JDK installation.”?
This video shows the steps to fix the Java Error: “Could not find tools.jar. Please check that C:\Program Files\Java\jre-1.8 contains a valid JDK installation.” I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Complete details/ steps: Error Window:…
How to fix android.os.NetworkOnMainThreadException by defining StrictMode.ThreadPolicy in your Android Studio code?
This video shows the steps to quickly fix android.os.NetworkOnMainThreadException in your Android Studio Java code. The fix shown is more of a workaround. Ideal fix would be to run all the network related tasks in a separate thread using async methods. However, in this video it shows how one can…
Android Studio – Fix the WebView error “The webpage could not be loaded because: net::ERR_CACHE_MISS”
This video shows how to fix the error “The webpage could not be loaded because: net::ERR_CACHE_MISS” in WebView. It shows how simply adding the below INTERNET permission in the manifest file solves the issue: I hope you like this video. For any questions, suggestions or appreciation please contact us at:…
Android Studio – Fix the error “Could not resolve com.android.tools.build:gradle:7.4.0”?
In this video it shows the steps to fix the gradle error in Android studio. Actual issue is with Java version mismatch as explained in the below line of error: To resolve this issue, it changes the Gradle JDK for build in the settings of Android Studio. I hope you…
Resolve [UnexpectedTagNameException: Element should have been “select” but was “div”] in Selenium?
In this video will see how to resolve selenium error – Exception in thread “main” org.openqa.selenium. UnexpectedTagNameException: Element should have been “select” but was “div”. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Code: Error screenshot:
What to do when Flutter App stuck at “Running Gradle task ‘assembleDebug’… ” in Android Studio?
This situation may happen during the first Flutter App run. It is because gradle file may not be correct and needs to be cleaned and rebuild. Simply run below command in your Android Studio Terminal at $Project\Android folder: ./gradlew clean build Please note, in the above Android Gradle plugin requires…