Error: exec cmd error: Note: /source/sdk/build/generated/source/kapt/release/io/realm/DefaultRealmModuleMediator.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. The message received from the daemon indicates that the daemon has disappeared. Build request sent: Build{id=4ebe5919-9f45-492f-9739-bc8c1a37421f, currentDir=/source} Attempting to read last messages from the daemon log… Daemon pid: 48 log file: /home/gradle/.gradle/daemon/7.6.4/daemon-48.out.log ----- Last 20 lines from daemon log file - daemon-48.out.log ----- w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/RealmExtention.kt:72:13 The value ‘null’ assigned to ‘var realmCache: RealmResults! defined in io.appmaster.sdk.util.clear.' is never used w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/RealmExtention.kt:78:17 Variable 'result' is never used w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/RealmExtention.kt:80:13 The value 'null' assigned to 'var realmCache: RealmResults! defined in io.appmaster.sdk.util.clear.
’ is never used w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/RealmExtention.kt:96:13 The value ‘null’ assigned to ‘var realmCache: RealmCache? defined in io.appmaster.sdk.util.remove.' is never used w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/RealmExtention.kt:105:13 The value 'null' assigned to 'var realmCache: RealmCache? defined in io.appmaster.sdk.util.remove.
’ is never used w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/RealmExtention.kt:120:17 Variable ‘result’ is never used w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/RealmExtention.kt:123:13 The value ‘null’ assigned to ‘var realmCache: RealmResults! defined in io.appmaster.sdk.util.removeAllExpect.' is never used w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/RealmExtention.kt:130:17 Variable 'result' is never used w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/RealmExtention.kt:132:13 The value 'null' assigned to 'var realmCache: RealmResults! defined in io.appmaster.sdk.util.removeAllExpect.
’ is never used w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/ScreenMerger.kt:32:24 Parameter ‘srd’ is never used w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/Slugify.kt:90:13 Name shadowed: input w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/Slugify.kt:98:13 Name shadowed: input w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/Slugify.kt:108:13 Name shadowed: input w: file:///source/sdk/src/main/java/io/appmaster/sdk/util/serialization/Serializer.kt:35:16 Unchecked cast: String to T w: file:///source/sdk/src/main/java/io/appmaster/sdk/utils/ByteArrayCacheManager.kt:158:25 Variable ‘res’ is never used w: file:///source/sdk/src/main/java/io/appmaster/sdk/utils/ResourceManager.kt:77:47 Parameter ‘context’ is never used, could be renamed to _ w: file:///source/sdk/src/main/java/io/appmaster/sdk/utils/V4ScreenManager.kt:33:19 Parameter ‘key’ is never used Note: /source/sdk/build/generated/source/kapt/release/io/realm/DefaultRealmModuleMediator.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Daemon vm is shutting down… The daemon has exited normally or was terminated in response to a user interrupt. ----- End of the daemon log ----- FAILURE: Build failed with an exception. * What went wrong: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed) * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org
@Haci генерация Android должна проходить на этот момент
У меня была проблема с разрешением на доступ к файлам. Отключил его и прошла генерация.