flutter_ali_auth icon indicating copy to clipboard operation
flutter_ali_auth copied to clipboard

Android Release 600017[Bug report]

Open littlefivening opened this issue 2 years ago • 3 comments

Version

0.7.0

Platforms

Android

Device Model

xiao mi (Android 12)

flutter info

[✓] Flutter (Channel stable, 3.13.4, on macOS 13.5 22G74 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.13.4 on channel stable at /Users/wuning/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 367f9ea16b (7 days ago), 2023-09-12 23:27:53 -0500
    • Engine revision 9064459a8b
    • Dart version 3.1.2
    • DevTools version 2.25.0

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/wuning/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.82.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (4 available)
    • iPhone测试 (mobile)          • 5225363e0ccb1ba45c093a4c51aa6f04ca9716e0 • ios            • iOS 16.3.1 20D67
    • iPhone 14 Pro Max (mobile) • 7AD633DA-085A-4B2B-A6D8-E8B0D53241B8     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4
      (simulator)
    • macOS (desktop)            • macos                                    • darwin-arm64   • macOS 13.5 22G74 darwin-arm64
    • Chrome (web)               • chrome                                   • web-javascript • Google Chrome 116.0.5845.187

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

How to reproduce?

In the Android version, the signatures of debug and release are consistent. When using the one-click login function, it can be used normally on debug. When using the release package, error 600017 will be reported. After some troubleshooting, I found that the parameters of initSDK are the same and the error message is ‘SDK null’

Logs

No response

Example code (optional)

No response

Contact

[email protected]

littlefivening avatar Sep 20 '23 08:09 littlefivening

同样遇到此问题,应该是插件在release打包时候进行了混淆导致的问题

ly962464 avatar Dec 13 '23 03:12 ly962464

已经解决 在android/app/build.gradle 中的 buildTypes =>release 配置中 将 minifyEnabled、shrinkResources 改成false,关闭打包体积压缩代码混淆即可

ly962464 avatar Dec 13 '23 05:12 ly962464

已经解决 在android/app/build.gradle 中的 buildTypes =>release 配置中 将 minifyEnabled、shrinkResources 改成false,关闭打包体积压缩代码混淆即可

请问有遇到release包不显示图片的问题吗?

657447158 avatar Dec 20 '23 07:12 657447158