Forum Replies Created
-
AuthorPosts
-
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.2, on Microsoft Windows [Version 10.0.19043.1826], locale en-US)
[√] Android toolchain – develop for Android devices (Android SDK version 33.0.0)
[√] Chrome – develop for the web
[X] Visual Studio – develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the “Desktop development with C++” workload, including all of its default components
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.69.2)
[√] Connected device (3 available)
[√] HTTP Host Availability! Doctor found issues in 1 category.
ini udh sy run :
Exception: Unable to find suitable Visual Studio toolchain. Please run
flutter doctorfor more details.
Exited (sigterm)import ‘dart:developer’;
import ‘package:flutter/material.dart’;
class jawaban extends StatelessWidget {
//const jawaban({Key key}) : super(key: key);
Function handlepilih;
String jawabanText;
jawaban(this.handlepilih, this.jawabanText);@override
Widget build(BuildContext context) {
return Container(
width: double.infinity,
child: ElevatedButton(
onPressed: handlepilih,
style: ElevatedButton.styleFrom(
primary: Colors.red,
),
child: Text(jawabanText),debug :
Launching lib\main.dart on Windows in debug mode…
lib\main.dart:1
Exception: Unable to find suitable Visual Studio toolchain. Please runflutter doctorfor more details.
Exited (sigterm)klu ada seperti ini salah dimananya coach mohon dibantu ?
import ‘dart:developer’;
import ‘package:flutter/material.dart’;
class jawaban extends StatelessWidget {
//const jawaban({Key key}) : super(key: key);
Function handlepilih;
String jawabanText;
jawaban(this.handlepilih, this.jawabanText);@override
Widget build(BuildContext context) {
return Container(
width: double.infinity,
child: ElevatedButton(
onPressed: handlepilih,
style: ElevatedButton.styleFrom(
primary: Colors.red,
),
child: Text(jawabanText),debug :
Launching lib\main.dart on Windows in debug mode…
lib\main.dart:1
Exception: Unable to find suitable Visual Studio toolchain. Please runflutter doctorfor more details.
Exited (sigterm)klu ada seperti ini salah dimananya coach mohon dibantu ?
tolong dibantu coach kevin ini sy sudah bikin kode tapi emulatornya error seperti ini
Closure call with mismatched arguments: function ‘_MyAppState._jawaban’
Receiver: Closure: () => void from Function ‘_jawaban@570325635’:.
Tried calling: _MyAppState._jawaban(Closure: () => void from Function ‘_jawaban@570325635’:., “pantai”)
Found: _MyAppState._jawaban() => voidini salah dimananya ??
May 21, 2022 at 9:29 AM in reply to: SDK commponent setup android virtual device tidak bisa di ceklist/centang #50151lalu harus bagaimana coach, soalnya stelah di next di akhir gabisa klick finish
-
AuthorPosts