I'm exploring KMM, I have done with the setup in Android Studio. I could able to run the Android app perfectly, but when I try to run the ios app, facing an issue in configuration setup. Xcode project scheme Dropdown is empty. I have attached a screenshot for reference.
Android Studio v4.1.2
Xcode 11.4
Mac OS 10.15.4
Kotlin plugin version
1.4.20.
Note:
I tried specifying the Xcode project location. But no luck.
But when I launch the ios App directly from Xcode, the app is working perfectly.
For your Kotlin version, the KMM plugin version should be 0.2.0 in accord with this release page https://kotlinlang.org/docs/mobile/kmm-plugin-releases.html#release-details.
I solved using Kotlin v1.5.0 e KMM v0.2.4.
Related
Sorry if my English is bad, my level is not very high.
I am developing a mobile app with Ionic and Capacitor. Some Capacitor plugins like Share or Splash Screen were installed.
These are the versions:
ionic: 6.12.4
capacitor: 4.1.0
In Android Studio I have SDK version 9 and Gradle version 7 installed and I ran into the following issue since I added Capacitor.
When I open Android Studio and try to create an APK, I get errors like 'package not found...' for the plugins mentioned above. I have tried installing jetifier but it keeps giving me the same error.
I put an example screenshot of what appears to me with the Capacitor Share plugin but it also happens to me with the other Splash Screen add-on.
example bug Android Studio
Thanks.
I want to get started with flutter. I have downloaded flutter and the Android Studio and XCode. In Android Studio, I can select the ios simulator from the drop down menu, but all that does is turn the simulator on and doesn't actually run my app. I am not sure what else do I have to do?
Open your app on Xcode, xcode will configure somethings. When you compile from android studio to an iphone emulator, xcode compiles the project, so it needs to configure the project at least once. You may need to go to the project's ios folder and run pod install to install the ios dependencies.
When I run the Android App in Android Studio, these errors occurs (see the attachment). The emulator appears. But there I cannot see the application written by me. How to fix this? I haven't created any app using Android Studio before. I'm using it on Windows 8.
enter image description here
Try starting Android Studio as an Administrator
Depending on the target android version you want to compile with, you might want to lower your JDK to 1.7.
If you're already running JDK 1.7, try reinstalling JRE and JDK
I am new to android studio. I am using android studio version 2.1.1. I have to run an application from Github. The problem I am facing is that whenever I run the application , I get this error,
Error:The project is using an unsupported version of Gradle.
I have even installed android support repository after following some tutorial. This did not help. I have also tried to find the versions of gradle that are compatible with Android studio 2.1.1. I dont know how to solve this issue
I'm doing a bit of Android dev on the side, so I'm no gradle expert. Just trying to create a project for Android 4.0.3+. This used to work before upgrading to Studio 1.5. Any ideas how to get this setup so can make projects again? I have no idea what appcompat-v7.15+ is or what to install so it can find it.