Я обновил свою Android Studio до "Android Studio Dolphin | 2021.3.1" < /strong> Теперь у меня есть проблемы в некоторых проектах: < /p>
Отсутствуют классы, обнаруженные во время работы R8. Пожалуйста, добавьте пропущенные классы или примените дополнительные правила сохранения, которые генерируются в «Адрес местоположения»
и отсутствующие классы: hase: br/p>
и hask -br/png "/>
и hask -brou0g.png"/> AGPBI: {"kind":"warning","text":"Missing class com.facebook.infer.annotation.Nullsafe$Mode (referenced from: com.facebook.ads.NativeAdBase)\r\nMissing class comMissing class com.facebook.infer.annotation.Nullsafe$Mode (referenced from: com.facebook.ads.NativeAdBase)
Missing class com.facebook.infer.annotation.Nullsafe$Mode (referenced from: com.facebook.ads.NativeAdBase)
Missing class com.facebook.infer.annotation.Nullsafe (referenced from: com.facebook.ads.NativeAdBase)
< /code>
my gradle.build file: < /p>
plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
}
android {
compileSdk 32
defaultConfig {
applicationId "app_id"
minSdk 20
targetSdk 32
versionCode 4
versionName "2.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules-debug.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
namespace 'app_id'
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
//admob
implementation 'com.google.android.gms:play-services-ads:21.2.0'
implementation 'com.google.ads.mediation:facebook:6.11.0.1'
//firebase
// Import the BoM for the Firebase platform
implementation platform('com.google.firebase:firebase-bom:30.4.1')
// Add the dependency for the Analytics library
// When using the BoM, you don't specify versions in Firebase library dependencies
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-inappmessaging-display'
}
Подробнее здесь: https://stackoverflow.com/questions/738 ... d-from-com
Отсутствие класса com.facebook.infer.annotation.nullsafe $ mode (ссылка на: com.facebook.ads.nativeadbase ⇐ Android
Форум для тех, кто программирует под Android
1742122168
Anonymous
Я обновил свою Android Studio до [b] "Android Studio Dolphin | 2021.3.1" < /strong> Теперь у меня есть проблемы в некоторых проектах: < /p>
Отсутствуют классы, обнаруженные во время работы R8. Пожалуйста, добавьте пропущенные классы или примените дополнительные правила сохранения, которые генерируются в «Адрес местоположения» [/b]
и отсутствующие классы: hase: br/p>
и hask -br/png "/>
и hask -brou0g.png"/> AGPBI: {"kind":"warning","text":"Missing class com.facebook.infer.annotation.Nullsafe$Mode (referenced from: com.facebook.ads.NativeAdBase)\r\nMissing class comMissing class com.facebook.infer.annotation.Nullsafe$Mode (referenced from: com.facebook.ads.NativeAdBase)
Missing class com.facebook.infer.annotation.Nullsafe$Mode (referenced from: com.facebook.ads.NativeAdBase)
Missing class com.facebook.infer.annotation.Nullsafe (referenced from: com.facebook.ads.NativeAdBase)
< /code>
my gradle.build file: < /p>
plugins {
id 'com.android.application'
id 'com.google.gms.google-services'
}
android {
compileSdk 32
defaultConfig {
applicationId "app_id"
minSdk 20
targetSdk 32
versionCode 4
versionName "2.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules-debug.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
namespace 'app_id'
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
//admob
implementation 'com.google.android.gms:play-services-ads:21.2.0'
implementation 'com.google.ads.mediation:facebook:6.11.0.1'
//firebase
// Import the BoM for the Firebase platform
implementation platform('com.google.firebase:firebase-bom:30.4.1')
// Add the dependency for the Analytics library
// When using the BoM, you don't specify versions in Firebase library dependencies
implementation 'com.google.firebase:firebase-analytics'
implementation 'com.google.firebase:firebase-inappmessaging-display'
}
Подробнее здесь: [url]https://stackoverflow.com/questions/73854116/missing-class-com-facebook-infer-annotation-nullsafemode-referenced-from-com[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия