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

Gradle build failed #76

Open
Yangeok opened this issue Apr 2, 2020 · 1 comment
Open

Gradle build failed #76

Yangeok opened this issue Apr 2, 2020 · 1 comment

Comments

@Yangeok
Copy link

Yangeok commented Apr 2, 2020

Environment

  • osx 10.15
  • react-native with expokit (ejected)

Behavior

When i executed command react-native run-android at the first time. The following error occurred:

Unsupported class file major version 57 react native

Then i attempted typing command /android/gradlew/ build. The following error occurred:

* What went wrong:
Execution failed for task ':react-native-document-scanner: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/wookee/.gradle/caches/transforms-2/files-2.1/511bd9102a1a416eba49cca161a4e7e7/appcompat-1.0.2/res/values-v26/values-v26.xml:5:5-8:13: AAPT: er
ror: resource android:attr/colorError not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/511bd9102a1a416eba49cca161a4e7e7/appcompat-1.0.2/res/values-v26/values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/511bd9102a1a416eba49cca161a4e7e7/appcompat-1.0.2/res/values-v26/values-v26.xml:13:5-16:13: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/511bd9102a1a416eba49cca161a4e7e7/appcompat-1.0.2/res/values-v28/values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/511bd9102a1a416eba49cca161a4e7e7/appcompat-1.0.2/res/values-v28/values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/6c71160565e14a9c0b6b91317c0864ba/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontStyle not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/6c71160565e14a9c0b6b91317c0864ba/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/font not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/6c71160565e14a9c0b6b91317c0864ba/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontWeight not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/6c71160565e14a9c0b6b91317c0864ba/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/6c71160565e14a9c0b6b91317c0864ba/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/6c71160565e14a9c0b6b91317c0864ba/core-1.0.1/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/startX not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/6c71160565e14a9c0b6b91317c0864ba/core-1.0.1/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/startY not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/6c71160565e14a9c0b6b91317c0864ba/core-1.0.1/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/endX not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/6c71160565e14a9c0b6b91317c0864ba/core-1.0.1/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/endY not found.
         
     /Users/wookee/.gradle/caches/transforms-2/files-2.1/6c71160565e14a9c0b6b91317c0864ba/core-1.0.1/res/values/values.xml:126:5-132:25: AAPT: error: resource android:attr/offset not found.

How can i resolve this problem? Please let me know why did occur this problem.

@laibulle
Copy link

laibulle commented Jun 8, 2021

@Yangeok did you found a solution ?

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