B4J Question [SOLVED]Error using Desugar Project

Dianzoa

Active Member
Licensed User
Apparently I configure all the path in the project correctly, or maybe not? I got this error

1628033481588.png
 
Last edited:

Dianzoa

Active Member
Licensed User
B4X:
Sub Process_Globals
    Private zip As String = "C:\Proyectos\Desugar\zip.exe"
    Private archiver As Archiver
    Private folder As String = "C:\desugar"
    Private temp As String
    Private AndroidJar As String = "C:\android\platforms\android-30\android.jar"
    Private javaExe As String
    Private DesugarJar As String = "C:\Proyectos\Desugar\Desugar_deploy.jar"
End Sub
 
Upvote 0

Dianzoa

Active Member
Licensed User
Hi Erel, well I tried the command line like this: Desugar_deploy.jar billing-3.0.1.aar, and nothing happens
 
Upvote 0

Dianzoa

Active Member
Licensed User
- AppCompat.androidx.aar
- billing-3.0.1.aar
- GoogleConsent.aar
Well, all star with trying to use B4XPages in a new proyect, but the compiling failed with Uncaught translation error: com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26) error,I'm not using those particular .arr files, but apparently some other jars that I used, use it, for example firebase notification, so, I'm trying to run desugar on those 3 files to see if after that I can compile my project.
 
Upvote 0

Dianzoa

Active Member
Licensed User
SOLVED. Sorry, it has nothing to do with the desugar thing, I was missing something in my manifest file
 
Upvote 0
Top