question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Builds issue after updating to Android Studio 4.2 Canary 14

See original GitHub issue

After updating PeopleInSpace repo to Android Studio 4.2 Canary 14 and associated gradle update I started getting following build error:

Execution failed for task ':common:packageDebugResources'.
> org/apache/batik/w3c/dom/ElementTraversal

Pushed update to following branch https://github.com/joreilly/PeopleInSpace/tree/as_canary14

(btw had been using SQLDelight v1.4.2 but updated to 1.4.4 and made no difference)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:11

github_iconTop GitHub Comments

15reactions
minyushovcommented, Oct 22, 2020

You could also try adding xml-apis:xml-apis:1.4.01 to the top of buildscript dependencies like this:

buildscript {
  dependencies {
    classpath "xml-apis:xml-apis:1.4.01"

    classpath "com.android.tools.build:gradle:4.2.0-alpha14"
    classpath "com.squareup.sqldelight:gradle-plugin:1.4.4"
    // ...
  }
}
2reactions
charleston10commented, Nov 25, 2020

You could also try adding xml-apis:xml-apis:1.4.01 to the top of buildscript dependencies like this:

buildscript {
  dependencies {
    classpath "xml-apis:xml-apis:1.4.01"

    classpath "com.android.tools.build:gradle:4.2.0-alpha14"
    classpath "com.squareup.sqldelight:gradle-plugin:1.4.4"
    // ...
  }
}

It worked!!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Known issues with Android Studio and Android Gradle Plugin
If Studio doesn't start after an upgrade, the problem may be due to an invalid Android Studio configuration imported from a previous version...
Read more >
Android Studio 4.2 Canary 13 available
Android Studio 4.2 Canary 13 is now available in the Canary and Dev channels. If you have Android Studio set to receive updates...
Read more >
Android Studio not deploying changes to app - Stack Overflow
With this Android Studio builds from scratch each time but it's better than not building it ... For now I solved the issue...
Read more >
Kotlin Multiplatform Mobile plugin releases
Release info Release highlights Co... 0.3.4. Released: 12 September, 2022 Kotli... 0.3.3. Released: 9 June, 2022 Updated dependency on Kotlin IDE plugin 1.7.0. Kotli... 0.3.1. Released:...
Read more >
What's new in Android Studio 4.2 - YouTube
Android Studio 4.2 is now available for download on the stable channel. This new version of Android Studio contains improvements to the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found