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

AAPT: error: attribute android:fromExtendBottom not found #1876

Closed
mubashiralisiddiqui opened this issue Aug 23, 2023 · 5 comments
Closed

AAPT: error: attribute android:fromExtendBottom not found #1876

mubashiralisiddiqui opened this issue Aug 23, 2023 · 5 comments
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android

Comments

@mubashiralisiddiqui
Copy link

Description

getting error on android

ERROR:/Users/username/Desktop/Projects/React-native/project-name/node_modules/react-native-screens/android/build/intermediates/packaged_res/debug/anim-v33/rns_default_exit_in.xml:26: AAPT: error: attribute android:fromExtendRight not found.
getting this error after upgrading my React native version to the latest i.e. 0.72.4

"react-native-screens": "3.24.0"
"react-native-router-flux": "^4.3.1"

Steps to reproduce

  1. Upgrade your react native version from react-native 0.70 to 0.72.4 (with the help of upgrade helper)
    2). Run the application on Android
    you will get the error
image

Snack or a link to a repository

link

Screens version

3.24.0

React Native version

0.72.4

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

Android emulator

Device model

nexus 7

Acknowledgements

Yes

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label Aug 23, 2023
@github-actions
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@github-actions github-actions bot added the Platform: Android This issue is specific to Android label Aug 23, 2023
@kkafar
Copy link
Member

kkafar commented Aug 24, 2023

Hi @mubashiralisiddiqui
thanks for reporting, but this issue is missing a reproducible example, thus unless one is posted I'm going to close it. (Tag me, if reproduction is posted, I'll reopen and look into it).

I'm running application with 0.72.3/4 and react-native-screens from main on daily basis and it works fine -> issue arises most likely from some specific misconfiguration of your project.
The error message you provided indicates that compileSkdVersion / targetSdkVersion of your application is misconfigured (that should be located in build.gradle file and set to >= 33 to use these options).

@kkafar kkafar closed this as completed Aug 24, 2023
@mubashiralisiddiqui
Copy link
Author

@kkafar thanks for your response
I am using compileSkdVersion and target sdk version 33
and I am not using this library anywhere in my project its another library react-native-router-flux which is dependent on react-native-screens
I cannot provide my repo for security reasons but the error is clearly written if you can please look into the issue it will be a great help

@mubashiralisiddiqui
Copy link
Author

I will create a new project and will try to reproduce it and will share the repo here

@glaydsoncosta
Copy link

Any news on this matter guys? I'm seeing the same bug and unable to build using targetSDK 33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android
Projects
None yet
Development

No branches or pull requests

3 participants