AnsweredAssumed Answered

migrate to android gradle plugin 4

Question asked by dohegol dohegol on Aug 10, 2020
Latest reply on Aug 10, 2020 by Nico Becke

Hello

I'm migrating SampleFacade project to android gradle plugin version 4. I only change gradle plugin to 4.0.1:

dependencies {
    classpath 'com.android.tools.build:gradle:4.0.1'
}

When i run the app. I am getting the exception

Execution failed for task ':CatalystFacade:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':CatalystFacade:debugCompileClasspath'.
    > Failed to transform trimble.jssi.core-release.aar to match attributes {artifactType=android-classes-jar, org.gradle.usage=java-api}.
        > Execution failed for AarToClassTransform: C:\Users\RDP\Desktop\SampleFacade\CatalystFacade\libs\trimble.jssi.core-release.aar.
            > entry

Is it possible to fix this or I have to wait for newer TPSDK version? 

Outcomes