ffmpeg-kit icon indicating copy to clipboard operation
ffmpeg-kit copied to clipboard

Android Build failing with Task :ffmpeg-kit-react-native:verifyReleaseResources FAILED

Open ursnj opened this issue 3 years ago • 4 comments

Description

Task :ffmpeg-kit-react-native:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':ffmpeg-kit-react-native:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action Android resource linking failed ERROR:/Users/nj/.gradle/caches/transforms-3/10560fb0724aaea9f7df5bbee85eb9aa/transformed/core-1.7.0/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar not found.

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Expected behavior Project should build the APK's

Current behavior Error throwing as shown above.

To Reproduce

Android API-31 React native latest version

Screenshots If applicable, add screenshots to help explain your problem.

Logs Post logs here or paste them to Ghostbin and insert the link here.

Environment

  • Platform: React Native
  • Architecture: arm-v7a, arm-v7a-neon, arm64-v8a, x86, x86_64, armv7, armv7s, arm64, arm64-mac-catalyst, arm64-simulator, arm64e, i386, x86-64, x86-64-mac-catalyst
  • Version: v4.5.2
  • Source branch: main, development
  • Xcode version: 12.4.1
  • Cocoapods version: 1.10.1
  • Android Studio version: 4.0
  • Android NDK version: r22b
  • flutter doctor:
  • react-native info:

Other Add any other context about the problem here.

ursnj avatar Aug 10 '22 15:08 ursnj

Me too :(

zWilliamTM avatar Aug 14 '22 00:08 zWilliamTM

mee to .

Turgut-Kurt avatar Aug 15 '22 12:08 Turgut-Kurt

First of all, try to be more specific about the versions. latest is not accurate enough, it changes over time.

Anyway, we don't see this issue on test applications we have on ffmpeg-kit-test. On the development-react-native branch to be more specific. So, hard to say what it is. I suggest asking google and checking if there are other people receiving this.

tanersener avatar Aug 16 '22 08:08 tanersener

There is no issue in development, issue is only happening while assemblingRelease, a temporary fix for this is app:assembleRelease so its skipping verifying, but a permanent fix will be appreciated

ursnj avatar Aug 16 '22 13:08 ursnj

Same problem here. assembleDebug seems to work but assembleRelease fails at verifyResourceResources. Noticed this has been happening ever since I updated to Expo SDK 46.

Using ./gradlew app:assembleRelease instead of ./gradlew assembleRelease seems to fix the problem.

https://stackoverflow.com/questions/60990805/difference-between-appassemblerelease-and-assemblerelease

eeshankeni avatar Aug 17 '22 14:08 eeshankeni

Hello, During development, the problem does not occur, but when released, the problem occurs. I created a new project, I released it, no problem, but when I added the package and released it, the same problem occurred.

ufukonculer avatar Aug 20 '22 10:08 ufukonculer

Hi, there is no issue 0.68.3 for this package but some bug occur at 0.69.4 any solution for fix it?

Advices is welcome. :)

ufukonculer avatar Aug 20 '22 13:08 ufukonculer

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Oct 20 '22 03:10 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Oct 28 '22 03:10 github-actions[bot]