Skip to content

Error Running splashActivity Test #5539

Discussion options

You must be logged in to vote

Hi @Zaid-0504,

Instead of running the test on Robolectric following the steps you mentioned, could you please do the following:

  1. Add org.gradle.java.home=C\:\\Users\\<username>\\.jdks\\corretto-11.0.21 to your gradle.properties file. (Note: Update the path with your JDK location.)
  2. Run the following command in your Android Studio terminal:
    gradlew.bat --full-stacktrace :app:testDebugUnitTest --tests org.oppia.android.app.splash.SplashActivityTest
    

Let us know if you have any questions!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Zaid-0504
Comment options

Answer selected by theMr17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants