Posts

uninstall windows 11 skype, delete windows 11 skype

Image
When using Windows 11, skype is installed by default unintentionally, and it becomes an element that hinders the speed of the computer. The capacity of skype is over 200 megabytes, and it runs continuously and uses the computer. In the case of skype, it is an app pushed by Microsoft, so it is released by being inserted into Windows. Now let's see how to delete it. *. uninstall the app    -> Windows -> Settings -> Apps & features -> Find skype and click Uninstall button      (See the screenshot below for details) It was such a simple way to increase computer performance. Take note and have a nice day!

java.net.SocketException: socket failed: EPERM (Operation not permitted) solved in one shot.

Image
Today, we will look at how to fix socket failed: EPERM (Operation not permitted) warning. The error above looks like a network socket error, but it actually has a different cause. In Android Studio, the INTERNET PERMISSION permission is granted and the app is run, but the above error continues to occur. Personally, I've been through this 3-4 times. In this case, do not shovel here and there, and delete the app currently being built from the terminal (emulator or mobile phone). After reinstalling, you can see that the issue is resolved neatly. The cause of the above error is after installing the app without giving internet permission in the android manifest file. Sometimes it happens when you put internet permission and rebuild. In other words, it is not a network error, so please simply reinstall it.   Have a nice day.   For reference, the following is a description of socket.   This class implements client sockets (also called just "sockets"). A socket is an endpoint for...

Open multiple Android Studio projects

Image
When developing Android, there are times when you need to open several projects at once and work on them. For example, in order to copy the features of the old project to the current project, it is very convenient to open two Android studios and work. However, the default setting of Android Studio is to open only one project. Because of this, if you try to open an old project, the current project will be closed. 1. Change set value    -. Open the Settings window by selecting the "File -> Settings" menu.       Select "Appearance & Behavior -> System Settings".      In the Project section on the right, under "Open project in" select "New window". 2. Behavior after change    -. After changing the settings as in number 1, you can open two Android studios at once as shown below. thank you

How to use selenium in C#. environment setup

Image
I share how to crawl the web using selenium in C#. 1. Required programs   -. Installation of IDE and Visual Studio required for writing C# programs 2. Install Nuget    -. If you look at Visual Studio's tools menu, there is a Nuget manager. Nuget admin    -. Afterwards, if you search for Selenium in the Nuget search box, the list is displayed as shown below.       Of these, if you install Selenium.WebDriver, Selenium.Support, Selenium.WebDriver.ChromeDriver, and DotnetSeleniumExtras.WaitHelpers, the necessary packages for Nuget will be installed. 3. Create a C# project Now create a C# project. If you write a using statement as shown below, you are ready to use selenium. using OpenQA. Selenium; using OpenQA. Selenium. Chrome; using OpenQA.Selenium.Support.UI;   4. Write a C# Selenium function Here's a simple way to write a function: When the test function is called, the Naver page is opened, and it waits for up to 5 seconds to be searched. The ...

[Error Resolving] Manifest merger failed : Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined.

Image
I post about how to solve when I encounter the following error while developing an Android app. Manifest merger failed : Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` Resolution    -. If you go to the AndroidManifest.xml file, there is a part that defines activities.      Add the exported attribute here.      If it is not a special security activity, you can give it a value of true.      Just enter the red square part in the screenshot below. android exported <activity      android:name=".MainActivity"      android:exported="true"> A subsequent build fixes the problem and the build works fine.

How to fix Could not find com.android.tools.build:gradle error

Image
In order to refer to the Android code, there are many cases of building by receiving the code from Github or various routes. 1. Error The most common problem among these is the gradle error. Today, we will share how to solve one of them, Could not find com.android.tools.build:gradle . Below is the error message. 3.5.3 is the build number, which may be different each time an issue occurs. (depends on updates and settings) ERROR: Could not find com.android.tools.build:gradle:3.5.3. Searched in the following locations:    - https://jcenter.bintray.com/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.pom    - https://jcenter.bintray.com/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.jar Required by:      project: Add Google Maven repository and sync project 2. Workaround First of all, the above error occurs when you try to reference a library provided by google, but it fails. To solve this, add google() to build.gradle as shown below. Changes are marke...

The easiest way to fix android.os.NetworkOnMainThreadException

Image
If you just want to fix the android.os.NetworkOnMainThreadException error, skip to step 3 ^^ 1. Concept. -. When developing Android, I often see an error message called android.os.NetworkOnMainThreadException. The above error occurs when network-related APIs are used directly in Android's basic activity. This concept is a limitation applied in most operating systems. For example, even in windows development called .net, in form (the concept of activity in Android) If you use the network API, a stop (UserInterface stuck) occurs. 2. Possible Solutions -. The network must be used in a separate process (thread) from the user interface (actions such as pressing a button) used by the user. In other words, it can be solved by creating a separate Thread and using the Network (Http, etc.) API.   3. Workaround -. Sharing the simplest solution is as follows. In MainActivity, in the place where you want to use Network operation, enter as below. Before, when the code below is executed, a Networ...