fastlane/docs

fastlane / jetified / react-native-testfairy

rares-lupascu opened this issue · 1 comments

Hi

I honestly do not know where this error comes from but I can tell you that a normal build works, assembleRelease works but when deployed using fastlane I get this:

Execution failed for task ':react-native-testfairy:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > 1 exception was raised by workers:
     com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
     /Users/wowzaaa/.gradle/caches/transforms-2/files-2.1/10c11b412b4d82ea97f11ba6fcb3bfa5/jetified-react-native-0.62.2/res/values/values.xml:143:5-148:13: AAPT: error: style attribute 'attr/windowActionBar (aka com.testfairy.react:attr/windowActionBar)' not found.

any idea on how to approach this?

thanks,
Rares

I have the same problem with bitrise, normal build works fine until I added this in index.js

import { registerRootComponent } from 'expo';

import App from './App';
import "./app/components/i18next";
import TestFairy from 'react-native-testfairy';

// registerRootComponent calls AppRegistry.registerComponent('main', () => App);
// It also ensures that whether you load the app in Expo Go or in a native build,
// the environment is set up appropriately
TestFairy.begin(process.env.TEST_FAIRY_TOKEN);
registerRootComponent(App);