You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Nelson Fonkoua (Jira)" <ji...@apache.org> on 2021/06/26 10:18:00 UTC

[jira] [Created] (GROOVY-10149) Groovy 3.0.8 (grooid jar) references groovyjarjaropenbeans.Transient but the class doesn't seem to be included

Nelson Fonkoua created GROOVY-10149:
---------------------------------------

             Summary: Groovy 3.0.8 (grooid jar) references groovyjarjaropenbeans.Transient but the class doesn't seem to be included
                 Key: GROOVY-10149
                 URL: https://issues.apache.org/jira/browse/GROOVY-10149
             Project: Groovy
          Issue Type: Bug
    Affects Versions: 3.0.8, 3.0.6
         Environment: Android
            Reporter: Nelson Fonkoua


I have an app that runs Groovy code directly from Android. When I tried to upgrade the groovy version to the latest `3.0.X` I had the following error message 

 
{code:none}
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.tambapps.android.grooidshell, PID: 25314
    org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
    General error during instruction selection: java.lang.NoClassDefFoundError: Failed resolution of: Lgroovyjarjaropenbeans/Transient;
{code}
My app is targeting Android 11 (targetSdkVersion 30), it uses the dependency org.codehaus.groovy:groovy:3.0.8:grooid

 

 

This problem didn't seem to appear for groovy 3.0.5, but my when I ran Groovy code, it didn't seem to find filds from GDK (e.g File.text, Object.metaClass...) (I must admit I didn't investiguated that much on that issue because I wanted to upgrade to the latest 3.0.X version)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)