java_objectc

java

坑一 minSdkVersion 19

➜  java_objectc flutter run
Multiple devices found:
sdk gphone x86 (mobile) • emulator-5554                        • android-x86 • Android 11 (API 30) (emulator)
iPhone 8 Plus (mobile)  • C235F27E-F408-44E4-8223-43F4C4846E28 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
[1]: sdk gphone x86 (emulator-5554)
[2]: iPhone 8 Plus (C235F27E-F408-44E4-8223-43F4C4846E28)
Please choose one (To quit, press "q/Q"): 1
Running "flutter pub get" in java_objectc...                           ⣟1,411ms
Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on sdk gphone x86 in debug mode...
/Users/swot/learn/flutter/java_objectc/android/app/src/debug/AndroidManifest.xml Error:uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:flutter_plugin_record] /Users/swot/learn/flutter/java_objectc/build/flutter_plugin_record/intermediates/library_manifest/debug/AndroidManifest.xml as the library might be using APIs not available in 16Suggestion: use a compatible library with a minSdk of at most 16,or increase this project's minSdk version to at least 19,or use tools:overrideLibrary="record.wilson.flutter.com.flutter_plugin_record" to force usage (may lead to runtime failures)FAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:flutter_plugin_record] /Users/swot/learn/flutter/java_objectc/build/flutter_plugin_record/intermediates/library_manifest/debug/AndroidManifest.xml as the library might be using APIs not available in 16Suggestion: use a compatible library with a minSdk of at most 16,or increase this project's minSdk version to at least 19,or use tools:overrideLibrary="record.wilson.flutter.com.flutter_plugin_record" to force usage (may lead to runtime failures)* 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.orgBUILD FAILED in 37s
Running Gradle task 'assembleDebug'...                             67.5sThe plugin flutter_plugin_record requires a higher Android SDK version.
Fix this issue by adding the following to the file /Users/swot/learn/flutter/java_objectc/android/app/build.gradle:
android {defaultConfig {minSdkVersion 19}
}Note that your app won't be available to users running Android SDKs below 19.
Alternatively, try to find a version of this plugin that supports these lower versions of the Android SDK.
Exception: Gradle task assembleDebug failed with exit code 1

处理 minSdkVersion 19

nvim /Users/swot/learn/flutter/java_objectc/android/app/build.gradle

change 16 to 19

minSdkVersion 16
minSdkVersion 19

坑二 add ‘tools:replace=“android:label”’

➜  java_objectc flutter run
Multiple devices found:
sdk gphone x86 (mobile) • emulator-5554                        • android-x86 • Android 11 (API 30) (emulator)
iPhone 8 Plus (mobile)  • C235F27E-F408-44E4-8223-43F4C4846E28 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
[1]: sdk gphone x86 (emulator-5554)
[2]: iPhone 8 Plus (C235F27E-F408-44E4-8223-43F4C4846E28)
Please choose one (To quit, press "q/Q"): 1
Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on sdk gphone x86 in debug mode...
/Users/swot/learn/flutter/java_objectc/android/app/src/debug/AndroidManifest.xml:4:9-37 Error:Attribute application@label value=(java_objectc) from AndroidManifest.xml:4:9-37is also present at [com.github.adrielcafe:AndroidAudioConverter:0.0.8] AndroidManifest.xml:11:18-50 value=(@string/app_name).Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:3:4-40:19 to override.FAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : Attribute application@label value=(java_objectc) from AndroidManifest.xml:4:9-37is also present at [com.github.adrielcafe:AndroidAudioConverter:0.0.8] AndroidManifest.xml:11:18-50 value=(@string/app_name).Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:3:4-40:19 to override.* 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.orgBUILD FAILED in 34s
Running Gradle task 'assembleDebug'...                             64.6s
Exception: Gradle task assembleDebug failed with exit code 1

处理 add ‘tools:replace=“android:label”’

nvim android/app/src/debug/AndroidManifest.xml

更改内容如下:

package="com.example.java_objectc"> 更改为
package="com.example.java_objectc" xmlns:tools="http://schemas.android.com/tools">
注意项目名称要对应新增一行:
<application tools:replace="android:label" android:label="@string/app_name"></application>

坑三 Error while merging dex archives:

D8: Cannot fit requested classes in a single dex file (# methods: 70322 > 65536)
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
The number of method references in a .dex file cannot exceed 64K.......FAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':app:mergeDexDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:The number of method references in a .dex file cannot exceed 64K.Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html

处理 Error while merging dex archives:

nvim /Users/swot/learn/flutter/java_objectc/android/app/build.gradle

defaultConfig 里新增一行

multiDexEnabled true

objectc

坑一 CocoaPods could not find compatible versions for pod “flutter_sound”:

[!] CocoaPods could not find compatible versions for pod "flutter_sound":In Podfile:flutter_sound (from `.symlinks/plugins/flutter_sound/ios`)Specs satisfying the `flutter_sound (from `.symlinks/plugins/flutter_sound/ios`)` dependency were found, but they required a higher minimum deployment target.......Error output from CocoaPods:
↳[!] `<PBXGroup UUID=`97C146E51CF9000F007C117D`>` attempted to initialize an object with an unknown UUID. `CF3B75C9A7D2FA2A4C99F110` for attribute: `children`. This can be the result of a merge and theunknown UUID is being discarded.[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See`https://guides.cocoapods.org/syntax/podfile.html#platform`.Error running pod install
Error launching application on iPhone 8 Plus.

处理 CocoaPods could not find compatible versions for pod “flutter_sound”:

原因:在新创建的项目中未指定 ios 平台的版本,则默认为 9.0,但是 flutter_sound 插件需要的版本是 10 以上

创建项目时默认的 iso 平台版本

v ios/Podfile# Uncomment this line to define a global platform for your project
# 配置被注释了
# platform :ios, '9.0'

flutter_sound 插件需要的 ios 平台版本是 10.0

v .symlinks/plugins/flutter_sound/ios/flutter_sound.podspec#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'flutter_sound's.version          = '8.4.2's.summary          = 'Flutter plugin that relates to sound like audio and recorder.'s.description      = <<-DESC
Flutter plugin that relates to sound like audio and recorder.DESCs.homepage         = 'https://github.com/dooboolab/flutter_sound/flutter_sound's.license          = { :file => '../LICENSE' }s.author           = { 'Dooboolab' => 'dooboolab@gmail.com' }s.source           = { :path => '.' }s.source_files = 'Classes/**/*'s.public_header_files = 'Classes/**/*.h's.dependency 'Flutter's.ios.deployment_target = '10.0'  插件需要的 ios 版本s.static_framework = trues.dependency 'flutter_sound_core', '8.4.2's.dependency 'mobile-ffmpeg-audio', '4.4.LTS'#s.dependency 'ffmpeg-kit-ios-full', '~> 4.4.LTS'
end

处理方法:将上面的 9.0 改成 10.0,并去掉注释。

坑二 you may set use_modular_headers! globally in your Podfile

    -> Installing webview_flutter_wkwebview (0.0.1)- Running pre install hooks[!] The following Swift pods cannot yet be integrated as static libraries:The Swift pod `DKPhotoGallery` depends upon `SDWebImage`, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building asstatic libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.

处理 you may set use_modular_headers! globally in your Podfile

nvim ios/Podfiletarget 'Runner' douse_modular_headers!  新增内容

坑三 warning: The iOS Simulator deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target ‘TXIMSDK_Plus_iOS’ from project

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'TXIMSDK_Plus_iOS' from project'Pods')

处理 坑三 warning: The iOS Simulator deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target ‘TXIMSDK_Plus_iOS’ from project

nvim ios/Podfiletarget 'Runner' douse_frameworks!  新增内容

还可以参考这个方法

https://www.jessesquires.com/blog/2020/07/20/xcode-12-drops-support-for-ios-8-fix-for-cocoapods/

The release notes for Xcode 12 beta state that the release “supports on-device debugging for iOS 9 and later, tvOS 9 and later, and watchOS 2 and later.” I am not sure if that means support for building and deploying for iOS 8 is completely removed, but it sounds like it. Who is still deploying to iOS 8, anyway?

If you are using CocoaPods with Xcode 12 beta, then you have probably seen this error:

The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.

This is happening because support for iOS 8 has been dropped, but the minimum deployment target for the pod is iOS 8. This older GitHub issue on CocoaPods discusses this a bit, as well as this recently opened issue. Note that even if your minimum deployment target is greater than iOS 8, you will still see this error.

Until this is fixed in CocoaPods, you can add the following to your Podfile as a workaround:

post_install do |installer|installer.pods_project.targets.each do |target|target.build_configurations.each do |config|config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'endend
end

This will remove all deployment target settings from all of the pods in your project, which allows them to simply inherit the project/workspace deployment target that you have specified at the top of your Podfile.

java_swift

java 同 java_objectc

swift

坑一 CocoaPods could not find compatible versions for pod “flutter_sound”:

[!] CocoaPods could not find compatible versions for pod "flutter_sound":In Podfile:flutter_sound (from `.symlinks/plugins/flutter_sound/ios`)Specs satisfying the `flutter_sound (from `.symlinks/plugins/flutter_sound/ios`)` dependency were found, but they required a higher minimum deployment target.......Error output from CocoaPods:
↳[!] `<PBXGroup UUID=`97C146E51CF9000F007C117D`>` attempted to initialize an object with an unknown UUID. `CF3B75C9A7D2FA2A4C99F110` for attribute: `children`. This can be the result of a merge and theunknown UUID is being discarded.[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See`https://guides.cocoapods.org/syntax/podfile.html#platform`.Error running pod install
Error launching application on iPhone 8 Plus.

处理 CocoaPods could not find compatible versions for pod “flutter_sound”:

原因:在新创建的项目中未指定 ios 平台的版本,则默认为 9.0,但是 flutter_sound 插件需要的版本是 10 以上

创建项目时默认的 iso 平台版本

v ios/Podfile# Uncomment this line to define a global platform for your project
# 配置被注释了
# platform :ios, '9.0'

flutter_sound 插件需要的 ios 平台版本是 10.0

v .symlinks/plugins/flutter_sound/ios/flutter_sound.podspec#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'flutter_sound's.version          = '8.4.2's.summary          = 'Flutter plugin that relates to sound like audio and recorder.'s.description      = <<-DESC
Flutter plugin that relates to sound like audio and recorder.DESCs.homepage         = 'https://github.com/dooboolab/flutter_sound/flutter_sound's.license          = { :file => '../LICENSE' }s.author           = { 'Dooboolab' => 'dooboolab@gmail.com' }s.source           = { :path => '.' }s.source_files = 'Classes/**/*'s.public_header_files = 'Classes/**/*.h's.dependency 'Flutter's.ios.deployment_target = '10.0'  插件需要的 ios 版本s.static_framework = trues.dependency 'flutter_sound_core', '8.4.2's.dependency 'mobile-ffmpeg-audio', '4.4.LTS'#s.dependency 'ffmpeg-kit-ios-full', '~> 4.4.LTS'
end

处理方法:将上面的 9.0 改成 10.0,并去掉注释。

没有坑二

坑三 warning: The iOS Simulator deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target ‘TXIMSDK_Plus_iOS’ from project

warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'TXIMSDK_Plus_iOS' from project'Pods')

处理 坑三 warning: The iOS Simulator deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target ‘TXIMSDK_Plus_iOS’ from project

nvim ios/Podfiletarget 'Runner' douse_frameworks!  新增内容

还可以参考这个方法

https://www.jessesquires.com/blog/2020/07/20/xcode-12-drops-support-for-ios-8-fix-for-cocoapods/

The release notes for Xcode 12 beta state that the release “supports on-device debugging for iOS 9 and later, tvOS 9 and later, and watchOS 2 and later.” I am not sure if that means support for building and deploying for iOS 8 is completely removed, but it sounds like it. Who is still deploying to iOS 8, anyway?

If you are using CocoaPods with Xcode 12 beta, then you have probably seen this error:

The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.

This is happening because support for iOS 8 has been dropped, but the minimum deployment target for the pod is iOS 8. This older GitHub issue on CocoaPods discusses this a bit, as well as this recently opened issue. Note that even if your minimum deployment target is greater than iOS 8, you will still see this error.

Until this is fixed in CocoaPods, you can add the following to your Podfile as a workaround:

post_install do |installer|installer.pods_project.targets.each do |target|target.build_configurations.each do |config|config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'endend
end

This will remove all deployment target settings from all of the pods in your project, which allows them to simply inherit the project/workspace deployment target that you have specified at the top of your Podfile.

kotlin_objectc

kotlin

坑一 minSdkVersion 19

➜  java_objectc flutter run
Multiple devices found:
sdk gphone x86 (mobile) • emulator-5554                        • android-x86 • Android 11 (API 30) (emulator)
iPhone 8 Plus (mobile)  • C235F27E-F408-44E4-8223-43F4C4846E28 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
[1]: sdk gphone x86 (emulator-5554)
[2]: iPhone 8 Plus (C235F27E-F408-44E4-8223-43F4C4846E28)
Please choose one (To quit, press "q/Q"): 1
Running "flutter pub get" in java_objectc...                           ⣟1,411ms
Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on sdk gphone x86 in debug mode...
/Users/swot/learn/flutter/java_objectc/android/app/src/debug/AndroidManifest.xml Error:uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:flutter_plugin_record] /Users/swot/learn/flutter/java_objectc/build/flutter_plugin_record/intermediates/library_manifest/debug/AndroidManifest.xml as the library might be using APIs not available in 16Suggestion: use a compatible library with a minSdk of at most 16,or increase this project's minSdk version to at least 19,or use tools:overrideLibrary="record.wilson.flutter.com.flutter_plugin_record" to force usage (may lead to runtime failures)FAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:flutter_plugin_record] /Users/swot/learn/flutter/java_objectc/build/flutter_plugin_record/intermediates/library_manifest/debug/AndroidManifest.xml as the library might be using APIs not available in 16Suggestion: use a compatible library with a minSdk of at most 16,or increase this project's minSdk version to at least 19,or use tools:overrideLibrary="record.wilson.flutter.com.flutter_plugin_record" to force usage (may lead to runtime failures)* 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.orgBUILD FAILED in 37s
Running Gradle task 'assembleDebug'...                             67.5sThe plugin flutter_plugin_record requires a higher Android SDK version.
Fix this issue by adding the following to the file /Users/swot/learn/flutter/java_objectc/android/app/build.gradle:
android {defaultConfig {minSdkVersion 19}
}Note that your app won't be available to users running Android SDKs below 19.
Alternatively, try to find a version of this plugin that supports these lower versions of the Android SDK.
Exception: Gradle task assembleDebug failed with exit code 1

处理 minSdkVersion 19

nvim /Users/swot/learn/flutter/java_objectc/android/app/build.gradle

change 16 to 19

minSdkVersion 16
minSdkVersion 19

坑二 add ‘tools:replace=“android:label”’

➜  java_objectc flutter run
Multiple devices found:
sdk gphone x86 (mobile) • emulator-5554                        • android-x86 • Android 11 (API 30) (emulator)
iPhone 8 Plus (mobile)  • C235F27E-F408-44E4-8223-43F4C4846E28 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
[1]: sdk gphone x86 (emulator-5554)
[2]: iPhone 8 Plus (C235F27E-F408-44E4-8223-43F4C4846E28)
Please choose one (To quit, press "q/Q"): 1
Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on sdk gphone x86 in debug mode...
/Users/swot/learn/flutter/java_objectc/android/app/src/debug/AndroidManifest.xml:4:9-37 Error:Attribute application@label value=(java_objectc) from AndroidManifest.xml:4:9-37is also present at [com.github.adrielcafe:AndroidAudioConverter:0.0.8] AndroidManifest.xml:11:18-50 value=(@string/app_name).Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:3:4-40:19 to override.FAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : Attribute application@label value=(java_objectc) from AndroidManifest.xml:4:9-37is also present at [com.github.adrielcafe:AndroidAudioConverter:0.0.8] AndroidManifest.xml:11:18-50 value=(@string/app_name).Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:3:4-40:19 to override.* 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.orgBUILD FAILED in 34s
Running Gradle task 'assembleDebug'...                             64.6s
Exception: Gradle task assembleDebug failed with exit code 1

处理 add ‘tools:replace=“android:label”’

nvim android/app/src/debug/AndroidManifest.xml

更改内容如下:

package="com.example.java_objectc"> 更改为
package="com.example.java_objectc" xmlns:tools="http://schemas.android.com/tools">
注意项目名称要对应新增一行:
<application tools:replace="android:label" android:label="@string/app_name"></application>

坑三 Error while merging dex archives:

D8: Cannot fit requested classes in a single dex file (# methods: 70322 > 65536)
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
The number of method references in a .dex file cannot exceed 64K.......FAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':app:mergeDexDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:The number of method references in a .dex file cannot exceed 64K.Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html

处理 Error while merging dex archives:

nvim /Users/swot/learn/flutter/java_objectc/android/app/build.gradle

defaultConfig 里新增一行

multiDexEnabled true

坑四 The binary version of its metadata is 1.5.1, expected version is 1.1.15

e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: /Users/swot/.gradle/caches/transforms-2/files-2.1/24fa3aa8d2270e5eb067bbe36e9b7563/jetified-kotlin-stdlib-1.5.10.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.

处理 kotlin 版本问题

  1. 查看 Android Studio 中 Kotlin 版本

    上图举例中的版本为 1.5.31

  2. 查看项目指定 cotlin 版本

      vim android/build.gradlebuildscript {ext.kotlin_version = '1.3.50'  更改为ext.kotlin_version = '1.5.31'
    
  3. 尝试在 Android Studio 中开关 Kotlin 插件

  4. 执行 flutter clean

  5. 再执行 flutter run 试试

坑五 Gradle threw an error while downloading artifacts from the network

Gradle threw an error while downloading artifacts from the network. Retrying to download...
Exception: Gradle task assembleDebug failed with exit code 1

执行 flutter run -v 时发现是在下载下面 zip 包时报错

[ +239 ms] Downloading https://services.gradle.org/distributions/gradle-6.7-all.zip

处理 Gradle 版本低的问题

https://stackoverflow.com/questions/61986128/gradle-threw-an-error-while-downloading-artifacts-from-the-network-exception

Do follow some steps:

  1. Go to flutter_app => android => gradle => wrapper directory
  2. Delete gradle-wrapper.jar file
  3. Open and edit gradle-wrapper.properties file
  4. Change distributionUrl=https://services.gradle.org/distributions/gradle-x.x.x-all.zip to gradle-7.2-all.zip or latest
  5. On terminal use flutter run command

在我的测试项目中举例如下:

distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip  更改为distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip

坑六 Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details

Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details

处理:

cd /Users/swot/.gradle/daemon
删除里面的版本目录,如 7.2

或者重启电脑,Gradle Daemon 就没有了。

坑七 Starting a Gradle Daemon (subsequent builds will be faster)

等着吧……,大约半小时左右。看网速,看机器配置。

kotlin_swift 上面的三个都解决了,这个就不用解决了

Flutter 集成腾迅 IM Demo 时不同的编译配置的连环坑 2021-12-17相关推荐

  1. 推送消息不打烊--Flutter集成个推SDK实现Android和IOS原生推送

    theme: condensed-night-purple highlight: a11y-dark 嗨!这里是甜瓜看代码,大家五一快乐呀,这篇文章跟大家聊聊怎么集成个推. Flutter集成个推SD ...

  2. Flutter集成个推推送-安卓原生篇

    前言 在众多的集成化推送中选择了个推,个推在flutter集成中还是比较简单的,只需要跟着官网一步一步走就可以了.今天这篇文章不涉及到flutter项目个推的集成,只是记录个推离线走安卓厂商时,进行获 ...

  3. Flutter集成推送功能-小米推送集成

    Dart4Flutter -01 – 变量, 类型和 函数 Dart4Flutter – 02 –控制流 和异常 Dart4Flutter – 03 – 类和泛型 Dart4Flutter – 04 ...

  4. Android极光推送厂商离线通道集成文档及flutter集成总结

    <极光推送厂商离线通道集成文档> flutter集成指南 1.Android端配置 gradle配置 //极光推送def jpushVersion = '4.4.0'implementat ...

  5. flutter集成百度离线人脸识别

    flutter集成百度离线人脸识别 概述 最近公司项目有人脸认证.活体检测的需求,原声的不要拿手,只能翻阅各位大佬的轮子:最终尝试出来百度的离线活体检测方案可用. 第一步 flutter_bdface ...

  6. Flutter集成Unity

    前言: 最近做项目时需要用到Flutter来做跨平台开发,但是项目中又用到了虚拟场景,这样一来就涉及到了Unity,那么总结下来便是用AndroidStudio来创建Flutter项目,将Unity项 ...

  7. web.config中的globalization 标签在将几个不同服务器上的网闸内容以统一面貌集成在自己网站上时的要考虑的问题

    今天,忽然发现web.config中的<globalization >标签的重要,尤其是在将几个不同服务器上的网闸内容以统一面貌集成在自己网站上时,容易出错,例如下面: --------- ...

  8. 使用 Flask 框架写用户登录功能的Demo时碰到的各种坑(一)——创建应用

    使用 Flask 框架写用户登录功能的Demo时碰到的各种坑(一)--创建应用 使用 Flask 框架写用户登录功能的Demo时碰到的各种坑(二)--使用蓝图功能进行模块化 使用 Flask 框架写用 ...

  9. flutter集成高德地图获取位置

    flutter集成高德地图获取位置 准备工作 在创建安卓应用 获取SHA1 获取当前位置 添加依赖 文件配置 build.gradle文件配置 AndroidManifest.xml配置 获取定位 准 ...

最新文章

  1. 关于Aptana studio工具
  2. 如何将 AI 应用于高考?辽宁使用 AI 技术进行高考违规行为异常检测!
  3. Docker创建自己的github(Gitea)
  4. 通俗讲解傅里叶变换fft
  5. 版本效果MoonWarrior cocos2d-x版本 --1
  6. RIM发警告 部分黑莓手机存在安全漏洞
  7. 自制仿360首页支持拼音输入全模糊搜索和自动换肤
  8. linux nfs 无法写入,无法写入挂载点(nfs-server),获得“权限被拒绝”
  9. SQL Alias(别名)
  10. 基于以太坊的去中心化存储协议Swarm计划在2季度发布1.0版
  11. CodeForces-4C Registration system
  12. oracle 10g ocp 047解析(精简版),Oracle 10g OCP题库解析(042、043、047)(转载)
  13. 通用线性模型(GLMs,Generalized Linear Models)
  14. Java实现二手交易系统
  15. 自定义向PE启动映像WIM中添加驱动方法
  16. 解决VS Code 运行 “conda : The term ‘conda‘ is not recognized as the name of a cmdlet, function, script “
  17. H.265及最新芯片模组技术现状和研究方向
  18. ipad如何与计算机连接网络连接不上,平板电脑可以连接无线网络但上不了网如何解决...
  19. 第六章.决策树(Decision Tree)—CART算法
  20. OJ每日一练——边防哨口令

热门文章

  1. 达特茅斯计算机专业师资力量如何,达特茅斯学院计算机信息介绍 优势专业选到就是赚到...
  2. 【新生请继续猛击】NEW COMER SECOND BLOOD 完全题解及代码
  3. 计算机专业毕业祝福语,祝考试成功的60句祝福语
  4. ArrayList常用方法
  5. 5G技术关键里程碑-3GPP Release 17标准完成
  6. idea 根目录获取方法
  7. SpringBoot添加自定义消息转换器
  8. 【历史上的今天】2 月 16 日:世界上第一个 BBS 诞生;中国计算机教育开端;IBM 机器人赢得智能竞赛
  9. win7 如何设置快速启动栏
  10. menuconfig的配置