getting Failed to generate v1 signature wen adding sdk to project

0 votes
asked May 23, 2018 in Work In Progress by danny.ersel (11 points)

1 Answer

+1 vote
Hi Danny,

Could you please provide some more details? For example, which SDK you are using, Code snippets, exception message etc.

It will help us to understand the issue you are facing.

Thanks.
answered May 23, 2018 by rajeev.etc (1,660 points)
Hi  rajeev

using:
App42_ANDROID_SDK_3.9.2.jar
........................................................................
android build:android {
    compileSdkVersion 27
    buildToolsVersion '26.0.2'

    repositories {
        mavenCentral()
    }

    defaultConfig {
        applicationId "keukens.appfctry.app"
        manifestPlaceholders = [onesignal_app_id  : "",
                                // Project number pulled from dashboard, local value is ignored.
                                onesignal_google_project_number: "REMOTE"]
        minSdkVersion 19
        targetSdkVersion 27
        versionCode 1
        versionName '1.1'
        multiDexEnabled true
    }
........................................................
error log when building project:
Error:Execution failed for task ':app:packageDebug'.
> java.io.IOException: Failed to generate v1 signature

when sync project everything is good only getting errors when building project

Thank you for your help
Hi Danny,

Greetings from ShepHertz!!!!

Here are the possible reasons why you are getting  java.io.IOException: Failed to generate v1 signature.

1. Either some of assets or resource file is not valid.
2. There may be error build.gadle file.

Or may be others as well. This is not related the SDK you have integrated in your project.

Please find links below that can help you to resolve your query.

https://stackoverflow.com/questions/46129414/android-studio-java-io-ioexception-failed-to-generate-v1-signature

https://stackoverflow.com/questions/50194334/org-gradle-tooling-buildexception-java-io-ioexception-failed-to-generate-v1-si/50223195
Thank you. The problem wasin my  "packagingOptions"
Let me know if more queries are there.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...