Answer the question
In order to leave comments, you need to log in
Why can't I compile android application?
got the code from the repository (it was compiled by my colleague who quit). but you won't get it from me. because I'm a php developer, android is not a boom boom. What we have:
error while synchronizing gradle
Build file 'путь_до_проекта\app\build.gradle' line: 41
A problem occurred evaluating project ':app'.
> path may not be null or empty string. path='null'
storeFile file(properties.getProperty('STORE_FILE'))
Properties properties = new Properties()
properties.load(new FileInputStream("${rootDir}/local.properties"))
debug {
// это сделано для того, чтоб не прибивать приложение вместе с базой
// при установке release версии приложения
storeFile file(properties.getProperty('STORE_FILE'))
storePassword properties.getProperty('STORE_PASSWORD')
keyAlias properties.getProperty('KEY_ALIAS')
keyPassword properties.getProperty('KEY_PASSWORD')
}
release {
storeFile file(properties.getProperty('STORE_FILE'))
storePassword properties.getProperty('STORE_PASSWORD')
keyAlias properties.getProperty('KEY_ALIAS')
keyPassword properties.getProperty('KEY_PASSWORD')
}
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Thu Jan 21 18:32:52 YEKT 2021
sdk.dir=C\:\\Users\\user\\AppData\\Local\\Android\\Sdk
keytool -genkey -v -keystore C:\Users\user\AppData\Local\Android\Sdk\debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"
Answer the question
In order to leave comments, you need to log in
What do you mean by "attach"? You have a block of code that you showed yourself:
storeFile file(properties.getProperty('STORE_FILE'))
storePassword properties.getProperty('STORE_PASSWORD')
keyAlias properties.getProperty('KEY_ALIAS')
keyPassword properties.getProperty('KEY_PASSWORD')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question