You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing an issue integrating the Huawei App Linking SDK into my Flutter project, specifically with the version 1.6.0.300. Despite following the standard setup procedures and ensuring correct configuration of repositories and dependencies, the SDK cannot be resolved by Gradle. Below, I provide a detailed account of my development environment, the problematic behavior, and previous successful integrations with other Huawei SDKs.
Development Environment:
Flutter Version: 3.24.5
Gradle Version: 8.10.2 (distribution URL: https://services.gradle.org/distributions/gradle-8.10.2-all.zip)
AG Connect Plugin Version: agconnect_applinking: ^1.9.0+300
Android Studio Version: (Android Studio Ladybug | 2024.2.1 Patch 3)
Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'.
Could not find com.huawei.agconnect:applinking:1.6.0.300.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/huawei/agconnect/applinking/1.6.0.300/applinking-1.6.0.300.pom
- https://repo.maven.apache.org/maven2/com/huawei/agconnect/applinking/1.6.0.300/applinking-1.6.0.300.pom
- https://jcenter.bintray.com/com/huawei/agconnect/applinking/1.6.0.300/applinking-1.6.0.300.pom
- https://developer.huawei.com/repo/com/huawei/agconnect/applinking/1.6.0.300/applinking-1.6.0.300.pom
- https://storage.googleapis.com/download.flutter.io/com/huawei/agconnect/applinking/1.6.0.300/applinking-1.6.0.300.pom
- https://pkgs.dev.azure.com/MicrosoftDeviceSDK/DuoSDK-Public/_packaging/Duo-SDK-Feed/maven/v1/com/huawei/agconnect/applinking/1.6.0.300/applinking-1.6.0.300.pom
Required by:
project :app
Previous Successful Integrations: I have successfully integrated other Huawei services, including the Huawei SDK, Huawei Push, and Huawei Analytics, without encountering similar issues. This suggests that the problem is specific to the App Linking SDK or its particular version.
Troubleshooting Steps Taken:
Verified the version number and availability of com.huawei.agconnect:applinking:1.6.0.300 on the Huawei Developer website.
Cleared the Gradle cache and synchronized the project multiple times.
Attempted to build the project using different network environments to rule out network-related issues.
Reviewed and confirmed the repository URLs in the Gradle configuration files.
The persistence of this issue despite successful integrations with other Huawei components is puzzling!!!
Could anyone please provide guidance or assistance in resolving this specific SDK integration problem?
The text was updated successfully, but these errors were encountered:
AmrTawfek
changed the title
FLutter Build Fails with HMS Integration : Could not find com.huawei.agconnect:applinking:1.6.0.300.
FLutter Build Fails with Huawei DeepLinking Integration : Could not find com.huawei.agconnect:applinking:1.6.0.300.
Dec 13, 2024
I am experiencing an issue integrating the Huawei App Linking SDK into my Flutter project, specifically with the version 1.6.0.300. Despite following the standard setup procedures and ensuring correct configuration of repositories and dependencies, the SDK cannot be resolved by Gradle. Below, I provide a detailed account of my development environment, the problematic behavior, and previous successful integrations with other Huawei SDKs.
Development Environment:
Flutter Version: 3.24.5
Gradle Version: 8.10.2 (distribution URL: https://services.gradle.org/distributions/gradle-8.10.2-all.zip)
AG Connect Plugin Version: agconnect_applinking: ^1.9.0+300
Android Studio Version: (Android Studio Ladybug | 2024.2.1 Patch 3)
build.gradle Configuration:
Project Level (android/build.gradle):
allprojects { repositories { google() mavenCentral() jcenter() maven { url 'https://developer.huawei.com/repo/' } } }
App Module Level (android/app/build.gradle):
dependencies { implementation 'com.huawei.agconnect:applinking:1.6.0.300' }
Error Message
Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'.
Previous Successful Integrations: I have successfully integrated other Huawei services, including the Huawei SDK, Huawei Push, and Huawei Analytics, without encountering similar issues. This suggests that the problem is specific to the App Linking SDK or its particular version.
Troubleshooting Steps Taken:
Verified the version number and availability of com.huawei.agconnect:applinking:1.6.0.300 on the Huawei Developer website.
Cleared the Gradle cache and synchronized the project multiple times.
Attempted to build the project using different network environments to rule out network-related issues.
Reviewed and confirmed the repository URLs in the Gradle configuration files.
The persistence of this issue despite successful integrations with other Huawei components is puzzling!!!
Could anyone please provide guidance or assistance in resolving this specific SDK integration problem?
The text was updated successfully, but these errors were encountered: