lurongshuang / ali_auth_person Goto Github PK
View Code? Open in Web Editor NEWflutter阿里金融级实人认证-身份证反正面-人脸识别
License: Other
flutter阿里金融级实人认证-身份证反正面-人脸识别
License: Other
亲爱的作者,我在尝试使用此插件时遇到了问题。
ali_auth_person: git: url: https://github.com/lurongshuang/ali_auth_person.git
`
以下是我Flutter Doctor运行结果:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.7, on Microsoft Windows [版本 10.0.19044.2251], locale zh-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.3)
[√] Connected device (3 available)
[!] HTTP Host Availability
X HTTP host "https://storage.fluter.io.cn" is not reachable. Reason: An error occurred while checking the HTTP host:
Failed host lookup: 'storage.fluter.io.cn'
`
Flutter version:
Flutter 3.3.7 • channel stable • https://github.com/flutter/flutter.git
Framework • revision e99c9c7cd9 (11 days ago) • 2022-11-01 16:59:00 -0700
Engine • revision 857bd6b74c
Tools • Dart 2.18.4 • DevTools 2.15.0
运行结果:
`
One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to E:\APP\Flutter\android\app\build.gradle:
android {
compileSdkVersion 33
...
}
FAILURE: Build failed with an exception.
Could not resolve all files for configuration ':ali_auth_person:debugCompileClasspath'.
Could not resolve io.flutter:flutter_embedding_debug:1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25.
Required by:
project :ali_auth_person
> Could not resolve io.flutter:flutter_embedding_debug:1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25.
> Could not get resource 'https://storage.fluter.io.cn/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25/flutter_embedding_debug-1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25.pom'.
> Could not GET 'https://storage.fluter.io.cn/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25/flutter_embedding_debug-1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25.pom'.
> ��֪�������������� (storage.fluter.io.cn)
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 29s
`
当我在对应的build.gradle中修改compileSdkVersion为33后会遇到下面的错误:
`
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
FAILURE: Build failed with an exception.
Could not resolve all files for configuration ':ali_auth_person:debugCompileClasspath'.
Could not resolve io.flutter:flutter_embedding_debug:1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25.
Required by:
project :ali_auth_person
> Could not resolve io.flutter:flutter_embedding_debug:1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25.
> Could not get resource 'https://storage.fluter.io.cn/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25/flutter_embedding_debug-1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25.pom'.
> Could not GET 'https://storage.fluter.io.cn/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25/flutter_embedding_debug-1.0.0-857bd6b74c5eb56151bfafe91e7fa6a82b6fee25.pom'.
> ��֪�������������� (storage.fluter.io.cn)
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 30s
`
我该怎么做?谢谢!
打包报这个错怎么解决?
FAILURE: Build failed with an exception.
Could not resolve all files for configuration ':ali_auth_person:releaseCompileClasspath'.
Failed to transform flutter.jar to match attributes {artifactType=android-classes-jar, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JetifyTransform: /Users/moac/Applications/flutter/bin/cache/artifacts/engine/android-arm/flutter.jar.
> Transform's input file does not exist: /Users/moac/Applications/flutter/bin/cache/artifacts/engine/android-arm/flutter.jar. (See https://issuetracker.google.com/issues/158753935)
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 8s
大佬,IOS点击实名认证的时候出现网络错误,怎么解决呀?
大佬 我在ios端 SDK调用了以后没有ui元素 拍照功能都正常 就是没有那些ui图标 不知道是哪里出了问题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.