-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error react-native-loader-kit:verifyReleaseResources #49
Comments
Same issue |
@DarkShtir which version of RN are you using? |
RN 0.73.7, and last version of react-native-loader-kit |
hi @GonzaArts @DarkShtir on which command are you guys facing this issue? Just now I tested with these commands, they're all fine:
My env (MacOS M2): "react": "18.2.0",
"react-native": "0.74.0",
"react-native-loader-kit": "^2.0.8" |
maybe this can help you: yamill/react-native-orientation#396 (comment) |
I'm using fastlane to create builds, and under hood fastlane is using Here is the diff that solved my problem: diff --git a/node_modules/react-native-loader-kit/android/build.gradle b/node_modules/react-native-loader-kit/android/build.gradle
index d94248d..fed1ef9 100644
--- a/node_modules/react-native-loader-kit/android/build.gradle
+++ b/node_modules/react-native-loader-kit/android/build.gradle
@@ -18,10 +18,10 @@ def safeExtGet(prop, fallback) {
}
android {
- compileSdkVersion safeExtGet('LoaderKit_compileSdkVersion', 30)
+ compileSdkVersion safeExtGet('LoaderKit_compileSdkVersion', 34)
defaultConfig {
- minSdkVersion safeExtGet('LoaderKit_minSdkVersion', 16)
- targetSdkVersion safeExtGet('LoaderKit_targetSdkVersion', 30)
+ minSdkVersion safeExtGet('LoaderKit_minSdkVersion', 26)
+ targetSdkVersion safeExtGet('LoaderKit_targetSdkVersion', 34)
versionCode 1
versionName "1.0"
Thanks maitrungduc1410 to link |
if sdk version is the problem, you can override it in your buildscript {
ext {
LoaderKit_compileSdkVersion = 34
LoaderKit_minSdkVersion = 26
LoaderKit_targetSdkVersion = 34
} |
Thanks, this is great solution and it's working! |
Great, I'm gonna add a troubleshoot section in readme |
Reviewing everything I have already tried it and it worked for me too. Thanks @maitrungduc1410 @DarkShtir |
I am trying to copy the APK and I get an error from your project which is as follows:
I have tried to change the build.gradle configuration but it still fails
The text was updated successfully, but these errors were encountered: