diff --git a/README.md b/README.md index 3b22f85..0cb21dc 100644 --- a/README.md +++ b/README.md @@ -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: -```java +```Java allprojects { repositories { ... @@ -256,7 +256,7 @@ allprojects { ``` - Step 2. Add the dependency -``` +```Java dependencies { implementation 'com.github.HyperInspire:hyperlpr3-android-sdk:1.0.3' } @@ -264,7 +264,7 @@ dependencies { - Step 3. Use hyperlpr in your application -``` +```Java // Initialization, which can be performed only once, is usually performed at program initialization HyperLPR3.getInstance().init(this, new HyperLPRParameter()); diff --git a/README_CH.md b/README_CH.md index 734d3eb..2295ece 100644 --- a/README_CH.md +++ b/README_CH.md @@ -248,7 +248,7 @@ sh command/build_release_android_share.sh - 步骤 1. 将JitPack仓库添加到构建文件中。将其添加到根构建中。在仓库末尾添加Gradle: -```java +```Java allprojects { repositories { ... @@ -258,7 +258,7 @@ allprojects { ``` - 步骤 2. 添加以下依赖 -``` +```Java dependencies { implementation 'com.github.HyperInspire:hyperlpr3-android-sdk:1.0.3' } @@ -266,7 +266,7 @@ dependencies { - 步骤 3. 在应用程序中使用hyperlpr -```java +```Java // 初始化通常在程序初始化时执行,只需执行一次 HyperLPR3.getInstance().init(this, new HyperLPRParameter());