Android Studio 4.1 ANDROID_AAPT_IGNORE
Android Studio 4.1 ANDROID_AAPT_IGNORE
当我切换到 Android Studio 4.1 时 https://github.com/MikeOrtiz/TouchImageView/pull/267/files
classpath 'com.android.tools.build:gradle:4.1.0-alpha10'
我运行成
https://github.com/MikeOrtiz/TouchImageView/pull/267/checks?check_run_id=737327676
> Could not resolve all dependencies for configuration ':app:releaseRuntimeClasspath'.
> Could not create task ':app:extractDeepLinksDebug'.
> Cannot obtain value from provider of environment variable 'ANDROID_AAPT_IGNORE' at configuration time.
Use a provider returned by 'forUseAtConfigurationTime()' instead.
也许有人知道如何摆脱它?
我也遇到同样的问题。
这似乎是 Gradle 个问题(也许应该打开错误报告)
我可以通过将 Gradle 版本降级到 6.5-milestone-1
来临时解决这个问题
我为此开了一个Google issue
根据https://issuetracker.google.com/issues/157583088中的信息
如果这是同一个问题,它应该在 AGP 4.1 beta 1 中得到修复,暂定于太平洋时间 6 月 10 日星期三上午 10 点发布。
当我切换到 Android Studio 4.1 时 https://github.com/MikeOrtiz/TouchImageView/pull/267/files
classpath 'com.android.tools.build:gradle:4.1.0-alpha10'
我运行成 https://github.com/MikeOrtiz/TouchImageView/pull/267/checks?check_run_id=737327676
> Could not resolve all dependencies for configuration ':app:releaseRuntimeClasspath'.
> Could not create task ':app:extractDeepLinksDebug'.
> Cannot obtain value from provider of environment variable 'ANDROID_AAPT_IGNORE' at configuration time.
Use a provider returned by 'forUseAtConfigurationTime()' instead.
也许有人知道如何摆脱它?
我也遇到同样的问题。 这似乎是 Gradle 个问题(也许应该打开错误报告)
我可以通过将 Gradle 版本降级到 6.5-milestone-1
来临时解决这个问题我为此开了一个Google issue
根据https://issuetracker.google.com/issues/157583088中的信息 如果这是同一个问题,它应该在 AGP 4.1 beta 1 中得到修复,暂定于太平洋时间 6 月 10 日星期三上午 10 点发布。