问题描述
我正在尝试运行全新的 KMM 应用程序和我之前创建的现有 KMM 应用程序,当我尝试从 Android Studio 运行 iOS 版本时,我没有 iOS 配置。
>当我创建一个 iOS 配置时,我收到一个必须首先修复的错误。当我按下“修复它”按钮时,gradle.properties
文件会创建一个新的 xcodeproj=iosApp/iosApp.xcodeproj
这既是错误的,又是重复的。
如果我删除任何一个重复的 xcodeproj
行,错误会继续存在,并且在我修复它时(再次)得到一个新行。
如果您重复此过程,您可能还会得到许多新的 xcodeproj
行,但它们的位置都错误。
将位置修改为正确的位置也不能解决问题。
有什么想法吗?似乎是 Android Studio 4.1.2 中的一个错误。
以下是 Android Studio 版本的详细信息:
Android Studio 4.1.2 Build #AI-201.8743.12.41.7042882,建于2020年12月19日 运行时版本:1.8.0_242-release-1644-b3-6915495 x86_64 VM:JetBrains s.r.o 的 OpenJDK 64 位服务器 VM macOS 10.15.7 GC:ParNew、ConcurrentMarkSweep 内存:1979M 核心数:12 注册表:ide.new.welcome.screen.force=true,external.system.auto.import.disabled=true,debugger.watches.in.variables=false 非捆绑插件:com.intellij.lang.jsgraphql、org.jetbrains.kotlin、com.jetbrains.kmm
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)