-
Notifications
You must be signed in to change notification settings - Fork 11
Crash on released apk #8
Comments
Since 856d4c3. |
Caused by updating |
Have not been fixed in AGP |
Decompile @Route(path = "/main/")
public final class MainActivity extends a {
...
} Decompile @Route(path = "/main/")
public final class MainActivity extends a<MainActivityBinding> {
...
} So r8 fullMode erase the generic type on |
Here is the public final class MainActivity extends a {
...
} No generic type on |
Still showing after AGP 7.1, to solve this problem absolutely, should wait Hilt to release a new version that supports new R8 rules. |
MainActivity
extendsBaseBindingActivity
with generic argumentMainActivityBinding
:DemoApp/main/src/main/kotlin/io/goooler/demoapp/main/ui/MainActivity.kt
Lines 18 to 21 in cc12a2f
binding
instantiated byinflateBinding
extension inBaseBindingActivity
:DemoApp/common/src/main/kotlin/io/goooler/demoapp/common/base/binding/BaseBindingActivity.kt
Lines 8 to 19 in cc12a2f
inflateBinding
generate binding by reflection:DemoApp/common/src/main/kotlin/io/goooler/demoapp/common/util/CommonExtensions.kt
Lines 297 to 303 in cc12a2f
The text was updated successfully, but these errors were encountered: