Mobbeel for developers

Mobbeel for developers

  • MobbScan
  • MobbID
  • MobbSign
  • Clients
  • FAQ

›How to use

MobbScan React Native SDK

  • Getting started

How to use

  • Examples
  • API Reference
  • Error Handling
  • Troubleshooting

Migration Guides

  • Migration to 1.0.8
  • Migration to 2.16.0
  • Migration to 2.19.0
  • Migration to 2.20.0

Reference

  • Changelog

MobbScan React Native SDK: Troubleshooting

Solve ANDROID_SDK_HOME not found error

If a problem appears telling that ANDROID_SDK_HOME is not found, create a android/local.properties file and add the following line:

sdk.dir=path/to/your/android/sdk

Reinstalling MobbScan SDK after an installation failure

If there is a problem during the MobbScan SDK installation, just remove its folder (node_modules/@mobbeel/react-native-mobbscan) and run again npm install.

Solve androidx.* does not exist error

If an error of this type occurs during the building referring to one of MobbScan SDK files, ensure that your JDK version is the proper one for your project and reinstall MobbScan SDK as described in the section Reinstalling MobbScan SDK after a failure.

AndroidX compatibility issues

If your Android project uses AndroidX, errors similar to the following could appear in the assembleRelease step:

package android.support.annotation does not exist
import android.support.annotation.Nullable;

To fix them you should add Jetifier for React Native in your project:

$ npm install --save-dev jetifier
$ npx jetify

After that, the errors should be gone. It is highly recommended to add the jetify call in your NPM postInstall to avoid its manual execution.

← Error HandlingMigration to 1.0.8 →
  • Solve ANDROID_SDK_HOME not found error
  • Reinstalling MobbScan SDK after an installation failure
  • Solve androidx.* does not exist error
  • AndroidX compatibility issues
Mobbeel for developers
Product Documentation
MobbIDMobbScanMobbSign
Connect
LinkedInFacebookX
More
FAQContact Us
Mobbeel Solutions SL
Copyright © 2025 Mobbeel Solutions SL