Compile executables Kotlin Multiplatform

In this article we will find out answers to these questions: Kotlin Multiplatform project may have these parts: Important note, that we should execute any Gradle tasks using Run Configurations in Android Studio. Edit Configurations -> Add new -> Gradle -> Paste Gradle task to “Tasks and arguments” field. You may face errors when trying […]

READ MORE

SocketException: Operation not permitted

We may run into this error while developing an app for Android: It may look like this as well: I won’t be torturing you with long explanations and references 😁, so everything you should do is to check that you have android.permission.INTERNET permission in your AndroidManifest.xml: Sometimes it’s necessary to add android.permission.ACCESS_NETWORK_STATE as well.

READ MORE

CLEARTEXT communication not permitted

When trying to build a WebSocket connection without SSL on Android we might encounter this guy: If it is a development environment and you want to test things, obtaining proper SSL certificate could take time. Therefore, possible solutions are: 1. Adjust app manifest and allow cleartext communications This is simpler option, so let’s start with […]

READ MORE