上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 169 下一页
摘要: 一,报错信息 Your project is configured with Android NDK 26.3.11579264, but the following plugin(s) depend on a different Android NDK version: - audioplayer 阅读全文
posted @ 2025-03-29 09:01 刘宏缔的架构森林 阅读(1302) 评论(0) 推荐(0)
摘要: 一,下载第三方库: 地址: https://pub.dev/packages/path_provider 编辑pubspec.yaml,添加path_provider dependencies: flutter: sdk: flutter path_provider: ^2.1.5 点击pub ge 阅读全文
posted @ 2025-03-29 09:00 刘宏缔的架构森林 阅读(248) 评论(0) 推荐(0)
摘要: 一,安装第三方库 第三方库地址 https://pub.dev/packages/audioplayers 修改pubspec.yaml dependencies: flutter: sdk: flutter audioplayers: ^6.4.0 然后点击 pub get 二,代码: impor 阅读全文
posted @ 2025-03-22 10:32 刘宏缔的架构森林 阅读(370) 评论(0) 推荐(0)
摘要: 一,代码: import 'package:flutter/material.dart'; class MyHomePage extends StatefulWidget { const MyHomePage({super.key}); @override State<MyHomePage> cre 阅读全文
posted @ 2025-03-22 10:32 刘宏缔的架构森林 阅读(23) 评论(0) 推荐(0)
摘要: 一,报错信息 Running Gradle task 'assembleDebug'... Exception in thread "main" java.net.ConnectException: Operation timed out at java.base/sun.nio.ch.Net.co 阅读全文
posted @ 2025-03-22 10:32 刘宏缔的架构森林 阅读(1031) 评论(0) 推荐(0)
摘要: 一,安装 官方库地址: https://pub.dev/packages/webview_flutter 编辑pubspec.yaml,在dependencies下增加一行:webview_flutter,如下: dependencies: flutter: sdk: flutter webview 阅读全文
posted @ 2025-03-22 10:31 刘宏缔的架构森林 阅读(163) 评论(0) 推荐(0)
摘要: 一,代码: tabbar: import 'package:flutter/material.dart'; import '../tabpages/MyHomePage.dart'; import '../tabpages/ProfilePage.dart'; class MyTabBar exte 阅读全文
posted @ 2025-03-22 10:31 刘宏缔的架构森林 阅读(146) 评论(0) 推荐(0)
摘要: 一,代码: tabbar页面: import 'package:flutter/material.dart'; import '../tabpages/MyHomePage.dart'; import '../tabpages/ProfilePage.dart'; class MyTabBar ex 阅读全文
posted @ 2025-03-22 10:31 刘宏缔的架构森林 阅读(71) 评论(0) 推荐(0)
摘要: 一,代码: import 'package:flutter/material.dart'; class HomePage extends StatefulWidget { @override State<HomePage> createState() => _HomePageState(); } c 阅读全文
posted @ 2025-03-22 10:31 刘宏缔的架构森林 阅读(94) 评论(0) 推荐(0)
摘要: 一,代码: main.dart import 'package:flutter/material.dart'; import 'pages/HomePage.dart'; import 'pages/DetailPage.dart'; void main() { //const runApp(MyA 阅读全文
posted @ 2025-03-22 10:31 刘宏缔的架构森林 阅读(15) 评论(0) 推荐(0)
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 169 下一页