question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

on Android: Execution failed for task ':tipsi-stripe:processReleaseResources'

See original GitHub issue

When I try to run my android project with tipsi-stripe, I get:

$ react-native run-android
Scanning 571 folders for symlinks in <project-home>/node_modules (3ms)
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
<... bunch of other modules ...>
:tipsi-stripe:preBuild UP-TO-DATE
:tipsi-stripe:preReleaseBuild UP-TO-DATE
:tipsi-stripe:compileReleaseNdk UP-TO-DATE
:tipsi-stripe:compileLint
:tipsi-stripe:copyReleaseLint UP-TO-DATE
:tipsi-stripe:checkReleaseManifest
:tipsi-stripe:preDebugAndroidTestBuild UP-TO-DATE
:tipsi-stripe:preDebugBuild UP-TO-DATE
:tipsi-stripe:preDebugUnitTestBuild UP-TO-DATE
:tipsi-stripe:preReleaseUnitTestBuild UP-TO-DATE
:tipsi-stripe:prepareComAndroidSupportAnimatedVectorDrawable2501Library UP-TO-DATE
:tipsi-stripe:prepareComAndroidSupportAppcompatV72501Library UP-TO-DATE
:tipsi-stripe:prepareComAndroidSupportSupportCompat2501Library UP-TO-DATE
:tipsi-stripe:prepareComAndroidSupportSupportCoreUi2501Library UP-TO-DATE
:tipsi-stripe:prepareComAndroidSupportSupportCoreUtils2501Library UP-TO-DATE
:tipsi-stripe:prepareComAndroidSupportSupportFragment2501Library UP-TO-DATE
:tipsi-stripe:prepareComAndroidSupportSupportMediaCompat2501Library UP-TO-DATE
:tipsi-stripe:prepareComAndroidSupportSupportV42501Library UP-TO-DATE
:tipsi-stripe:prepareComAndroidSupportSupportVectorDrawable2501Library UP-TO-DATE
:tipsi-stripe:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library UP-TO-DATE
:tipsi-stripe:prepareComFacebookFrescoDrawee101Library UP-TO-DATE
:tipsi-stripe:prepareComFacebookFrescoFbcore101Library UP-TO-DATE
:tipsi-stripe:prepareComFacebookFrescoFresco101Library UP-TO-DATE
:tipsi-stripe:prepareComFacebookFrescoImagepipeline101Library UP-TO-DATE
:tipsi-stripe:prepareComFacebookFrescoImagepipelineBase101Library UP-TO-DATE
:tipsi-stripe:prepareComFacebookFrescoImagepipelineOkhttp3101Library UP-TO-DATE
:tipsi-stripe:prepareComFacebookReactReactNative0440Library UP-TO-DATE
:tipsi-stripe:prepareComFacebookSoloaderSoloader010Library UP-TO-DATE
:tipsi-stripe:prepareComGithubThefuntastyCreditCardEntry1484Library UP-TO-DATE
:tipsi-stripe:prepareComGoogleAndroidGmsPlayServicesBase1024Library UP-TO-DATE
:tipsi-stripe:prepareComGoogleAndroidGmsPlayServicesBasement1024Library UP-TO-DATE
:tipsi-stripe:prepareComGoogleAndroidGmsPlayServicesIdentity1024Library UP-TO-DATE
:tipsi-stripe:prepareComGoogleAndroidGmsPlayServicesMaps1024Library UP-TO-DATE
:tipsi-stripe:prepareComGoogleAndroidGmsPlayServicesTasks1024Library UP-TO-DATE
:tipsi-stripe:prepareComGoogleAndroidGmsPlayServicesWallet1024Library UP-TO-DATE
:tipsi-stripe:prepareComStripeStripeAndroid210Library UP-TO-DATE
:tipsi-stripe:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
:tipsi-stripe:prepareReleaseDependencies
:tipsi-stripe:compileReleaseAidl UP-TO-DATE
:tipsi-stripe:compileReleaseRenderscript UP-TO-DATE
:tipsi-stripe:generateReleaseBuildConfig UP-TO-DATE
:tipsi-stripe:generateReleaseAssets UP-TO-DATE
:tipsi-stripe:mergeReleaseAssets UP-TO-DATE
:tipsi-stripe:generateReleaseResValues UP-TO-DATE
:tipsi-stripe:generateReleaseResources UP-TO-DATE
:tipsi-stripe:mergeReleaseResources UP-TO-DATE
:tipsi-stripe:processReleaseManifest UP-TO-DATE
:tipsi-stripe:processReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':tipsi-stripe:processReleaseResources'.
> at index 4

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 10.291 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
$ adb devices
List of devices attached
ZY223KDRZQ	device

There is a device attached and it works without the tipsy-stripe module. What am I missing/doing wrong?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
kurt-o-syscommented, May 18, 2017

OK, reinstalling android sdk seems to solve the issue… (although there’s another problem now :p)

1reaction
kurt-o-syscommented, May 18, 2017

and android/build.gradle:

$ cat android/build.gradle 
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        // Add jitpack repository (added by tipsi-stripe)
        maven { url "https://jitpack.io" }
        mavenLocal()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Android: Execution failed for task ':app ... - Stack Overflow
My solution is: Menu Build -> Clean Project. I deleted and pasted a picture a while before. The picture has the same problem,...
Read more >
Execution failed for task ':app:mergeDebugNativeLibs'. #35215
What went wrong: Execution failed for task ':app:mergeDebugNativeLibs'. A failure occurred while executing com.android.build.gradle.internal.
Read more >
Fix "Execution failed app:processDebugResources" in ...
Fix “Execution failed app:processDebugResources” in Android Studio · Method 1: Change the version of buildTools · Method 2: Run Gradle with – ...
Read more >
Known issues with Android Studio and Android Gradle Plugin
If that process fails, the IDE may not start for certain users who set custom VM options in ... Executing the Gradle check...
Read more >
Execution failed for task ':app:kaptDebugKotlin'. > A failure ...
I got the OP's reported error after attempting to build and run the project in Android Studio 4.2.1.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found