Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
androidx.navigation.fragment.NavHostFragment 无法从 xml 文件访问
我正在尝试使用带有底部导航视图的 androidx 导航 因此 当我在 xml 文件中放置带有 android name androidx navigation fragment NavHostFragment 的片段时 它会给我一个错误
Android
kotlin
androidx
androidjetpack
androidjetpacknavigation
JaCoCo 显示 0% 覆盖率,即使所有测试均已通过
我在下面写了一些测试用例androidTest目录 我正在使用 androidx testInstrumentationRunner androidx test runner AndroidJUnitRunner 添加的依赖项 androi
Android
androidtesting
Jacoco
androidx
Android WorkManager 未启动工作线程
我想在应用程序启动时从服务器下载某些文件 所以我尝试使用工作管理器 它从我的自定义应用程序类中排队 但是 Worker 类没有被触发 并且状态仅处于 ENQUEUED 状态 不会进入 RUNNING 状态 下面是我的代码 应用类 Overr
Android
androidx
androidworkmanager
workmanagers
如何使用 androidX 不破坏片段
现在 我尝试 androidX 导航和底部导航栏 当我像下面一样使用它时 supportFragmentManager getSupportFragmentManager navHostFragment NavHostFragment su
Android
Navigation
androidx
将 Cordova Android 项目迁移到 AndroidX
我目前正在使用 AdMob 测试广告测试混合 Cordova Android 应用程序 该应用程序使用一个自定义插件 即内部插件 我可以通过该插件访问 Google Play Services AdMob API 的相关位plugin xm
Android
Cordova
googleplayservices
androidx
cordovacli
动作编辑器在 Android studio 4.0.1 中无法工作
I am trying to set up motion layout in android studio 4 0 1 and everything works fine until I edit in motion editor It r
无法将 android.support.v7.widget.Toolbar 与 android.useAndroidX=true 一起使用
在应用程序 build gradle中 implementation com android support appcompat v7 28 0 0 在我的活动中我使用 import android support v7 widget To
ANDROID:膨胀类 android.support.design.widget.AppBarLayout 时出错
我在布局中添加了一个工具栏 现在运行时出现此错误 java lang RuntimeException Unable to start activity ComponentInfo com example myapp mainactivit
Android
androidtoolbar
androidappbarlayout
androidx
错误:类 kotlin.reflect.jvm.internal.FunctionCaller$FieldSetter
我已尝试一切方法来消除此错误 但它不断出现 Class kotlin reflect jvm internal FunctionCaller FieldSetter can not access a member of class com
Java
Android
kotlin
androidx
Google Play 预发布报告崩溃:java.lang.NoSuchMethodError
我的 Google Play 发布前报告中出现了一些非常奇怪的行为 而且这才刚刚开始发生 但我无法将其归因于我所做的任何更改 我自己也无法重现这个问题 在预发布报告中 每个测试设备似乎都失败了 6 6 设备都以同样的方式失败 然而 在真实设
Android
GooglePlay
androidx
ExoPlayer
无法解析“:feature@debugFeature/compileClasspath”的依赖关系:无法解析androidx.annotation:annotation:1.0.0-rc01
将 Android Studio 更新到 3 3 Canary 10 从之前的 Canary 后 我开始遇到 Gradle 同步问题 ERROR Unable to resolve dependency for feature debugF
Android
AndroidStudio
androidx
未找到 ID 为“androidx.navigation.safeargs”的插件
当我尝试将 Safe Args Android Navigation 添加到我的应用程序时 如下所示 使用本指南 https developer android com topic libraries architecture naviga
AndroidStudio
androidx
androidarchitecturenavigation
如何将 Android Room 数据库中的 Not Null 表列迁移为 Null
我是 Android 房间库的新手 我需要将 Not Null 列迁移到 Null 但房间迁移只允许在 ALTER 表查询中添加或重命名 如何执行列迁移查询 Entity tableName vehicle detail data clas
Android
kotlin
androidroom
androidx
迁移到 AndroidX 后 Google 登录无法正常工作
我已将 Google Sign 集成到我的 Android 应用程序中 当我使用 spp Compact v28 库时它工作得很好 但在将我的应用程序迁移到 androidx 后失败 但出现以下异常 java lang Incompatib
Android
googlesignin
androidx
Android FAB 图标始终为黑色,带有 MaterialComponents 主题
我正在创建一个 Android 应用程序 并使用 AndroidX 库和 Material design 主题 我的应用程序主题为styles xml is 我有来自自定义库的以下 F
Android
materialdesign
androidtheme
FloatingActionButton
androidx
尝试将 AndroidX 迁移到 Android AppCompat
从 AndroidX 迁移到 Appcompat 时出现错误 这是日志构建 Manifest merger failed Attribute application appComponentFactory value android sup
Android
AndroidManifest
androidx
Android Test Orchestrator 无法与 Android X 配合使用
我最近将我的项目迁移到使用 AndroidX 并使用以下文档为 gradle 上的 espresso 测试配置了测试编排器 https developer android com training testing junit runner
Android
androidespresso
androidtesting
androidx
androidxtest
迁移到 AndroidX 后,应用程序崩溃并尝试在空引用上调用 androidx.fragment.app.FragmentManagerImpl.isDestroyed()
完整的堆栈仅包括 android 核心代码 java lang NullPointerException Attempt to invoke virtual method boolean androidx fragment app Frag
Java
Android
androidx
有没有办法在旧项目中使用像(Firebase Crashlytics)这样的androidX库而不将项目迁移到androidX?
强调文字我需要在项目中使用 firebase Crashlytics 但不想将项目迁移到 android 我想知道是否可能 如何在未迁移到Androidx的项目中使用Androidx库 https stackoverflow com que
androidsupportlibrary
androidx
firebasecrashreporting
androidjetifier
Android WorkManager Worker 无法使用 Dagger Hilt `@WorkerInject` 注入
我正在尝试遵循以下指南https developer android com training dependency injection hilt jetpack workmanager https developer android co
Android
androidx
daggerhilt
1
2
3
4
5
6
»