How to Upgrade
Update the Libraries
-
Open the file
[App Project Root Path]\settings.gradleand add the Maven repository:- groovy
- kts
-
dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven { url "https://download2.dynamsoft.com/maven/aar" } } } -
dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven { url = uri("https://download2.dynamsoft.com/maven/aar") } } }
If you are using gradle 6.x or older version, the maven dependencies should be configured in
[App Project Root Path]\app\build.gradle -
Open the file
[App Project Root Path]\app\build.gradleand add the dependencies:- groovy
- kts
-
dependencies { implementation 'com.dynamsoft:mrzscannerbundle:{version-number}' } -
dependencies { implementation("com.dynamsoft:mrzscannerbundle:{version-number}") }
Please view user guide for the correct version number.
-
Click Sync Now. After the synchronization is complete, the SDK is added to the project.