Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

make android failing because of espresso #2351

Closed

Description

@incanus

As of 311bf93.

   > Could not find com.android.support.test.espresso:espresso-core:2.2.1.

Activity

  1. added
    Android
    on Sep 17, 2015
  2. incanus commented on Sep 17, 2015

    @incanus
    ContributorAuthor
  3. incanus commented on Sep 17, 2015

    @incanus
    ContributorAuthor

    Relevant log:

    * Building target androidapp...
    make[2]: Nothing to be done for `androidapp'.
    cd android/java && ./gradlew --parallel --max-workers=8 assembleRelease
    Parallel execution is an incubating feature.
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    A problem occurred configuring project ':MapboxGLAndroidSDKTestApp'.
    > Could not resolve all dependencies for configuration ':MapboxGLAndroidSDKTestApp:_debugAndroidTestCompile'.
       > Could not find com.android.support.test:runner:0.4.
         Searched in the following locations:
             https://maven.fabric.io/public/com/android/support/test/runner/0.4/runner-0.4.pom
             https://maven.fabric.io/public/com/android/support/test/runner/0.4/runner-0.4.jar
             https://repo1.maven.org/maven2/com/android/support/test/runner/0.4/runner-0.4.pom
             https://repo1.maven.org/maven2/com/android/support/test/runner/0.4/runner-0.4.jar
             file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/test/runner/0.4/runner-0.4.pom
             file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/test/runner/0.4/runner-0.4.jar
             file:/usr/local/opt/android-sdk/extras/google/m2repository/com/android/support/test/runner/0.4/runner-0.4.pom
             file:/usr/local/opt/android-sdk/extras/google/m2repository/com/android/support/test/runner/0.4/runner-0.4.jar
         Required by:
             java:MapboxGLAndroidSDKTestApp:unspecified
       > Could not find com.android.support.test:rules:0.4.
         Searched in the following locations:
             https://maven.fabric.io/public/com/android/support/test/rules/0.4/rules-0.4.pom
             https://maven.fabric.io/public/com/android/support/test/rules/0.4/rules-0.4.jar
             https://repo1.maven.org/maven2/com/android/support/test/rules/0.4/rules-0.4.pom
             https://repo1.maven.org/maven2/com/android/support/test/rules/0.4/rules-0.4.jar
             file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/test/rules/0.4/rules-0.4.pom
             file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/test/rules/0.4/rules-0.4.jar
             file:/usr/local/opt/android-sdk/extras/google/m2repository/com/android/support/test/rules/0.4/rules-0.4.pom
             file:/usr/local/opt/android-sdk/extras/google/m2repository/com/android/support/test/rules/0.4/rules-0.4.jar
         Required by:
             java:MapboxGLAndroidSDKTestApp:unspecified
       > Could not find com.android.support.test.espresso:espresso-core:2.2.1.
         Searched in the following locations:
             https://maven.fabric.io/public/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.pom
             https://maven.fabric.io/public/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.jar
             https://repo1.maven.org/maven2/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.pom
             https://repo1.maven.org/maven2/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.jar
             file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.pom
             file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.jar
             file:/usr/local/opt/android-sdk/extras/google/m2repository/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.pom
             file:/usr/local/opt/android-sdk/extras/google/m2repository/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.jar
         Required by:
             java:MapboxGLAndroidSDKTestApp:unspecified
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    BUILD FAILED
    
    Total time: 9.05 secs
    make: *** [android] Error 1
    
  4. ljbade commented on Sep 17, 2015

    @ljbade
    Contributor

    Are we missing an Android SDK module in Travis?

  5. incanus commented on Sep 17, 2015

    @incanus
    ContributorAuthor

    This is local to my machine after make distclean.

  6. ljbade commented on Sep 17, 2015

    @ljbade
    Contributor

    Hmm

  7. ljbade commented on Sep 17, 2015

    @ljbade
    Contributor
    file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.pom
    file:/usr/local/opt/android-sdk/extras/android/m2repository/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.jar
    file:/usr/local/opt/android-sdk/extras/google/m2repository/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.pom
    file:/usr/local/opt/android-sdk/extras/google/m2repository/com/android/support/test/espresso/espresso-core/2.2.1/espresso-core-2.2.1.jar
    
  8. ljbade commented on Sep 17, 2015

    @ljbade
    Contributor

    Sounds like it is a SDK component that is missing ^

  9. ljbade commented on Sep 17, 2015

    @ljbade
    Contributor

    Let me try a build here

  10. ljbade commented on Sep 17, 2015

    @ljbade
    Contributor

    @incanus Can you check if you have these files:
    image

    If not try checking Android SDK manager to see if you need to update the Android Support Repository

  11. incanus commented on Sep 17, 2015

    @incanus
    ContributorAuthor

    Yep, got an update to version 20. Sorry about that; now at least I have this ticket as reference for what to do in these instances. Thanks @ljbade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Androidbuild

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions