How to debug swift code on Android Studio for KMM? - android-studio

I can't set up breakpoints in Android Studio on my Swift code. I thought the KMM plugin allowed for this. Is there any way to achieve this?
How can I debug my iOS UI + shared business logic in iOS?

You could use https://github.com/touchlab/xcode-kotlin to debug shared code in Xcode

Related

How to test Flutter app made from Android Studio on iPhone

As you can tell from the question I'm a newbie to Flutter world. I just finished making a simple Flutter app using Android Studio IDE, and would like to test on my iPhone. Is there a way to do this from within Android Studio? If not, do I just use Xcode? Any detailed instruction would be appreciated!!
You can find how to run an app from Android Studio in Official Flutter Documentation. Also, for run and test your iOS app, you need Mac computer.

Develop windows app in Kotlin using Android STUDIO

Is it possible to develop a Kotlin app for windows using Android Studio?
I can't seem to find an option but was wondering if it is possible somehow since AS is built on Intellij.

Unable to select iOS simulator via RoboVM IntelliJ IDEA plugin on Android Studio

I'm experiencing an issue where I am unable to select an iOS simulator via RoboVM IntelliJ IDEA plugin on Android Studio.
Under Run/Debug Configurations, when I try to create a new RoboVM iOS configuration and select Simulator type, the Device Type and Architecture dropdown fields are blank.
I am developing an iOS libGDX application using RoboVM. I have RoboVM 2.3.5, RoboVM IntelliJ IDEA plugin 2.3.5 on Android Studio 3.3. I have Xcode 10.2 installed and iOS 12.2 SDK installed. In Xcode I am able to see simulators there so I know that they exist.
I will appreciate any advice on how to resolve this issue.
simctl now returns modified format of simulator data.
there was a PR355 that fixed the issue and it is merged already to master.
you have options to build robovm from source, use user-pre-build one, or wait of official snapshot.

Android Studio Debug

i am testing my code but i have a problem, when i try to run the "Debug" process my cell phone get stock on Waiting For Debugger screen and i have to use Attach Debugger to Android Process on Android Studio, it used to attach automatically but i have been changing my android studio configuration, if there any way to make it automatic again i tried i lot but i can't find it?
Try toggling Tools-> Android -> Enable ADB Integration off and on, I had this issue when switching to the beta 2 of Android Studio 3. This helped me solving the issue.

Configure android ndk for android studio code suggestion

I'm new to android NDK and just know how to use native code in an java project as in this tutorial: http://kn-gloryo.github.io/Build_NDK_AndroidStudio_detail/
But when writing in C++ the IDE features for code completion, suggestion and other stuff disappear, while in java those features work as usual.
I tried to import some ndk sample from google, they are all written in C++ instead of calling native code from JNI as I'm doing, and the projects support code completion.
Can anyone show me a way to configure Android Studio for code completion to work when developing with NDK and JNI?

Resources