Building APKs
See original GitHub issueIs there any possibility to build the APKs? I do always get strange error messages:
`Could not determine the dependencies of task ‘:wallet:compileAbnDebugJavaWithJavac’.
Could not resolve all task dependencies for configuration ‘:wallet:abnDebugCompileClasspath’. Could not resolve project :sdk. Required by: project :wallet > project :common No matching configuration of project :sdk was found. The consumer was configured to find an API of a component, as well as attribute ‘com.android.build.api.attributes.BuildTypeAttr’ with value ‘debug’, attribute ‘version’ with value ‘abn’, attribute ‘org.jetbrains.kotlin.platform.type’ with value ‘androidJvm’ but: - None of the consumable configurations have attributes.`
Keystore and everything is set up properly!
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Thanks @goebelUB ! I tried it firstly using the Debug-Build-Process. Then i opened the full project inside Android-Studio and i was able to build the Apps using a Keystore.
If you are getting the an error along these lines:
then the issue is that you haven’t created a keystore, or Gradle doesn’t find all the properties it needs.
Gradle will try to read the keystore-related fields either from your global
~/.gradle/gradle.properties
or from thelocal.properties
at the root of the repo. You can configure the keystore file location + password and key alias + password in either of those fields, or pass them as command line arguments to Gradle.If you don’t want to fight with signing right now, you can build the debug version by replacing
Release
withDebug
:Note that a) the output path will differ accordingly, and b) you should only to this for testing and use a properly signed build for production.