This sample app lets you quickly test the integration of Authcube's Android SDK.
This software is proprietary and protected under IT4YOU CONSULTORIA EM INFORMATICA LTDA's license. All rights reserved since 2009.
Please refer to the LICENSE file in the repository for complete terms.
Make sure you have installed:
- Git
- Android Studio
Run the following command in your terminal:
git clone https://github.com/authcube/sample-app-android.git
- Open Android Studio
- Click "Open" on the welcome screen (or go to File > Open... in the top menu)
- Navigate to the directory where you cloned the project
- Wait for the project to load (you'll see a progress bar at the bottom saying "Gradle Build Running")
- Click on "Tools" in the top menu
- Click "Device Manager"
- Click the "Add a new device" button and "Create a new device"
- In the "Phone" category, select Pixel 6 (or the any other phone)
- Click "Next"
- Select "API 34" (Android 14.0)
- Finish the virtual device setup
Before logging in, you MUST configure the app with identity provider details:
- Click Settings
- Fill in the fields with your information
- Go back and log in. You'll be redirected to the home screen
Try these fixes in order:
- Click File > Sync Project with Gradle Files
- Click Build > Clean Project then Build > Rebuild Project
- Close Android Studio and reopen it
-
Make sure Android Studio is fully updated:
- Click "Help" in the top menu
- Click "Check for updates"
- Install any available updates
-
If nothing else works, try:
- Close Android Studio
- Delete the .gradle/ directory from your project
- Reopen Android Studio and click the
Run 'app'
button - Let it rebuild the app
Link to SDK Documentation.
The Android Emulator is not aware of your local HOSTS configuration, so it is advised to use an external server to develop and test your app