Comments (9)
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.
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.
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.
Other than this library, i have apply the android application plugin for my project.
apply plugin: 'com.android.application'
from gradle-play-publisher.
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.
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.
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.
@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.
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)
- Can't publish wearable version of the same app HOT 1
- Consider shading Google API client dependencies HOT 2
- A gradle task for uploading native debug symbols HOT 1
- Deprecation warning about `Project.getConvention()` when run using gradle 8.2.1 HOT 7
- Wear release note is not retrieve with bootstrapListing HOT 1
- set :play:android-publisher as an API dependency HOT 1
- Conflict with 'com.google.firebase.appdistribution' plugin HOT 1
- Error: insufficient data written HOT 24
- bootstrapReleaseListing: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden" HOT 2
- Error: PKIX path building failed HOT 1
- Task installRelease not found when publishing is disabled HOT 1
- Release notes languages management HOT 6
- Release notes for 3.8.5 release? Where to find? HOT 2
- Key Signature Mismatch on CI and not Locally HOT 4
- Publish to Wear OS only? HOT 6
- Build fails on the version conflict with ResolutionStrategy.IGNORE HOT 3
- available-version-codes.txt (No such file or directory) when turned on gradle configuration cache HOT 3
- in-app update priority is always 0 HOT 1
- The Project.getConvention() method has been deprecated. This is scheduled to be removed in Gradle 9.0. HOT 1
- Some problems were found with the configuration of task ':app:promoteArtifact' (type 'UpdatableTrackLifecycleTask')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-play-publisher.