但是,我尝试了很多办法,还是没法解决 “Execution failed for task ':jverify:compileReleaseJavaWithJavac'.” 的问题
Font asset "fa-solid-900.ttf" was tree-shaken, reducing it from 419720 to 1600 bytes (99.6% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "CupertinoIcons.ttf" was tree-shaken, reducing it from 257628 to 1144 bytes (99.6% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "iconfont.ttf" was tree-shaken, reducing it from 3156 to 2204 bytes (30.2% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "fa-regular-400.ttf" was tree-shaken, reducing it from 68004 to 1200 bytes (98.2% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 18176 bytes (98.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
注: /Users/leeyi/.pub-cache/hosted/pub.flutter-io.cn/flutter_sound-9.11.3/android/src/main/java/xyz/canardoux/fluttersound/FlutterSound.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: /Users/leeyi/.pub-cache/git/image_crop-f5c1317e5deba45a616c7eb3dd6f915e0700946e/android/src/main/java/com/lykhonis/imagecrop/ImageCropPlugin.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
/Users/leeyi/.pub-cache/hosted/pub.flutter-io.cn/jverify-3.0.0/android/src/main/java/com/jiguang/jverify/JverifyPlugin.java:1903: 错误: 找不到符号
Class drawable = R.drawable.class;
^
符号: 类 drawable
位置: 类 R
注: /Users/leeyi/.pub-cache/hosted/pub.flutter-io.cn/jverify-3.0.0/android/src/main/java/com/jiguang/jverify/JverifyPlugin.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: /Users/leeyi/.pub-cache/hosted/pub.flutter-io.cn/jverify-3.0.0/android/src/main/java/com/jiguang/jverify/JverifyPlugin.java使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
1 个错误
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':jverify:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 49s
Running Gradle task 'assembleRelease'...
把flutter项目“升级gradle到8.7”后,项目依赖 jverify: ^3.0.0 报错
我把文件 /Users/leeyi/project/imboy.pub/imboyflutter/plugin/jverify/android/src/main/AndroidManifest.xml
修改为:
可以解决 “JverifyPlugin.java:1903: 错误”
但是,我尝试了很多办法,还是没法解决 “Execution failed for task ':jverify:compileReleaseJavaWithJavac'.” 的问题