Closed tellypresence closed 6 years ago
Imports have no effect on the bytecode, they're only a construct of source code. Are you just seeing log messages or experiencing an actual crash?
After some refactoring and improvements in app code, would say those logs are safe to ignore; don't think they're causing any actual problems.
Suspect that import statements for Size/SizeF (added in API 21) in https://github.com/android/android-ktx/blob/master/src/main/java/androidx/core/os/Bundle.kt are causing problems for older devices; get errors on e.g. Samsung Galaxy 4 (API 19/kitkat 4.4.2):
Maybe replace the imports with fully qualified paths e.g. Before
After