Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Release 600017[Bug report] #29

Open
littlefivening opened this issue Sep 20, 2023 · 3 comments
Open

Android Release 600017[Bug report] #29

littlefivening opened this issue Sep 20, 2023 · 3 comments

Comments

@littlefivening
Copy link

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

1152104438@qq.com

@ly962464
Copy link

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

@ly962464
Copy link

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

@657447158
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants