Giter Club home page Giter Club logo

Comments (9)

bhurling avatar bhurling commented on May 18, 2024

Looks like there is an issue with an old version of the guava lib library. What version of this plugin are you using? Do you apply any other plugins? The buildscript section of your build.gradle might help.

from gradle-play-publisher.

ShreyashPromact avatar ShreyashPromact commented on May 18, 2024

Thanks for reply to my issue.
I am using version 15.0 for guave
Please check my below build.gradle for more information.

apply plugin: 'play'
buildscript {
repositories {
mavenCentral()
}
dependencies {
// ...
classpath 'com.github.triplet.gradle:play-publisher:1.0.2'
classpath 'com.google.guava:guava:15.0'

}

}

play {
serviceAccountEmail = '[email protected]'
pk12File = file('D:\SomeDirectory\MyProject\NUMBER.p12')
track = 'beta' // or 'beta' or 'alpha' or 'production'
}

I have also put question on SO with below link. So that you can also answer there if you have solution to that.
http://stackoverflow.com/questions/28560205/exception-during-publishing-app-with-savillians-gradle-and-triple-t-gradle
Thanks.

from gradle-play-publisher.

ShreyashPromact avatar ShreyashPromact commented on May 18, 2024

I have just added latest version of guava 18.0 its start downloading it first then try to build the project but then same issue. :(.
Need help please.

from gradle-play-publisher.

ShreyashPromact avatar ShreyashPromact commented on May 18, 2024

Other than this library, i have apply the android application plugin for my project.
apply plugin: 'com.android.application'

from gradle-play-publisher.

ShreyashPromact avatar ShreyashPromact commented on May 18, 2024

Hello bhurling,
That issue is resolved. I guess i have added the configuration and other task with wrong manner. So because of that, it is first looking for the release apk file to upload even it is not build. Because of that I might got issue.

But, after configuring all with in separate tasks (First Build then release), its working great.

Below is my gradle.build file. It might help others if anyone getting same problem.
//-------------------------------------------------------------
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "21.1.1"
defaultConfig {
applicationId "com.your_package.your_project"
minSdkVersion 14
targetSdkVersion 20
versionCode 10
versionName "0.0.9"
}
signingConfigs {
release {
storeFile file("C:\PATH_FOR_KEYSTORE\YOUR_KEYSTORE.keystore")
storePassword "KEYSTORE_PASSWORD"
keyAlias "KEYSTORE_ALIAS"
keyPassword "ALIAS_PASSWORD"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
signingConfig signingConfigs.release
}
debug {
}
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}

}

// For the TRIPLET gradle demo
apply plugin: 'play'
buildscript {
repositories {
mavenCentral()
}
dependencies {
// ...
classpath 'com.github.triplet.gradle:play-publisher:1.0.2'
classpath 'com.google.guava:guava:18.0'
}
}

play {
serviceAccountEmail = '[email protected]'
pk12File = file('D:\someDirectory\MyProject\number.p12')
track = 'beta' // or 'beta' or 'alpha' or 'production'
}

dependencies {
// some required dependencies for the project library
}

Thanks for your support and valuable reply to my query.

from gradle-play-publisher.

bhurling avatar bhurling commented on May 18, 2024

Before I close this issue I'd like to clarify: For what purpose do you need guava on the builscript class path? I think you can just drop that extra line because the android plugin transitively pulls in version 18 anyway.

from gradle-play-publisher.

ShreyashPromact avatar ShreyashPromact commented on May 18, 2024

Hi, Thanks for the reply and information. I am not sure guava is required or not. But there is on some SO answer it is said that you will required that to be added in to dependency of the buildScript. You can refer this: http://stackoverflow.com/questions/23413126/nosuchmethoderror-hashcode-fromstring-when-using-com-android-tools-buildgradle

Please let me know if it is required or not? If not then what is the alternate of it?

from gradle-play-publisher.

ShreyashPromact avatar ShreyashPromact commented on May 18, 2024

@bhurling yes, you are right. There is no need for guava library. I have just commented it and try to upload it. It works great.

Thanks for support and your valuable replies. I would like to know more for how i can upload description for the information of my uploaded build, How i can upload images for the app or what maximum i can do with your library.

Sincerely,
Shreyash.

from gradle-play-publisher.

bhurling avatar bhurling commented on May 18, 2024

You need to drop your descriptions and screenshots into a folder structure as described in the README. You should also consider running the bootstrapReleasePlayResources task that helps setting up that structure

from gradle-play-publisher.

Related Issues (20)

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.