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

Build Error #7

Open
iammelvin opened this issue Jan 3, 2018 · 3 comments
Open

Build Error #7

iammelvin opened this issue Jan 3, 2018 · 3 comments

Comments

@iammelvin
Copy link

Hello

I just started with react native and i cloned the sample did npm install and ran the command 'react-native run-android' from vscode terminal but i get the below error.I tried to search in google but nothing came up.It's just a new start for me so any help on how to resolve this issue will be really appreciated.

'Error:Could not get unknown property 'HACKERBUZZ_RELEASE_STORE_FILE' for SigningConfig_Decorated{name=release, storeFile=null, storePassword=null, keyAlias=null, keyPassword=null, storeType=null, v1SigningEnabled=true, v2SigningEnabled=true} of type com.android.build.gradle.internal.dsl.SigningConfig.

Consult IDE log for more details (Help | Show Log)'

P.s I tried to build the project in android studio but i get the same error.

Thanks

@StreethawkNick
Copy link

@iammelvin remove this line from your android/app/build.gradle file

   signingConfigs {
        release {
            storeFile file(HACKERBUZZ_RELEASE_STORE_FILE)
            storePassword HACKERBUZZ_RELEASE_STORE_PASSWORD
            keyAlias HACKERBUZZ_RELEASE_KEY_ALIAS
            keyPassword HACKERBUZZ_RELEASE_KEY_PASSWORD
        }
    }

and

signingConfig signingConfigs.release // add this line as well

@iammelvin
Copy link
Author

@StreethawkNick Thanks for the reply man will try that out !

@phungxuanvuong
Copy link

signingConfig signingConfigs.release

I'm gettting error: ERROR: Could not get unknown property 'release' for SigningConfig container.
Open File

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

3 participants