You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAILURE: Build failed with an exception
./gradlew assemblRelease
Execution failed for task ':okta_okta-react-native:parseReleaseLocalResources'.
Could not resolve all files for configuration ':okta_okta-react-native:androidApis'.
Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
Execution failed for PlatformAttrTransform: Android\SDK\platforms\android-33\android.jar.
Android\SDK\platforms\android-33\android.jar
What is expected to happen?
Resolved build issue
What is the actual behavior?
Release build generated without issues
Reproduction Steps?
Updated okta-react-native version and build version
I believe this issue has been fixed since 2.11.0. I removed react-native-gradle-plugin in this PR: #399, and updated gradle version from 7.4.2. to 8.1.4 in this PR: #399
So now, the android build is simialr to any non-react-native library, and it's also using newer gradle. One of those changes likely fixed this issue in 2.11.0 and forward. So, I'm closing this issue for now, but feel free to reopen if you encounter this bug again.
Describe the bug?
FAILURE: Build failed with an exception
./gradlew assemblRelease
Execution failed for task ':okta_okta-react-native:parseReleaseLocalResources'.
Could not resolve all files for configuration ':okta_okta-react-native:androidApis'.
Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
Execution failed for PlatformAttrTransform: Android\SDK\platforms\android-33\android.jar.
Android\SDK\platforms\android-33\android.jar
What is expected to happen?
Resolved build issue
What is the actual behavior?
Release build generated without issues
Reproduction Steps?
Updated okta-react-native version and build version
Additional Information?
No response
SDK Version
[email protected]
@okta/okta-react-native@^2.7.0
android-33
Build Information
Android:
buildToolsVersion = "33.0.0"
minSdkVersion = 21
compileSdkVersion = 33
targetSdkVersion = 33
The text was updated successfully, but these errors were encountered: