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

fastlane / jetified / react-native-testfairy #929

Open
rares-lupascu opened this issue Jun 21, 2020 · 1 comment
Open

fastlane / jetified / react-native-testfairy #929

rares-lupascu opened this issue Jun 21, 2020 · 1 comment

Comments

@rares-lupascu
Copy link

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

@qvd808
Copy link

qvd808 commented Nov 22, 2022

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);

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

2 participants