...
Follow these steps to run the U2F App API demo code.
1.
2. Clone the code from GitHub.
Code Block |
---|
$ git clone https://github.com/SurePassID/U2FApp |
23. Open the project using Android Studio.
File > Open...
34. When the project loads you will see the following two errors.
/U2FApp/U2FApp/build.gradle
Error:(34, 13) Failed to resolve: com.surepassid.ui:ui-lib:1.0-SNAPSHOT
Error:(33, 13) Failed to resolve: com.surepassid.fido:u2f-client-api:1.0-SNAPSHOT
45. To correct these error edit the file /U2FApp/build.gradle and add the maven repository information that was provided to you. After saving the changes select the following from the Android Studio menu.
Tools > Android > Sync Project with Gradle Files
6. You can now run the app on your Android device.
Run > Run 'U2FApp-U2FApp'