Android Build failing with Task :ffmpeg-kit-react-native:verifyReleaseResources FAILED
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.
Me too :(
mee to .
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.
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
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
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.
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. :)
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.
This issue was closed because it has been stalled for 7 days with no activity.