Description of the issue
Platform: Android TV
The issue is that an exception is raised when building an Android TV app. I have tried adding lines to gradle.properties and changing various things in build.gradle. I am not sure where to move from here. The APK is generated just fine when building locally without bitrise. I tried increasing the heap size, etcâŚ
Environment:
Android TV
Gradle Runner Step
Reproducibility
Build URL: https://app.bitrise.io/build/718ad6cbb6c2547e#?tab=log
Build.gradle
buildscript {
apply from: 'dependencies.gradle'
repositories {
jcenter()
google()
maven { url 'https://zendesk.jfrog.io/zendesk/repo' }
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0' // THIS CANNOT GO PAST 3.5 DUE TO THE AMAZON EXOPLAYER LIBRARY FOR FIRE TV
classpath 'com.google.gms:google-services:4.3.4'
// Add the Firebase Crashlytics Gradle plugin.
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
google()
jcenter()
maven { url âhttps://zendesk.jfrog.io/zendesk/repoâ }
mavenLocal()
repositories {
maven {
name = âGitHubPackagesâ
url = uri(âhttps://maven.pkg.github.com/intelivideo/iv-android-sdkâ)
credentials {
username = âiv-sdk-userâ
password = â5ae73d5a1aacdba0a81746429dc5fbbeaab2b81câ
}
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Gradle.properties
org.gradle.parallel=true
kotlin.code.style=official
android.enableJetifier=true
org.gradle.jvmargs=-Xmx4608M -Dkotlin.daemon.jvm.options="-Xmx4608M"
android.useAndroidX=true
android.enableAapt2=true