jefflinwood / twilio_client_phonegap

Phonegap plugins for the Twilio Client iOS and Android SDKs
MIT License
59 stars 53 forks source link

Execution failed for task ':processReleaseResources'. #84

Open mobileias opened 6 years ago

mobileias commented 6 years ago

Hello

I have try to build using phonegap cli 7.0.1

but build failed and it shows error log like

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 4.032 secs Error: /project/gradlew: Command failed with exit code 1 Error output: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. ERROR: In FontFamilyFont, unable to find attribute android:font ERROR: In FontFamilyFont, unable to find attribute android:fontStyle ERROR: In FontFamilyFont, unable to find attribute android:fontWeight

FAILURE: Build failed with an exception.

So can you please help

Thanks

ghost commented 6 years ago

Were you able to resolve this error?

lyngbach commented 6 years ago

I am getting similar issue when building on Cordova 7.1.0 and 6.4.0. It seems to somehow be connected with gradle throwing a Unhandled promise rejection. But when I remove the plugin I have no problem building on either version.

@sabanad I am currently stuck and cant get this plugin to work on 7.10 however on 6.4.0 I was able to successfully build when adding this to the bottom of platforms\android\build.gradle file:

configurations.all {
    resolutionStrategy {
        force 'com.android.support:support-v4:27.1.0'
    }
}

Just be wary if you add this without a config plugin or alike if you decide to remove and add the platform again in the future.

ishan123456789 commented 6 years ago

Consider this issue #86 My comment has your answer