Skip to main content

Initialization Issues

Error: Stringboot SDK is not initializedSolution: Ensure you have configured the AndroidManifest.xml correctly or called StringProvider.initialize() in your Application.onCreate().
Error: 401 UnauthorizedSolution: Double-check your API token in the dashboard. Ensure you are using the correct token for the environment (Dev vs Prod).

String Issues

Cause: The string key was not found in the local cache.Solutions:
  1. Ensure the key exists in the dashboard.
  2. Ensure you have run StringProvider.refreshFromNetwork() at least once.
  3. Check if the device is offline and the cache is empty.
Cause: XML views do not automatically update when the locale changes.Solution: Call binding.root.applyStringbootTags() after changing the locale or receiving a sync update.

Build Issues

Cause: Conflict with another library using similar dependencies (e.g., Room, Retrofit).Solution: Check your dependency tree and exclude conflicting transitive dependencies if necessary.
implementation("com.stringboot:stringboot-android-sdk:1.1.0") {
    exclude(group = "com.squareup.retrofit2", module = "retrofit")
}