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.

Upgrade to 2.9.0 causes Android build failure: COMPILETODALVIK PARSE error

See original GitHub issue

Steps to reproduce 📜

  1. Upgrade via NuGet to 2.9.0

  2. Rebuild Android project

Expected behavior 🤔

Successful build

Actual behavior 🐛

This causes a build failure in the Android project with several of these error lines in the output: 2>COMPILETODALVIK : PARSE error :

Note there are no error details displayed. If I return to the previous version I was using (2.8.5), it builds successfully.

Configuration 🔧

Version: 2.9.0

Platform:

  • 📱 iOS
  • 🤖 Android
  • 🏁 WPF
  • 🌎 UWP
  • 🍎 MacOS
  • 📺 tvOS
  • 🐒 Xamarin.Forms

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:24 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
cncb-ghcommented, Sep 29, 2018

Thanks for the reply. Unfortunately, I get a class not defined error with the “desugaring” enabled:

java.lang.NoClassDefFoundError : com/google/android/exoplayer2/source/BaseMediaSource

I will wait for Microsoft to hopefully fix this soon.

2reactions
martijn00commented, Feb 8, 2019

2.9.4 is committed and works in VS2019 preview2. We have to wait for that to release a stable new version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade to 2.9.0 causes Android build failure ...
This causes a build failure in the Android project with several of these error lines in the output: 2>COMPILETODALVIK : PARSE error :...
Read more >
Parse Error: What It Is and How to Fix It
A parse error is an error message you sometimes get on Android devices when an app fails to install. The message itself is...
Read more >
Build fail with the COMPILETODALVIK error in TFS but it ...
Select the latest JDK version (JDK 8), and select X64 as the JDK Architecture. Reference : Xamarin Android Out of Memory Build Failure...
Read more >
Parsing Package Error from Unity? - Meta Community Forums
Failed to install C:\Users\Tyler\Desktop\UnicornVR2.apk: Failure [INSTALL_FAILED_OLDER_SDK: Failed parse during installPackageLI: ...
Read more >
Strange build errors after upgrading to kotlin plugin 3.0.0+
In one of them I get errors while trying to do the build: Execution failed for task ':app:compileDebugKotlin'. e: C:\dev\myapp\app\src\main\ ...
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