Gradle-play-publisher: Publish bundle with AGP 3.6.0-alpha11 fails with java.lang.NoSuchFieldError: BUNDLE

Created on 12 Sep 2019  路  1Comment  路  Source: Triple-T/gradle-play-publisher

Describe the bug

Publishing has stopped working as this lookup for bundle file fails: https://github.com/Triple-T/gradle-play-publisher/blob/master/plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/internal/Agp.kt#L30

How To Reproduce

Run publishBundle

Versions

  • Gradle Play Publisher: 2.5.0-SNAPSHOT
  • Gradle Wrapper: Gradle 5.6.2
  • Android Gradle Plugin: 3.6.0-alpha11

Tasks executed

publishBundle

Expected behavior

Published bundle

Additional context (if a crash, provide stack trace)

java.lang.NoSuchFieldError: BUNDLE
        at com.github.triplet.gradle.play.tasks.internal.AgpKt.findBundleFile(Agp.kt:30)
        at com.github.triplet.gradle.play.tasks.PublishBundle.getBundle(PublishBundle.kt:35)
        at org.gradle.api.internal.tasks.properties.bean.AbstractNestedRuntimeBeanNode$BeanPropertyValue$1$1.create(AbstractNestedRuntimeBeanNode.java:80)
        at org.gradle.util.SingleMessageLogger.whileDisabled(SingleMessageLogger.java:467)
bug

Most helpful comment

Deep, agonized sigh. Will try to fix tonight.

>All comments

Deep, agonized sigh. Will try to fix tonight.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mhgk picture mhgk  路  3Comments

lordcodes picture lordcodes  路  5Comments

emartynov picture emartynov  路  4Comments

siddharthkhindri picture siddharthkhindri  路  5Comments

ToxicBakery picture ToxicBakery  路  4Comments