嗨,我构建应用程序并上传到谷歌播放中心。我收到此错误!
错误 您的应用有一个版本代码为 1 的 apk,该 apk 请求 以下权限:android.permission.CAMERA。使用这些的应用 需要 APK 中的权限才能设置隐私政策。
但实际上我不使用相机或相机权限。 在AndroidManifest中.xml也只是android.permission.INTERNET
然后我从Flutter网站上读到Flutter Build Appbundle将为Armeabi-V7A(32位(和Arm64-V8A(64位(编译。
但我在 Play 管理中心收到了此警告
此版本不符合 Google Play 64 位要求
以下 APK 或应用捆绑包适用于 64 位设备,但 他们只有 32 位本机代码:1。
请帮我解决这两个问题:(
颤振医生
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.18362.207], locale en-ID)
• Flutter version 1.5.4-hotfix.2 at C:flutter
• Framework revision 7a4c33425d (2 months ago), 2019-04-29 11:05:24 -0700
• Engine revision 52c7a1e849
• Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
• Android SDK at C:UsersKLIK-EATAppDataLocalAndroidsdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.0
• Java binary at: C:Program FilesAndroidAndroid Studiojrebinjava
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.4)
• Android Studio at C:Program FilesAndroidAndroid Studio
• Flutter plugin version 36.1.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[√] VS Code (version 1.36.0)
• VS Code at C:UsersKLIK-EATAppDataLocalProgramsMicrosoft VS Code
• Flutter extension version 3.2.0
[√] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
谢谢已经修复 1. 对于相机使用权限 android:name="android.permission.CAMERA" 工具:node="remove" 2. 对于 64 位捆绑包,我更新到最新的颤振稳定版,它构建 64。