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

Can't Build React-Native App #54

Open
MehrdadKhnzd opened this issue May 24, 2019 · 1 comment
Open

Can't Build React-Native App #54

MehrdadKhnzd opened this issue May 24, 2019 · 1 comment

Comments

@MehrdadKhnzd
Copy link

MehrdadKhnzd commented May 24, 2019

I can run project on android (react-native run-android), but when I want to build the project (.\gradlew.bat assembleRelease), it gives me this error:

Execution failed for task ':react-native-bottom-sheet-behavior:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  C:\Users\Mehrdad\Desktop\Sample\Sample\node_modules\react-native-bottom-sheet-behavior\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
  C:\Users\Mehrdad\Desktop\Sample\Sample\node_modules\react-native-bottom-sheet-behavior\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
  C:\Users\Mehrdad\Desktop\Sample\Sample\node_modules\react-native-bottom-sheet-behavior\android\build\intermediates\res\merged\release\values\values.xml:2972: error: resource android:attr/fontVariationSettings not found.
  C:\Users\Mehrdad\Desktop\Sample\Sample\node_modules\react-native-bottom-sheet-behavior\android\build\intermediates\res\merged\release\values\values.xml:2973: error: resource android:attr/ttcIndex not found.
  error: failed linking references.

What can I do?

@cesardeazevedo
Copy link
Owner

Can you post your app/build.gradle file?

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