master
tunm 2 years ago
parent be67783fde
commit ea22ef5e19

@ -246,7 +246,7 @@ If you need to quickly integrate our sdk in your own Android project, then you c
- Step 1. Add the JitPack repository to your build file.Add it in your root build.gradle at the end of repositories: - Step 1. Add the JitPack repository to your build file.Add it in your root build.gradle at the end of repositories:
```java ```Java
allprojects { allprojects {
repositories { repositories {
... ...
@ -256,7 +256,7 @@ allprojects {
``` ```
- Step 2. Add the dependency - Step 2. Add the dependency
``` ```Java
dependencies { dependencies {
implementation 'com.github.HyperInspire:hyperlpr3-android-sdk:1.0.3' implementation 'com.github.HyperInspire:hyperlpr3-android-sdk:1.0.3'
} }
@ -264,7 +264,7 @@ dependencies {
- Step 3. Use hyperlpr in your application - Step 3. Use hyperlpr in your application
``` ```Java
// Initialization, which can be performed only once, is usually performed at program initialization // Initialization, which can be performed only once, is usually performed at program initialization
HyperLPR3.getInstance().init(this, new HyperLPRParameter()); HyperLPR3.getInstance().init(this, new HyperLPRParameter());

@ -248,7 +248,7 @@ sh command/build_release_android_share.sh
- 步骤 1. 将JitPack仓库添加到构建文件中。将其添加到根构建中。在仓库末尾添加Gradle: - 步骤 1. 将JitPack仓库添加到构建文件中。将其添加到根构建中。在仓库末尾添加Gradle:
```java ```Java
allprojects { allprojects {
repositories { repositories {
... ...
@ -258,7 +258,7 @@ allprojects {
``` ```
- 步骤 2. 添加以下依赖 - 步骤 2. 添加以下依赖
``` ```Java
dependencies { dependencies {
implementation 'com.github.HyperInspire:hyperlpr3-android-sdk:1.0.3' implementation 'com.github.HyperInspire:hyperlpr3-android-sdk:1.0.3'
} }
@ -266,7 +266,7 @@ dependencies {
- 步骤 3. 在应用程序中使用hyperlpr - 步骤 3. 在应用程序中使用hyperlpr
```java ```Java
// 初始化通常在程序初始化时执行,只需执行一次 // 初始化通常在程序初始化时执行,只需执行一次
HyperLPR3.getInstance().init(this, new HyperLPRParameter()); HyperLPR3.getInstance().init(this, new HyperLPRParameter());

Loading…
Cancel
Save