How to install the library - TypingDNA/TypingDNARecorder-Android GitHub Wiki
How to install the library
To install the TypingDNARecorderMobile for Android, follow these few steps:
-
Using
Android Studio- Download the
aarlibrary from our GitHub repository - In
Android Studio, right-click on your project and selectOpen Module Settings - Go to
Dependenciesand in theModulescolumn click on the+sign - Select
Import .JAR/.AAR Packageand then selecttypingdnarecordermobile.aarin the folder you downloaded it, and clickFinish - Go to the
Declared Dependenciescolumn for your project and click on the+sign, thenModule dependencyand clickApply
- Download the
-
Manually:
- Create a new folder in your application in the same location as the application’s
build.gradlefile calledaarlib(for example). - Copy the
typingdnarecordermobile.aarfile into this new folder. - In the
build.gradlefile of the app add the following lines in theandroidsection:
repositories { flatDir { dirs 'aarlib' } }- Also in
build.gradleadd in thedependenciessection: implementation(name: 'typingdnarecordermobile', ext: 'aar') - Rebuild your application.
- Create a new folder in your application in the same location as the application’s