rive-app / rive-app/rive-react-native

Android app not compiling after adding rive-react-native.

Open
#263 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
783
Forks
81
Avg merge
3d 6h
Merged PRs (30d)
3

Description

Description

Android app not compiling after adding rive-react-native.
I simply added react-native-rive using npm

Provide a Repro

18:07:05 > Task :app:dexBuilderProStagingDebug FAILED
18:07:05
18:07:05 FAILURE: Build failed with an exception.
18:07:05
18:07:05 * What went wrong:
18:07:05 Execution failed for task ':app:dexBuilderProStagingDebug'.
18:07:05 > Could not resolve all files for configuration ':app:detachedConfiguration66'.
18:07:05 > Failed to transform jetified-rive-android-9.5.1-runtime.jar to match attributes {artifactType=ext-dex-dexBuilderProStagingDebug, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
18:07:05 > Execution failed for DexingExternalLibArtifactTransform: /home/ubuntu/.gradle/caches/transforms-3/244625ed7d27a180b0d63081ca6c0761/transformed/jetified-rive-android-9.5.1-runtime.jar.
18:07:05 > Error while dexing.
18:07:05 > Failed to transform jetified-kotlin-reflect-1.9.22.jar to match attributes {artifactType=ext-dex-dexBuilderProStagingDebug, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
18:07:05 > Execution failed for DexingExternalLibArtifactTransform: /home/ubuntu/.gradle/caches/transforms-3/2ea69f13f16e83dcb77b032cc9574d47/transformed/jetified-kotlin-reflect-1.9.22.jar.
18:07:05 > Error while dexing.

-->

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No project files or tests are named. Start by reproducing the Android build after installing react-native-rive and inspect the dexing failures for rive-android and kotlin-reflect; done means the Android app builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.