相关疑难解决方法(0)

无法识别的属性名称 MODULE(类 com.sun.tools.javac.util.SharedNameTable$NameImpl)

我收到此构建错误,已将我的本机 android 项目更新为 Android S(android 12 的预发行版)。

谷歌搜索错误没有发现有价值的命中。几年前来自 Netbeans 的一击和一些 Xamarin 问题。

堆栈跟踪如下:

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':dependencies:android:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':dependencies:android:kaptDebugKotlin'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:200)
    at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263) …
Run Code Online (Sandbox Code Playgroud)

java android gradle kotlin

18
推荐指数
5
解决办法
3668
查看次数

无法找到 url(#pattern0) 的定义:Flutter 2.8.1

使用 null safe 升级 flutter 后我面临这个错误

\n
            'assets/images/bg111.svg',\n            height: MediaQuery.of(context).size.height,\n            width: MediaQuery.of(context).size.width,\n          ),```\n\nError:\n\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90 Exception caught by SVG \xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\nThe following assertion was thrown while parsing AssetBundlePictureKey(bundle: PlatformAssetBundle#0293d(), name: "assets/images/bg111.svg", colorFilter: null) in _getDefinitionPaint:\nFailed to find definition for url(#pattern0)\n
Run Code Online (Sandbox Code Playgroud)\n

plugins svg package flutter

0
推荐指数
1
解决办法
7555
查看次数

标签 统计

android ×1

flutter ×1

gradle ×1

java ×1

kotlin ×1

package ×1

plugins ×1

svg ×1