https://kotlinlang.org logo
Title
z

zt

01/17/2023, 10:19 PM
I'm trying to use the new source set layout with kotlin 1.8.0 but im getting an error when trying to build my app. I'd like to use the new layout since it is a lot better design than before
A problem was found with the configuration of task ':app:processDebugMainManifest' (type 'ProcessApplicationManifest').
  - In plugin 'com.android.internal.version-check' type 'com.android.build.gradle.tasks.ProcessApplicationManifest' property 'mainManifest' specifies file '/home/nick/Documents/Projects/Hyperion/app/src/main/AndroidManifest.xml' which doesn't exist.
p

Pablichjenkov

01/17/2023, 10:53 PM
By reading the documentation I believe it only applies to multi platform projects. I might be wrong
m

mkrussel

01/17/2023, 10:54 PM
The app project is probably not applying the kotlin multiplatform plugin, so you won't have the new source sets there.
z

zt

01/17/2023, 10:54 PM
I am not using multiplatform, so maybe you're right
m

mkrussel

01/17/2023, 10:54 PM
If you not using multiplatform, then ignore that whole section of the notes, if you are then only apply it to the shared projects.