flutter_trust_wallet_core icon indicating copy to clipboard operation
flutter_trust_wallet_core copied to clipboard

Could not resolve com.weishirongzhen:wallet-core:2.6.20.

Open sahibgun opened this issue 3 years ago • 3 comments

While Making the build for the android application I got the following error which is similar to #30 but now it is giving error of Bad Request.

Running Gradle task 'assembleDebug'... [!] Gradle threw an error while downloading artifacts from the network. Retrying to download...

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not resolve com.weishirongzhen:wallet-core:2.6.20. Required by: project :app > project :trust_wallet_core > Could not resolve com.weishirongzhen:wallet-core:2.6.20. > Could not get resource 'https://maven.pkg.github.com/weishirongzhen/wallet-core/com/weishirongzhen/wallet-core/2.6.20/wallet-core-2.6.20.pom'. > Could not GET 'https://maven.pkg.github.com/weishirongzhen/wallet-core/com/weishirongzhen/wallet-core/2.6.20/wallet-core-2.6.20.pom'. Received status code 400 from server: Bad Request

  • 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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 5s [!] Gradle threw an error while downloading artifacts from the network. Retrying to download... Exception: Gradle task assembleDebug failed with exit code 1

sahibgun avatar Nov 25 '21 12:11 sahibgun

currently there is a auth issue with this maven package, please use https://github.com/weishirongzhen/flutter_trust_wallet_core_lib_include instead.

weishirongzhen avatar Nov 25 '21 12:11 weishirongzhen

How to integrate it as the way used to integrate above-said package it increased my apk size from 24mb to 160 mb

sahibgun avatar Nov 26 '21 11:11 sahibgun

change build.gradle abi to build armv8 only may work.

weishirongzhen avatar Apr 12 '22 08:04 weishirongzhen