Code Monkey home page Code Monkey logo

android-snapshot-publisher's Issues

Getting This exception on Google Play Publish Release Apk

Execution failed for task ':app:publishReleaseApk'.
 A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$Processor
   > There was a failure while executing work items
      > A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$ApkUploader
         > 410 Gone
           {
             "code" : 410,
             "errors" : [ {
               "domain" : "androidpublisher",
               "message" : "This Edit has been deleted.",
               "reason" : "editDeleted"
             } ],
             "message" : "This Edit has been deleted."
           }

Config:

        googlePlay {
            serviceAccountCredentials = "../.config/misc/GooglePlayAndroidDeveloper.json"
            track = "internal"
            releaseStatus = "completed"
            defaultToAppBundles = false
            resolutionStrategy = "auto"
        }

Seems like this can solve this issue

Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8

Have anyone encountered such an issue, Is it a build Gradle 7.0.+ issue?!

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all artifacts for configuration ':app:classpath'.
   > Could not resolve com.xmartlabs:snapshot-publisher:2.4.0.
     Required by:
         project :app
      > No matching variant of com.xmartlabs:snapshot-publisher:2.4.0 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.1.1' but:
          - Variant 'apiElements' capability com.xmartlabs:snapshot-publisher:2.4.0 declares a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.1.1')
          - Variant 'runtimeElements' capability com.xmartlabs:snapshot-publisher:2.4.0 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.1.1')

Option to choose buildType

Hello,

thanks for your contribution on this plugin. However I have a question regarding buildType: As far as I understood currently only the release buildType is used. Can this be configured to e.g. use debug or a different buildType?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.