Hello again!
Thank you for the hard work.
Using the recent release (0.7), on some packages I am getting some weird issues when reading their metadata.
I assume the errors are due to old metadata but is there a way to support reading those metadata?
for example, using this package:
I am getting the following exceptions on some files:
io/fotoapparat/hardware/CameraDevice$setFocalPoint$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
io/fotoapparat/hardware/Device$getCameraParameters$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
io/fotoapparat/hardware/CameraDevice$updateParameters$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
io/fotoapparat/hardware/CameraDevice$updateFocusingAreas$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
io/fotoapparat/routine/camera/UpdateConfigurationRoutineKt$updateCameraConfiguration$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
io/fotoapparat/routine/capability/GetCapabilitiesRoutineKt$getCapabilities$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
io/fotoapparat/routine/focus/FocusRoutineKt$focus$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
io/fotoapparat/routine/focus/FocusOnPointRoutineKt$focusOnPoint$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
io/fotoapparat/routine/zoom/UpdateZoomLevelRoutineKt$updateZoomLevel$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
io/fotoapparat/routine/parameter/GetParametersRoutineKt$getCurrentParameters$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
io/fotoapparat/routine/photo/TakePhotoRoutineKt$takePhoto$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
io/fotoapparat/coroutines/AwaitBroadcastChannel$getValue$1.smali , error is kotlinx.metadata.InconsistentKotlinMetadataException: No VersionRequirement with the given id in the table
Example Metadata from these files:
from io/fotoapparat/hardware/CameraDevice$setFocalPoint$1.:
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0016\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\u0010\u0000\u001a\u0004\u0018\u00010\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u00020\u00060\u0005H\u0096@\u00f8\u0001\u0000"
}
d2 = {
"setFocalPoint",
"",
"focalRequest",
"Lio/fotoapparat/hardware/metering/FocalRequest;",
"continuation",
"Lkotlin/coroutines/Continuation;",
""
}
k = 0x3
mv = {
0x1,
0x1,
0xd
}
.end annotation
from io/fotoapparat/hardware/Device$getCameraParameters$1:
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000\u0016\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\u0010\u0000\u001a\u0004\u0018\u00010\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u000c\u0010\u0004\u001a\u0008\u0012\u0004\u0012\u00020\u00060\u0005H\u0096@\u00f8\u0001\u0000"
}
d2 = {
"getCameraParameters",
"",
"cameraDevice",
"Lio/fotoapparat/hardware/CameraDevice;",
"continuation",
"Lkotlin/coroutines/Continuation;",
"Lio/fotoapparat/parameter/camera/CameraParameters;"
}
k = 0x3
mv = {
0x1,
0x1,
0xd
}
.end annotation
What are these exceptions? how can we read & use those metadatas?
Thank you!