Skip to content

Could not find com.speedchecker:android-sdk:4.2.219. #7

Open

Description

@zekoliman

Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:processDebugResources'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
Could not find com.speedchecker:android-sdk:4.2.219.
Searched in the following locations:
- https://oss.sonatype.org/content/repositories/snapshots/com/speedchecker/android-sdk/4.2.219/android-sdk-4.2.219.pom
- https://repo.maven.apache.org/maven2/com/speedchecker/android-sdk/4.2.219/android-sdk-4.2.219.pom
- file:/Users/zekican/Desktop/repolarim/newpusulam/node_modules/jsc-android/dist/com/speedchecker/android-sdk/4.2.219/android-sdk-4.2.219.pom
- https://dl.google.com/dl/android/maven2/com/speedchecker/android-sdk/4.2.219/android-sdk-4.2.219.pom
- https://www.jitpack.io/com/speedchecker/android-sdk/4.2.219/android-sdk-4.2.219.pom
Required by:
project :app > project :speedchecker_react-native-plugin

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 12s

info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Activity

  1. bartlenaerts commented on Jul 2, 2024

    @bartlenaerts

    +1 having the same issue

  2. bartlenaerts commented on Jul 8, 2024

    @bartlenaerts

    @mmh-dev , any progress on this?

  3. mmh-dev commented on Jul 8, 2024

    @mmh-dev
    Collaborator
  4. bartlenaerts commented on Jul 9, 2024

    @bartlenaerts

    @mmh-dev , who do we need to trigger? It's greyed out...

  5. Adam014 commented on Jul 9, 2024

    @Adam014

    Having the same issue as @zekoliman

  6. Adam014 commented on Jul 9, 2024

    @Adam014

    Have anybody solved this or used another library for this feature?

  7. bartlenaerts commented on Jul 15, 2024

    @bartlenaerts

    Solved it!

    First, add the package expo-build-properties (to package.json).

    Second, add the MavenRepo from Speedchecker to plugins in app.json:

        "plugins": [
          [
            "expo-build-properties",
            {
              "android": {
                "extraMavenRepos": [
                  {
                    "credentials": {
                      "password": "AP3Zg8iFoiatscExgkeMHP3ur9EcsNkbxC8e6gXr8QV9PeWtiAVM3pETm8pF",
                      "username": "speedchecker"
                    },
                    "url": "https://maven.speedcheckerapi.com/artifactory/libs-release"
                  }
                ]
              }
            }
          ],
          "expo-location",
          "expo-router",
          "expo-tracking-transparency"
        ],
    
  8. zekoliman commented on Jul 15, 2024

    @zekoliman
    Author

    Since the package doesn't work, I download a file manually and measure the speed @Adam014

  9. Adam014 commented on Jul 21, 2024

    @Adam014

    @zekoliman Alright, thanks. Not a way for me, but thanks for the heads up.

  10. Adam014 commented on Aug 4, 2024

    @Adam014

    Solved it!

    First, add the package expo-build-properties (to package.json).

    Second, add the MavenRepo from Speedchecker to plugins in app.json:

        "plugins": [
          [
            "expo-build-properties",
            {
              "android": {
                "extraMavenRepos": [
                  {
                    "credentials": {
                      "password": "AP3Zg8iFoiatscExgkeMHP3ur9EcsNkbxC8e6gXr8QV9PeWtiAVM3pETm8pF",
                      "username": "speedchecker"
                    },
                    "url": "https://maven.speedcheckerapi.com/artifactory/libs-release"
                  }
                ]
              }
            }
          ],
          "expo-location",
          "expo-router",
          "expo-tracking-transparency"
        ],
    

    Yep, i cant get this working with your answer. Any suggestions?

  11. j2pb commented on Aug 5, 2024

    @j2pb

    +1 same issue here!

  12. Adam014 commented on Aug 6, 2024

    @Adam014

    @mmh-dev

    Who we need to email to about this plugin? The emails are greyed out.

  13. Florent75 commented on Oct 24, 2024

    @Florent75

    Hey there,
    I have succeeded to make the compilation by downloading manually the android-sdk and putting it my local directory.
    the local directory where the package is searching is specified at the location in the error logs :
    "file:/Users/zekican/Desktop/repolarim/newpusulam/node_modules/jsc-android/dist/com/speedchecker/android-sdk/4.2.219/android-sdk-4.2.219.pom"

    You should put in this directory both the .pom file and the .aar file

    This is a workaround of course

  14. Adam014 commented on Oct 24, 2024

    @Adam014

    Yeah this isnt fittable for us, but thanks for the heads up! Probably will create new library for this on npm when the feature we will need to implement again.

  15. Florent75 commented on Oct 25, 2024

    @Florent75

    Hi Adam,
    I did find the solution if you are interested :
    copy past the following part in your build.gradle of your app directory :

    repositories {
    maven {
    url 'https://maven.speedcheckerapi.com/artifactory/libs-release'
    credentials {
    username = "speedchecker"
    password = "AP3Zg8iFoiatscExgkeMHP3ur9EcsNkbxC8e6gXr8QV9PeWtiAVM3pETm8pF"
    }
    }
    }

  16. Adam014 commented on Oct 25, 2024

    @Adam014

    Thanks, will try!

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions