Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: path may not be null or empty string. path='null' #110

Open
NanyangTaiji opened this issue Apr 13, 2019 · 4 comments
Open

error: path may not be null or empty string. path='null' #110

NanyangTaiji opened this issue Apr 13, 2019 · 4 comments

Comments

@NanyangTaiji
Copy link

the error is pointed to this in gradle synchorniztion:
android.signingConfigs.release.storeFile rootProject.file(props.keyStore)

Do I need to do something extra?

@Krammig
Copy link

Krammig commented May 3, 2019

It relates to the Signing of the app. That code is in this project, should not be really in my opinion.

You can comment out the following lines ;

//android.signingConfigs.release.storeFile rootProject.file(props.keyStore)
//android.signingConfigs.release.storePassword props.keyStorePassword
//android.signingConfigs.release.keyAlias props.keyAlias
//android.signingConfigs.release.keyPassword props.keyAliasPassword

That should get you going.

@piyell
Copy link

piyell commented Jul 16, 2019

It relates to the Signing of the app. That code is in this project, should not be really in my opinion.

You can comment out the following lines ;

//android.signingConfigs.release.storeFile rootProject.file(props.keyStore)
//android.signingConfigs.release.storePassword props.keyStorePassword
//android.signingConfigs.release.keyAlias props.keyAlias
//android.signingConfigs.release.keyPassword props.keyAliasPassword

That should get you going.

comes out with another error

No signature of method: org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection.get() is applicable for argument types: () values: []
Possible solutions: grep(), grep(java.lang.Object), getAt(java.lang.String), getAt(int), wait(), max()

@Kyire-Irving
Copy link

comes out with another error
Keystore file not set for signing config release

@StephenGemin
Copy link

Just cloned the app and I ran into the same issue. The project successfully synced when I commented out the following lines in the app build.gradle.

So I just needed to comment out three more lines from the original answer and it worked.

//android.signingConfigs.release.storeFile rootProject.file(props.keyStore)
//android.signingConfigs.release.storePassword props.keyStorePassword
//android.signingConfigs.release.keyAlias props.keyAlias
//android.signingConfigs.release.keyPassword props.keyAliasPassword

//if (getGradle().getStartParameter().getTaskRequests().toString().contains("Free")) {
//    apply plugin: 'com.google.gms.google-services'
//    apply plugin: 'io.fabric'
//}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants