草庐IT

versionable

全部标签

dart - flutter 错误 : The current Flutter SDK version is 2. 1.0-dev.0.0.flutter-be6309690f

我刚刚升级了我的flutter,升级后我无法在我的AndroidStudio上运行任何flutter项目。我收到此错误消息。ThecurrentDartSDKversionis2.1.0-dev.0.0.flutter-be6309690f.Becausebuddydependsonflutter_built_redux0.4.5whichrequiresSDKversion>=1.19.0如何降级Dart或如何解决此问题,我在mac上运行androidstudio。我已经尝试通过更改flutterchanneldev和master但它没有任何区别。flutter医生-v结果:[✓]F

ios - Flutter - SWIFT_VERSION 必须设置为支持的值

尝试库simple_permission,修复了pod错误,但出现了这个问题,不知道如何继续。BuildSettings里面没有设置swift版本,我试过加了,还是不行。Launchinglib/main.dartoniPhoneXindebugmode...Skippingcompilation.Fingerprintmatch.RunningXcodeclean...StartingXcodebuild...Xcodebuilddone.FailedtobuildiOSappErroroutputfromXcodebuild:↳**BUILDFAILED**Xcode'soutpu

android - Kotlin 编译 "ERROR: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher."但 build.gradle 中没有 kotlin_version?

我尝试克隆和构建这个项目,https://github.com/mitrejcevski/ui-testing,但在AndroidStudio中打开它时,出现以下构建错误:ERROR:TheAndroidGradlepluginsupportsonlyKotlinGradlepluginversion1.3.0andhigher.Thefollowingdependenciesdonotsatisfytherequiredversion:rootproject'ui-testing'->org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.21Af

java - 错误 : The Android Gradle plugin supports only Kotlin Gradle plugin version 1. 3.0 及更高版本

请问我该如何解决这个错误?ERROR:TheAndroidGradlepluginsupportsonlyKotlinGradlepluginversion1.3.0andhigher.Thefollowingdependenciesdonotsatisfytherequiredversion:rootproject'android'->org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.6AffectedModules:android-appWARNING:Configuration'compile'isobsoleteandhasbeenre

Gradle Kotlin DSL : Define Kotlin version in unique place

为了描述Gradle构建脚本,我们可以通过build.gradle.kts使用Kotlin文件。在dependencies中全局定义要使用的Kotlin版本是一个常见问题。以及构建plugin部分(在给定的情况下使用不同的版本是相当少见的)。考虑以下代码(Gradle4.3.1):plugins{varpluginVersion="1.2.30"kotlin("jvm").version(kotlinVersion)//more}vardependencyVersion="1.2.30"dependencies{compile(kotlin("stdlib",kotlinVersion

android - 警告 : warning: Supported source version 'RELEASE_7' from annotation processor 'android.arch.lifecycle.LifecycleProcessor' less than -source '1.8'

尝试使用带有架构组件和Kotlin的AndroidStudio3Canary5构建示例会出现此警告。谁能告诉我原因?谢谢,欧维编辑#1:这是DanLew不久前制作的样本https://github.com/dlew/android-architecture-counter-samplebuild.gradle:applyplugin:'com.android.application'applyplugin:'kotlin-android'applyplugin:'kotlin-kapt'android{compileSdkVersion25buildToolsVersionrootPr

kotlin - 警告 : Kotlin runtime JAR files in the classpath should have the same version

我收到以下警告,但我不确定v1.0.6位于何处。这个错误是否可能来自包含旧Kotlin版本的Kotlin库?任何想法如何解决它,或者至少我可以如何按照建议明确kotlin-reflect(1.1)? 最佳答案 您的项目似乎配置为依赖于kotlin-stdlib1.1和kotlin-reflect1.0。最可能的情况是您已经明确依赖于kotlin-stdlib1.1,但不依赖于kotlin-reflect和其他一些库(您所依赖的)依赖于kotlin-reflect1.0.如果确实如此,解决方案是提供对kotlin-reflect1.1

android - 错误 : fix the version conflict (google-services plugin)

根据thisSO线程,我知道存在版本冲突,但在谷歌发布新版本后问题仍然存在。Error:Executionfailedfortask':app:processDebugGoogleServices'.Pleasefixtheversionconflicteitherbyupdatingtheversionofthegoogle-servicesplugin(informationaboutthelatestversionisavailableathttps://bintray.com/android/android-tools/com.google.gms.google-service

android - "No cached version... available for offline mode."

我在AndroidStudio中构建新的HelloWorld项目时收到一条错误消息:FAILURE:Buildfailedwithanexception.*Whatwentwrong:Aproblemoccurredconfiguringrootproject'MyApplication2'.>Couldnotresolvealldependenciesforconfiguration':classpath'.>Couldnotresolvecom.android.tools.build:gradle:0.9.1.Requiredby::MyApplication2:unspecifi

android - 手动安装更新的 APK 失败并显示 "signatures do not match the previously installed version"

我创建了一个愚蠢的应用程序来与几个friend分享。无需在应用商店上架。我构建了第一个apk(已签名),将其上传到网络服务器,一切正常。出现了一个小问题,我修复了它,重新构建,使用相同的keystore签名并再次上传。现在看来我无法从新的apk安装。调试器告诉我:signaturesdonotmatchthepreviouslyinstalledversion所以我通过打开应用程序抽屉并将其拖到“卸载”按钮上来卸载旧版本。打开“设置->应用程序”时,我再也看不到它了。我在我的设备上没有看到任何应用程序的痕迹。但我仍然收到上述错误消息。是否有可能一些信息仍然在设备的某个地方徘徊?有什么方