Please help me review and see if there's something I didn't do right.
import 'package:english_words/english_words.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
final wordPair = WordPair.random();
return MaterialApp(
title: 'Welcome to Flutter',
home: Scaffold(
appBar: AppBar(
title: Text('Welcome to Flutter'),
),
body: Center(
child: Text(wordPair.asPascalCase),
),
),
);
}
}
Your app was correctly compiled/built but it could not be installed on your device. This can have multiple reasons, but as you could see in your terminal; the installation of the actual APK failed.
You should delete any other installations you have of your app, and you should change the ADB connection timeout:
The problem of insufficient internal memory. After making the free space it successfully installed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.