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

Task :react-native-nested-scroll-view:verifyReleaseResources FAILED #39

Open
Ismonh opened this issue Dec 20, 2019 · 3 comments
Open

Task :react-native-nested-scroll-view:verifyReleaseResources FAILED #39

Ismonh opened this issue Dec 20, 2019 · 3 comments

Comments

@Ismonh
Copy link

Ismonh commented Dec 20, 2019

Hi,
I can't release my app with react-native-nested-scroll-view,
When I do gradlew assembleRelease in my android app folder
Result :

Execution failed for task :react-native-nested-scroll-view:verifyReleaseResources.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
C:\Users****.gradle\caches\transforms-2\files-2.1\2c14eda98bc264ccf67c15fd0c8b9165\appcompat-1.0.2\res\values-v28\values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

  C:\Users\****\.gradle\caches\transforms-2\files-2.1\2c14eda98bc264ccf67c15fd0c8b9165\appcompat-1.0.2\res\values-v28\values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

  C:\Users\****\.gradle\caches\transforms-2\files-2.1\185f5b9efd7c173d0ffd24d204b22e91\core-1.0.1\res\values\values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.

  C:\Users\****\.gradle\caches\transforms-2\files-2.1\185f5b9efd7c173d0ffd24d204b22e91\core-1.0.1\res\values\values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.

My config :
Grabble
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
React
"react": "16.9.0",
"react-native": "0.61.2",

Have you a idea, wath is wrong ?

@Moke96
Copy link

Moke96 commented Feb 3, 2020

I got the same issue, did you solve it?

@Ismonh
Copy link
Author

Ismonh commented Feb 3, 2020

I got the same issue, did you solve it?

I have remove the package of my project, and now I use native props nestedScrollEnable on react-native scrollview
https://facebook.github.io/react-native/docs/scrollview#nestedscrollenabled

@niksudan
Copy link

niksudan commented Aug 5, 2020

I found a solution to this problem!

I had to add the following to my android/build.gradle:

subprojects {
    afterEvaluate {project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion compileSdkVersion
                buildToolsVersion "$buildToolsVersion"
            }
        }
    }
}

Source:
wix/react-native-navigation#4671 (comment)

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

3 participants