Marc Dietrichstein
02/22/2022, 5:06 PMandroidMain/kotlin
is marked as source folder.
The strange thing is that this only occurs on Mac OSX. On Ubuntu everything works fine (second screenshot). The versions of Android Studio, Kotlin, Plugins etc are the same on both machines. The command line build also works on both machines.
Does anyone here know how to fix this? I would also like to know why some source folders are marked with a blue square and others with three vertical bars. Does this have any deeper meaning?Marc Dietrichstein
02/22/2022, 5:07 PMSkolson5903
02/22/2022, 7:34 PMSkolson5903
02/22/2022, 10:56 PMMarc Dietrichstein
02/23/2022, 7:59 AMbinaries.getFramework
, which since Kotlin 1.5.32 throws an exception if binaries.framework.baseName
is not set in build.gradle
. Since the task is also iOS-specific, the problem only occurs on Mac.
I only noticed this when I opened the project in Intellij Idea, where the error was immediately displayed. Android Studio didn't give me any indication that Gradle sync had failed....
So your answer was definitely relevant to the problem I had, thanks 👍