uber / uber/RIBs

[Android] Tutorial1 : installDebug failed

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

Nobody has claimed this yet.

Android
Dominant language
Kotlin
Stars
7.9k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

Hi! I tried to launch first example of Uber RIBs and got an error :

C:\Projects\RIBs\android>gradlew :tutorials:tutorial1:installDebug         
Starting a Gradle Daemon, 1 busy and 3 incompatible and 5 stopped Daemons could not be reused, use --status for details
> Task :tutorials:tutorial1:javaPreCompileDebug FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':tutorials:tutorial1:javaPreCompileDebug'.
> Could not resolve all files for configuration ':tutorials:tutorial1:debugAnnotationProcessorClasspath'.
   > Failed to transform artifact 'rib-compiler-test.jar (project :libraries:rib-compiler-test)' to match attributes {artifactType=processed-jar, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=13, org.gradle.usage=java-
runtime-jars}.
      > Execution failed for JetifyTransform: C:\Projects\RIBs\android\libraries\rib-compiler-test\build\libs\rib-compiler-test-0.9.3-SNAPSHOT.jar.
         > Failed to transform 'C:\Projects\RIBs\android\libraries\rib-compiler-test\build\libs\rib-compiler-test-0.9.3-SNAPSHOT.jar' using Jetifier. Reason: null. (Run with --stacktrace for more details.)

I checked this snapshot and it already exist. Maybe I did something wrong?

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

Begin by reproducing gradlew :tutorials:tutorial1:installDebug in the Android project and rerun it with --stacktrace to investigate the JetifierTransform failure for libraries/rib-compiler-test/build/libs/rib-compiler-test-0.9.3-SNAPSHOT.jar. Done means tutorial1 installs successfully without the javaPreCompileDebug or Jetifier error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
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.