nextcloud / nextcloud/passman-android
Build fails due to invalid signing configuration
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 102
- Forks
- 30
- Avg merge
- 3h 25m
- Merged PRs (30d)
- 1
Description
When building with the gradle wrapper, I get the following error:
FAILURE: Build failed with an exception.
* Where:
Build file '/home/hong/git/passman-android/app/build.gradle' line: 11
* What went wrong:
A problem occurred evaluating project ':app'.
> Could not get unknown property 'ALPHA_STORE' for SigningConfig_Decorated{name=alpha, storeFile=null, storePassword=null, keyAlias=debug, keyPassword=null, storeType=null, v1SigningEnabled=true, v2SigningEnabled=true} of type com.android.build.gradle.internal.dsl.SigningConfig.
Indeed the signing configurations reference these properties ALPHA_STORE, ALPHA_STORE_PASSWORD, etc, the same for the release config.
Did you mean to use environment variables, or how do you set these properties?
Also, there is a build type debubug, which I believe is a typo.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in app/build.gradle around line 11 and inspect the alpha and release signing configurations, including the ALPHA_STORE-related properties and the debubug build type. Run the Gradle wrapper to reproduce the configuration error, then verify the intended property source and that the build configuration evaluates successfully without the typo.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100