Comments (10)
@jrcacd, can you check the Gradle console (bottom right)?
from grabver.
The error ocurs when I click in "Sync Now" after set version from 0.4.0 to 0.4.1.
So, the gradle console does not have any output. Only the previous output:
====== STARTED GrabVer v0.4.0
INFO - ProjectName=app
...
BUILD SUCCESSFUL in 12s
25 actionable tasks: 7 executed, 18 up-to-date
from grabver.
I removed completely this library from gradle, run gradle clean, and then put the new version.
Problem resolved.
Now works!
from grabver.
Ahhh! The same error again!
Found what causes the error:
Needs to have the preRelease line on gradle:
versioning {
...
preRelease = ''
}
If as bellow, gives the error
versioning {
major = 0
minor = 12
}
from grabver.
Delete from the cache the jar file, so the new version is forced to download and to be execute right there. I will try new tests in the coming days.
The 0.4.1 version should have preRelease
optional now and not overwritten from the properties.
from grabver.
I already Invalidate Caches/Restart before.
How do I?
Delete from the cache the jar file
from grabver.
You should have a .gradle
folder somewhere probably under users, then, a subfolder named file-xx
, in there you should see the repository with all groupIds, go under my group id eu/davidea, and clean the grabver folder.
from grabver.
Found it. Thanks.
But the error persists
from grabver.
I found the issue, strange that the unit tests don't catch it in the project.
It's a NPE when writing the file with null preRelease and the HashTable in the Properties class don't like indeed.
You can run gradlew build --stacktrace
line 88.
from grabver.
Great!
from grabver.
Related Issues (20)
- It there a way to set directly the patch number in gradle? HOT 2
- Error in Execution please help me to solve this HOT 1
- I do not know if I should ask, but due to stability should not already be in version 1.0 to encourage more people to use?
- Increase CODE number in release build with the new Android App Bundle HOT 7
- android.defaultConfig.versionCode is set to 0, but it should be a positive integer. HOT 2
- Gradle Plugins repository doesn't work whereas Bintray works HOT 4
- Change default "0" to "1" to avoid broken build
- Code doesn't increase if run bundleRelease HOT 7
- Trigger increment patch by different task HOT 6
- empty version.properties HOT 3
- Error with subprojects HOT 1
- doesn't work HOT 2
- Code, Patch,Build number doesn't work well with product flavors HOT 2
- Add possibility to skip saving version.properties HOT 1
- Configure console color and info
- Why hardcode "Always auto increase build number"? Make it optional! HOT 1
- Hosted in JCenter HOT 3
- Gradle preRelease = "" can be as it is not present?
- Replace Hardcoded Pathseperators HOT 1
- When the generate signed apk fails, should not increase the PATCH and the BUILD numbers
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 grabver.