Kamal
12/25/2020, 4:37 PMKrotick
12/26/2020, 6:00 AMCh8n
12/27/2020, 8:10 PMMattia Tommasone
12/28/2020, 9:51 PMteddy
12/29/2020, 10:35 AMAness Iqbal
12/29/2020, 4:09 PMApp.context.getString(R.string.rupees, min.toString())
But with application context static reference like that I am not able to change the strings based upon locale. How should update the app context or restart the whole app? Can anyone help?tony
12/29/2020, 7:36 PM* What went wrong:
An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.android', version: '1.4.21']
> Failed to apply plugin 'org.jetbrains.kotlin.android'.
> Extension with name 'android' does not exist. Currently registered extension names: [ext, kotlin, kotlinTestRegistry]
which is a result of the following setup:
// root build.gradle
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.0-alpha15"
}
}
// app/build.gradle
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android' version '1.4.21'
}
and then executing ./gradlew help
. Build scan: https://scans.gradle.com/s/t7w3bwv3pingm/build-dependencies?toggled=W1swXSxbMV0sWzEsMF0sWzAsMF0sWzAsMV1d
I recognize, btw, that this is a non-standard setup. To reiterate, my goal is to understand what that error means and why it happens.rkeazor
12/30/2020, 1:02 AMYaroslav Nesterov
12/30/2020, 12:47 PMimplementation("org.kodein.db:kodein-db-jvm:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kotlinx:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kryo-jvm:$kodein_db")
led to java.lang.NoClassDefFoundError: Failed resolution of: Lorg/kodein/db/leveldb/jvm/LevelDBJvm
implementation("org.kodein.db:kodein-db:$kodein_db")
implementation("org.kodein.db:kodein-db-jvm:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kotlinx:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kryo-jvm:$kodein_db")
led to Duplicate class org.kodein.db.impl.AbstractDBFactory found in modules jetified-kodein-db-debug-runtime (org.kodein.db:kodein-db-android-debug:0.4.0-beta) and jetified-kodein-db-jvm-0.4.0-beta (org.kodein.db:kodein-db-jvm:0.4.0-beta)
for 99 classes
implementation("org.kodein.db:kodein-db:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kotlinx:$kodein_db")
implementation("org.kodein.db:kodein-db-serializer-kryo-jvm:$kodein_db")
led to java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/my.app.debug-PdUtRd44w96MN7OUXipZlg==/base.apk"],nativeLibraryDirectories=[/data/app/my.app.debug-PdUtRd44w96MN7OUXipZlg==/lib/arm64, /system/lib64, /system/vendor/lib64]]] couldn't find "libkodein-leveldb-jni.so"
what am I doing wrong? is the use of kts
mandatory? I still have the build.gradle
doc: https://docs.kodein.org/kodein-db/0.4/core/install.htmlAyomide
12/30/2020, 4:08 PMChristian Dräger
12/31/2020, 9:40 PMFlorian
01/02/2021, 7:04 AMprivate val activeChatsFlow = sessionManager.chatUserFlow.flatMapLatest { user ->
repository.getActiveChatsForUser(user.uid!!)
}
Are onStart
and onCompletion
the right combination?Mehdi Haghgoo
01/02/2021, 4:52 PMbirdsofparadise
01/02/2021, 9:45 PMKotlin: 1.4.21
Android Studio: Arctic Fox (canary)
Android Gradle Build Tools: 7.0.0-alpha03
Gradle: 6.8-rc-4
It appears the packagingOptions
's merge
API has been removed. Is packagingOptions.resources.merges
the replacement for merge in META-INF
R8 data?
Ex:
From:
packagingOptions {
merge("META-INF/popkorn.provider.mappings")
merge("META-INF/popkorn.resolver.mappings")
}
To:
packagingOptions {
resources {
merges += "META-INF/popkorn.provider.mappings"
merges += "META-INF/popkorn.resolver.mappings"
}
}
Glenn Martin
01/03/2021, 2:59 AMAndré Thiele
01/03/2021, 12:59 PMtrinadhchinna7
01/04/2021, 6:11 AMheisenberg
01/04/2021, 8:45 AMsan
01/04/2021, 10:11 AMziv kesten
01/04/2021, 1:24 PMsan
01/05/2021, 5:27 AMRagupathy Mani
01/05/2021, 5:49 AMeygraber
01/05/2021, 8:59 AM<http://java.io|java.io>.InvalidClassException: cannot bind enum descriptor to a non-enum class
Has anyone else been seeing anything like this, or know if this is related to Parcelize?
Someone recently filed a similar issue on the AOSP tracker - https://issuetracker.google.com/issues/173343983dan.the.man
01/05/2021, 5:13 PMfun getString(@StringRes resId: Int, vararg formatArg:Any) = activity()?.getString(resId, formatArg)
So I can call this instead of needing the context in every screen. But it doesn't correctly format, and it just displays lang.Object@zlkjdf
If I change the method to Java, it works though. Is some conversion going wrong from Kotlin to Java?buszi0809
01/05/2021, 5:37 PMKshitij Patil
01/06/2021, 7:51 PMqasim majeed
01/07/2021, 9:15 AMA failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution> java.lang.reflect.InvocationTargetException (no error message) HI All getting this error while integrating Room if i emptied the DAO Eeverthing is working fine
teddy
01/07/2021, 12:34 PMLilly
01/07/2021, 4:35 PMMiguel Quinta
01/07/2021, 5:30 PM"Use SwitchCompat from AppCompat or SwitchMaterial from Material library"
Not sure what are the methods, code, to correct this.
Someone been trough this recently? To point me in the right directionMiguel Quinta
01/07/2021, 5:30 PM"Use SwitchCompat from AppCompat or SwitchMaterial from Material library"
Not sure what are the methods, code, to correct this.
Someone been trough this recently? To point me in the right directionJavier
01/07/2021, 5:42 PMMiguel Quinta
01/07/2021, 6:09 PM