amplitude / amplitude/AmplitudeSessionReplay-Android

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

オープン
#11 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
2
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

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 {
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。