Skip CLEAN - how to clean all the Android generated files and start fresh #228
-
I'm getting some Xcode Errors like: Execution failed for task 'app.compileDebugKotlin'. Configuring project ':SkipModel' without an existing directory is deprecated. I'm searching for a way to CLEAN the generated / derived files in the Android side of the dual platform. I see notes on cleaning the Xcode (iOS) side of things... but that does NOT clean the Android side. Seems like a Gradle CLEAN command or a Fastlane CLEAN command would be nice right about HERE. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
For Example - what happens if I just DELETE the .build (hidden folder)? |
Beta Was this translation helpful? Give feedback.
-
Here is Xcode complaining about Main.kt UIApplication.launch(this) I'm looking thru the skip-grade.log.txt - but nothing seems to indicate what I should do about the issues in the log. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
OK - for FUTURE ME... Xcode uses the DerivedData folder - to clean it use Xcode > Product > Clean Build Folder ; AND/OR delete DerivedData. |
Beta Was this translation helpful? Give feedback.
If you're building from Xcode, then the .build folder shouldn't come into play, but you can delete it if you like. It can't hurt.
To get a truly clean build you can do the same thing you do for iOS: tell Xcode to Clean and also delete DerivedData.
When I see the error pictured above, my first question is whether you have an old version of skip-ui where UIApplication.launch does not exist. Make sure to run File->Packages->Update to Latest Versions to ensure you have the latest libraries.