amplitude / amplitude/AmplitudeSessionReplay-Android

Cannot access 'Application$ActivityLifecycleCallbacks' which is a supertype of 'a'.

Đang mở
#11 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

While implementing the standalone SDK **v0.20.15** I noticed that there are some warnings/errors about this.

Image

```
Cannot access 'Application$ActivityLifecycleCallbacks' which is a supertype of 'a'. Check your module classpath for missing or conflicting dependencies.
Cannot access 'Application$ActivityLifecycleCallbacks' which is a supertype of 'SessionReplay'. This may be forbidden soon. Check the module classpath for missing or conflicting dependencies.
Cannot access 'Application$ActivityLifecycleCallbacks' which is a supertype of 'a'. This may be forbidden soon. Check the module classpath for missing or conflicting dependencies.
Use of getter method instead of property access syntax
```

but downgrading to **v0.20.14** the warnings/errors disappear and looking at the compiled code I notice this small difference.

✅ **v0.20.14**

```kotlin
public open class SessionReplay public constructor(...) : android.app.Application.ActivityLifecycleCallbacks, android.content.ComponentCallbacks2, kotlinx.coroutines.CoroutineScope {
```

⚠️ **v0.20.15**

```kotlin
public open class SessionReplay public constructor(...) : com.amplitude.android.sessionreplay.a {
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.