We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96dfd0a commit 92d3924Copy full SHA for 92d3924
1 file changed
core/common/src/main/java/com/itsaky/androidide/utils/ApkInstaller.kt
@@ -111,14 +111,14 @@ object ApkInstaller {
111
}
112
} catch (io: IOException) {
113
session?.abandon()
114
- log.error("Package installation failed. {}", io)
+ log.error("Package installation failed", io)
115
} catch (runtime: RuntimeException) {
116
117
- log.error("Package installation failed. {}", runtime)
+ log.error("Package installation failed", runtime)
118
119
120
121
- private fun addToSession(session: Session, apk: File) {
+ private suspend fun addToSession(session: Session, apk: File) {
122
val length = apk.length()
123
if (length == 0L) {
124
throw RuntimeException("File is empty (has length 0)")
0 commit comments