小编asi*_*oba的帖子

如何修复“检索 ro.product.cpu.abi 的设备属性时出错:”Android Studio - Flutter

当我第一次借助 Flutter 官方网站上的文档安装 Flutter 时。并且还将 Android Studio 设置为 IDE 以进行 flutter 。在这些步骤之后,指导创建一个新的颤振项目并在应用程序的样板代码上的模拟器/实际设备上运行,以计算用户按下按钮的次数。但它每次都抛出未处理的异常。

我试过在模拟器和实际上运行,但都只抛出错误。如果有人对颤振有一些了解,请帮助我,因为我是颤振环境的新手。有关更多信息,请参阅代码。

//**********************main.dart**************************
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing …
Run Code Online (Sandbox Code Playgroud)

flutter

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

标签 统计

flutter ×1