Huvle SDK Integration Error1. Library Path Error2. Eclipse dx.jar Error3. JNI Error3-1. JNI DETECTED ERROR3-1-1. Proguard Setup3-2. FATAL EXCEPTION3-3. Other Errors4. MultiDex Error5. Lint option Error6. Huvle Approval Window Error7. Other Errors

Huvle SDK Integration Error

1. Library Path Error


If you import Huvle SDK Library correctly as Module Import but AndroidManifest.xml or MainActivitycan't refer Huvle SDK, you must set the path of jar file which is used inside Huvle SDK

 

 

1-1. Huvle SDK Library Path Setup


Set the path of jar file which is used inside Huvle SDK from dependencies area ofbuild.gradle(Module:app) file

 

Example Library Path Setup[build.gradle(Module:app)/dependencies]


 

You must set the Library Path as suitable for your app's folder structure and Library version

 

 

2. Eclipse dx.jar Error


When you integrate with Huvle SDK Library by usingEclipse IDE and build the app but below error message occurs, you must modify build-tools version info

 

Error Message


 

To solve it, please set build-tools version info of project.properties file as 25.0.3

 

project.properties file path


 

Example Code[project.properties]


 

 

3. JNI Error


3-1. JNI DETECTED ERROR


If your app project uses proguard but don't make Huvle Library be the exception, there might be JNI DETECTED ERROR as below

 

Error Message


 

3-1-1. Proguard Setup

If you use proguard in your app project, please make Huvle SDK in the proguard-rules.pro file be the exception as below

 

Example Code[proguard-rules.pro]


 

 

3-2. FATAL EXCEPTION


If the FATAL EXCEPTION occurs and Native fucntion used inside Huvle Library can't be found, there might be the error message as below

When Huvle Library project's .so file name and your app project's .so file name are same, there might be FATAL EXCEPTION

 

Error Message


 

Please check whether your app project's .so file name and .so file name used inside Huvle SDK(libnative-huvle-lib.so) are same or not

If they are same, .so file name used inside Huvle SDK can't be built normally so that there might be the error

 

Because Overwrite Error occurred below 3.0.17 version, We modified .so file name as huvle included

Old File Name : libnative-lib.so

New File Name : libnative-huvle-lib.so

 

3-3. Other Errors


When the .so file of JniLibs folder in Huvle Library Project isn't loaded correctly, various errors might occurs

If the error related JNI occurs, you should check whether .so files of jniLibs folder is loaded correctly or not

 

When you face the error regarding NDK so that can't solve it, Please contact the person in charge

 

 

4. MultiDex Error


If your app project integrate with multiple libraries, because the app’s size has been larger, the Build Error might occur

 

Error Message


 

This build error can occur when one app uses many Methods that are more than 66536(64K). You can solve the error by setting the Multidex as below

 

Multidex Setup


  1. Set multiDexEnabled property of defulatConfig property in build.gradle(Module:app) file as true

 

Example Code [build.gradle(Module:app]


 

  1. Add multidex library in dependencies of build.gradle(Module:app) file

 

Example Code [build.gradle(Module:app]


 

  1. Create the Class inherited MultiDexApplication. After creating the class, Override the attachBaseContext( )method to call MultiDex.install( ) method

 

If you already have class inherited Application, just change extends info of the class into MultiDexApplication

 

Example Code


 

  1. Add the info ofClass inherited MultiDexApplication in <application> property of AndroidManifest.xml file

 

Example Code [AndroidManifest.xml]


 

5. Lint option Error


If the Lint Optin Error occurs after integrated with Huvle library and then built APK as release version, please add lintOptions construct into build.gradle(Module:app) file and then set abortOnError property as false

 

Example [build.gradle(Module:app]


 

When the language used inside Huvle Library and your app's language are different, Lint Option Error might occur

Huvle Library supports English(Defualt), Korean, Chinese, Vietnamese, Japenese

 

6. Huvle Approval Window Error


Because Sap_act_main_launcher.class is provided asjava file format, App owner can modify the source and check the Log history. If Huvle Approval Window isn't outputted correctly, please check whether the initsapStart( ) method is called correctly as below

 

Example Code


 

If the initsapStart( ) method isn't called correctly


 

 

7. Other Errors


When you have difficulties to integrate with Huvle Library, You must check if there is omitted info of your app project after downloaded sample app and checked sample app's setup info

Most of integration errors is related gradle setup info. Please check whether the gradle setup info is correct or not

 

If you can't solve the error even refer the Solve the Error page, Please contact person in charge