Pattonville-App-Development-Team / Android-App

The Android app for the Pattonville School District. Created and maintained by students and alumni.
GNU General Public License v3.0
4 stars 0 forks source link

Builds cause spurious errors #62

Closed magneticflux- closed 7 years ago

magneticflux- commented 7 years ago

Sample error:

AGPBI: {"kind":"error","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]}
AGPBI: {"kind":"error","text":"(groovyjarjarantlr.TokenStreamRewriteEngine$1) that doesn\u0027t come with an","sources":[{}]}
AGPBI: {"kind":"error","text":"associated EnclosingMethod attribute. This class was probably produced by a","sources":[{}]}
AGPBI: {"kind":"error","text":"compiler that did not target the modern .class file format. The recommended","sources":[{}]}
AGPBI: {"kind":"error","text":"solution is to recompile the class from source, using an up-to-date compiler","sources":[{}]}
AGPBI: {"kind":"error","text":"and without specifying any \"-target\" type options. The consequence of ignoring","sources":[{}]}
AGPBI: {"kind":"error","text":"this warning is that reflective operations on this class will incorrectly","sources":[{}]}
AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
AGPBI: {"kind":"error","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]}
AGPBI: {"kind":"error","text":"(groovyjarjarantlr.build.ANTLR$1) that doesn\u0027t come with an","sources":[{}]}
AGPBI: {"kind":"error","text":"associated EnclosingMethod attribute. This class was probably produced by a","sources":[{}]}
AGPBI: {"kind":"error","text":"compiler that did not target the modern .class file format. The recommended","sources":[{}]}
AGPBI: {"kind":"error","text":"solution is to recompile the class from source, using an up-to-date compiler","sources":[{}]}
AGPBI: {"kind":"error","text":"and without specifying any \"-target\" type options. The consequence of ignoring","sources":[{}]}
AGPBI: {"kind":"error","text":"this warning is that reflective operations on this class will incorrectly","sources":[{}]}
AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
AGPBI: {"kind":"error","text":"warning: Ignoring InnerClasses attribute for an anonymous inner class","sources":[{}]}
AGPBI: {"kind":"error","text":"(groovyjarjarantlr.debug.misc.ASTFrame$1) that doesn\u0027t come with an","sources":[{}]}
AGPBI: {"kind":"error","text":"associated EnclosingMethod attribute. This class was probably produced by a","sources":[{}]}
AGPBI: {"kind":"error","text":"compiler that did not target the modern .class file format. The recommended","sources":[{}]}
AGPBI: {"kind":"error","text":"solution is to recompile the class from source, using an up-to-date compiler","sources":[{}]}
AGPBI: {"kind":"error","text":"and without specifying any \"-target\" type options. The consequence of ignoring","sources":[{}]}
AGPBI: {"kind":"error","text":"this warning is that reflective operations on this class will incorrectly","sources":[{}]}
AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
magneticflux- commented 7 years ago

Caused by this dependency, groovy-all:2.3.2:

+--- org.mnode.ical4j:ical4j:2.0.0
|    +--- org.slf4j:slf4j-api:1.7.10 -> 1.7.22
|    +--- org.apache.commons:commons-collections4:4.0
|    +--- org.codehaus.groovy:groovy-all:2.3.2
|    +--- biz.aQute.bnd:bndlib:2.3.0
|    |    \--- org.osgi:org.osgi.core:4.3.1
|    +--- org.apache.commons:commons-lang3:3.3.2
|    \--- commons-codec:commons-codec:1.9
magneticflux- commented 7 years ago

Perhaps exclude this dependency? It might also speed up builds by preventing errors. I don't know if there is any delay that can be attributed to the error causing though. More testing is needed.

magneticflux- commented 7 years ago

All dependencies:

+--- com.android.support:multidex:1.0.1
+--- com.android.support:support-annotations:24.2.1 -> 25.1.0
+--- com.android.support:appcompat-v7:24.2.1 -> 25.1.0
|    +--- com.android.support:support-annotations:25.1.0
|    +--- com.android.support:support-v4:25.1.0
|    |    +--- com.android.support:support-compat:25.1.0
|    |    |    \--- com.android.support:support-annotations:25.1.0
|    |    +--- com.android.support:support-media-compat:25.1.0
|    |    |    +--- com.android.support:support-annotations:25.1.0
|    |    |    \--- com.android.support:support-compat:25.1.0 (*)
|    |    +--- com.android.support:support-core-utils:25.1.0
|    |    |    +--- com.android.support:support-annotations:25.1.0
|    |    |    \--- com.android.support:support-compat:25.1.0 (*)
|    |    +--- com.android.support:support-core-ui:25.1.0
|    |    |    +--- com.android.support:support-annotations:25.1.0
|    |    |    \--- com.android.support:support-compat:25.1.0 (*)
|    |    \--- com.android.support:support-fragment:25.1.0
|    |         +--- com.android.support:support-compat:25.1.0 (*)
|    |         +--- com.android.support:support-media-compat:25.1.0 (*)
|    |         +--- com.android.support:support-core-ui:25.1.0 (*)
|    |         \--- com.android.support:support-core-utils:25.1.0 (*)
|    +--- com.android.support:support-vector-drawable:25.1.0
|    |    +--- com.android.support:support-annotations:25.1.0
|    |    \--- com.android.support:support-compat:25.1.0 (*)
|    \--- com.android.support:animated-vector-drawable:25.1.0
|         \--- com.android.support:support-vector-drawable:25.1.0 (*)
+--- com.android.support:design:24.2.1 -> 25.1.0
|    +--- com.android.support:support-v4:25.1.0 (*)
|    +--- com.android.support:appcompat-v7:25.1.0 (*)
|    +--- com.android.support:recyclerview-v7:25.1.0
|    |    +--- com.android.support:support-annotations:25.1.0
|    |    +--- com.android.support:support-compat:25.1.0 (*)
|    |    \--- com.android.support:support-core-ui:25.1.0 (*)
|    \--- com.android.support:transition:25.1.0
|         +--- com.android.support:support-annotations:25.1.0
|         \--- com.android.support:support-v4:25.1.0 (*)
+--- com.android.support:support-v4:24.2.1 -> 25.1.0 (*)
+--- com.android.support:cardview-v7:24.2.1
|    \--- com.android.support:support-annotations:24.2.1 -> 25.1.0
+--- com.android.support:recyclerview-v7:24.2.1 -> 25.1.0 (*)
+--- com.prolificinteractive:material-calendarview:1.4.2
|    \--- com.android.support:support-v4:24.2.1 -> 25.1.0 (*)
+--- com.synnapps:carouselview:0.0.9
|    +--- com.android.support:recyclerview-v7:23.1.1 -> 25.1.0 (*)
|    \--- com.android.support:appcompat-v7:23.2.1 -> 25.1.0 (*)
+--- com.squareup.picasso:picasso:2.5.2
+--- eu.davidea:flexible-adapter:5.0.0-rc1
|    +--- com.jakewharton.hugo:hugo-annotations:1.2.1
|    +--- com.android.support:recyclerview-v7:25.1.0 (*)
|    \--- com.android.support:design:25.1.0 (*)
+--- com.annimon:stream:1.1.3
+--- com.google.guava:guava:20.0
+--- com.android.volley:volley:1.0.0
+--- org.mnode.ical4j:ical4j:2.0.0
|    +--- org.slf4j:slf4j-api:1.7.10 -> 1.7.22
|    +--- org.apache.commons:commons-collections4:4.0
|    +--- biz.aQute.bnd:bndlib:2.3.0
|    |    \--- org.osgi:org.osgi.core:4.3.1
|    +--- org.apache.commons:commons-lang3:3.3.2
|    \--- commons-codec:commons-codec:1.9
+--- commons-codec:commons-codec:1.8 -> 1.9
+--- commons-lang:commons-lang:2.6
+--- org.slf4j:slf4j-android:1.7.22
|    \--- org.slf4j:slf4j-api:1.7.22
+--- com.squareup.picasso:picasso:2.3.2 -> 2.5.2
+--- com.nineoldandroids:library:2.4.0
+--- com.daimajia.slider:library:1.1.5
+--- com.google.firebase:firebase-core:9.8.0
|    \--- com.google.firebase:firebase-analytics:9.8.0
|         +--- com.google.android.gms:play-services-basement:9.8.0
|         |    \--- com.android.support:support-v4:24.0.0 -> 25.1.0 (*)
|         +--- com.google.firebase:firebase-common:9.8.0
|         |    +--- com.google.android.gms:play-services-basement:9.8.0 (*)
|         |    \--- com.google.android.gms:play-services-tasks:9.8.0
|         |         \--- com.google.android.gms:play-services-basement:9.8.0 (*)
|         \--- com.google.firebase:firebase-analytics-impl:9.8.0
|              +--- com.google.android.gms:play-services-basement:9.8.0 (*)
|              +--- com.google.firebase:firebase-iid:9.8.0
|              |    +--- com.google.android.gms:play-services-basement:9.8.0 (*)
|              |    \--- com.google.firebase:firebase-common:9.8.0 (*)
|              \--- com.google.firebase:firebase-common:9.8.0 (*)
+--- com.google.firebase:firebase-messaging:9.8.0
|    +--- com.google.android.gms:play-services-basement:9.8.0 (*)
|    +--- com.google.firebase:firebase-iid:9.8.0 (*)
|    \--- com.google.firebase:firebase-common:9.8.0 (*)
+--- com.github.wooplr:Spotlight:1.2.3
|    \--- com.android.support:appcompat-v7:23.4.0 -> 25.1.0 (*)
+--- com.github.paolorotolo:appintro:4.1.0
|    +--- com.android.support:appcompat-v7:24.2.1 -> 25.1.0 (*)
|    \--- com.android.support:support-annotations:24.2.1 -> 25.1.0
+--- com.esotericsoftware:kryo:3.0.3 -> 4.0.0
|    +--- com.esotericsoftware:reflectasm:1.11.3
|    |    \--- org.ow2.asm:asm:5.0.4
|    +--- com.esotericsoftware:minlog:1.3.0
|    \--- org.objenesis:objenesis:2.2
+--- de.javakaffee:kryo-serializers:0.41
|    \--- com.esotericsoftware:kryo:4.0.0 (*)
\--- org.codehaus.groovy:groovy-all:2.4.8