小编Car*_*nda的帖子

任务“:app:signReleaseBundle”执行失败

我现在有这个错误要犯flutter build appbundle

这是错误:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:signReleaseBundle'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Failed to read key sd from store "C:\flutter_project\cursin2\cursin-main\android\app\upload-keystore.jks": Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available

* 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.org

BUILD …
Run Code Online (Sandbox Code Playgroud)

keystore visual-studio dart android-studio flutter

10
推荐指数
3
解决办法
2万
查看次数

如何在 ListTile 颤动中添加阴影(例如“海拔”)

我需要在 flutter 中的项目 listTile 元素中添加阴影,但我无法使用 BoxShadow 做到这一点,因为它只能在 Container 中

在此输入图像描述

这是我的列表:

                        child: ListTile(

                          leading: const Icon(Icons.flight_land),
                          tileColor: Colors.black.withOpacity(0.5),
                          shape: RoundedRectangleBorder(
                            borderRadius: BorderRadius.circular(15),
                            side: BorderSide(
                              color: Colors.black,
                            ),
                          ),

                          title: Text(
                            snapshot
                                .data!.docChanges[index].doc['nameCourse'],
                            style: TextStyle(
                              fontSize: 20,
                              //COLOR DEL TEXTO TITULO
                              color: Colors.blueAccent,
                            ),
                          ),
                          contentPadding: EdgeInsets.symmetric(
                            vertical: 8,
                            horizontal: 16,
                          ),
                        ),
Run Code Online (Sandbox Code Playgroud)

elevation shadow dart flutter listtile

7
推荐指数
3
解决办法
9891
查看次数

错误颤振通知详细信息太多位置参数

我正在使用NotificationDetails在我的应用程序中显示本地通知:

class NotificationApi {
  static final _notifications = FlutterLocalNotificationsPlugin();
  static final onNotifications = BehaviorSubject<String?>();

  static Future _notificationDetails() async {
    return NotificationDetails(
        android: AndroidNotificationDetails(
          'channel id',
          'channel name',
          'channel description', //here shows the error
          importance: Importance.max,
        ),
        iOS: IOSNotificationDetails(),
    );
  }

  static Future init({bool initScheduled = false}) async {
    final android = AndroidInitializationSettings('@mipmap/ic_launcher');
    final iOS = IOSInitializationSettings();
    final settings = InitializationSettings(android: android, iOS: iOS);

    await _notifications.initialize(
      settings,
      OnSelectNotification: (payload) async {
        onNotifications.add(payload);
      },
    );
  }

  static Future showNotification({
    int id = …
Run Code Online (Sandbox Code Playgroud)

dart android-studio flutter

4
推荐指数
1
解决办法
2318
查看次数

颤动错误:GoogleSignInPlugin.java 使用或覆盖已弃用的 API

我正在开发我的 flutter 应用程序,但在运行项目时,此消息显示在终端中:

    Note: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\google_sign_in-5.2.3\android\src\main\java\io\flutter\plugins\googlesignin\GoogleSignInPlugin.
    java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
Run Code Online (Sandbox Code Playgroud)

android dart visual-studio-code flutter

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