speedchecker / react_plugin

BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

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

Open zekoliman opened 3 weeks ago

zekoliman commented 3 weeks ago

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.

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.

bartlenaerts commented 2 weeks ago

+1 having the same issue

bartlenaerts commented 1 week ago

@mmh-dev , any progress on this?

mmh-dev commented 1 week ago

Dear Bart,

I don't work on this project anymore, for all questions related to this plugin, please write to @. @.>

Best, Murod

On 8 Jul 2024, at 13:07, Bart Lenaerts @.***> wrote:

@mmh-dev https://github.com/mmh-dev , any progress on this?

— Reply to this email directly, view it on GitHub https://github.com/speedchecker/react_plugin/issues/7#issuecomment-2213201825, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOQOEAW2GAPQTYRLEIBA3ALZLI3EPAVCNFSM6AAAAABJZRMFAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJTGIYDCOBSGU. You are receiving this because you were mentioned.

bartlenaerts commented 1 week ago

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

Adam014 commented 1 week ago

Having the same issue as @zekoliman

Adam014 commented 1 week ago

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

bartlenaerts commented 1 day ago

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"
    ],
zekoliman commented 1 day ago

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