docs/TROUBLESHOOTING.md
Problem: Cannot resolve Bitwarden SDK from GitHub Packages
Solution:
GITHUB_TOKEN is set in user.properties or environmentread:packages scopemaven.pkg.github.comProblem: Tests hang or fail with "Module with Main dispatcher had failed to initialize"
Solution:
BaseViewModelTest for ViewModel tests@RegisterExtension val mainDispatcherExtension = MainDispatcherExtension()runTest { } wraps test bodyProblem: @Preview functions show "Rendering problem"
Solution:
BitwardenTheme { YourComposable() }Problem: Release build crashes with missing class errors
Solution:
proguard-rules.proconsumer-rules.pro in library modulesProblem: ./gradlew app:testDebugUnitTest fails or runs no tests
Solution: The app module uses build flavors. Use testStandardDebugUnitTest:
./gradlew app:testStandardDebugUnitTest
BaseSdkSource for wrapped exceptions