Android Auth0 sample app won't run

I am trying to run 00-login sample app available on your website using Android Studio. Got it to build successfully. However, when I try to run it against an emulator, I get following error:

AGPBI: {“kind”:“error”,“text”:“No resource found that matches the given name: attr \u0027android:keyboardNavigationCluster\u0027.”,“sources”:[{“file”:"/Users/rmahajan/AndroidStudioProjects/InstantApps-HelloWorld1/app/build/intermediates/res/merged/debug/values-v26/values-v26.xml",“position”:{“startLine”:14,“startColumn”:20,“startOffset”:832,“endColumn”:53,“endOffset”:865}}],“original”:"",“tool”:“AAPT”}
/Users/rmahajan/AndroidStudioProjects/InstantApps-HelloWorld1/app/build/intermediates/res/merged/debug/values-v26/values-v26.xml:15: error: Error: No resource found that matches the given name: attr ‘android:keyboardNavigationCluster’.
:app:processDebugResources FAILED
:app:buildInfoGeneratorDebug
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processDebugResources’.

com.android.ide.common.process.ProcessException: Failed to execute aapt

My build.gradle is:
apply plugin: ‘com.android.application’

android {
compileSdkVersion 25
buildToolsVersion “25.0.3”
defaultConfig {
applicationId “com.auth0.samples”
minSdkVersion 21
targetSdkVersion 25
versionCode 1
versionName “1.0”
manifestPlaceholders = [auth0Domain: “@string/com_auth0_domain”, auth0Scheme: “demo”]
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’
}
}
}

dependencies {
compile ‘com.auth0.android:auth0:1.+’
compile ‘com.android.support:appcompat-v7:25.3.1’
testCompile ‘junit:junit:4.12’
}

and I ran it against following emulators… but get the same error:

Google Android SDK Built for X86 (Android 29, API 28)
Nexus 5X API 23 (Android 6.0, API 23)

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?