Android Studio not showing Logcat with Flutter
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I'm using Android Studio for Flutter App Development. Everything seems to be working fine just that the Android Studio does not show the "logs" in Logcat. In the Logcat section, it says "Please Configure Android SDK". Which is already configured. And in the Logcat section says "No Connected Devices." in the drop-down menu. When it has recognized my Android Phone and is showing it just under the Menu bar.
Is there a fix for it? Is there something I am missing?
add a comment |
I'm using Android Studio for Flutter App Development. Everything seems to be working fine just that the Android Studio does not show the "logs" in Logcat. In the Logcat section, it says "Please Configure Android SDK". Which is already configured. And in the Logcat section says "No Connected Devices." in the drop-down menu. When it has recognized my Android Phone and is showing it just under the Menu bar.
Is there a fix for it? Is there something I am missing?
Try to go in the menu and press "Invalidate caches and restart". And make sure to select your Android device after that in Android Studio.
– Bostrot
Jun 24 '18 at 8:38
Nothing's changed.
– VoidMain
Jun 24 '18 at 10:01
add a comment |
I'm using Android Studio for Flutter App Development. Everything seems to be working fine just that the Android Studio does not show the "logs" in Logcat. In the Logcat section, it says "Please Configure Android SDK". Which is already configured. And in the Logcat section says "No Connected Devices." in the drop-down menu. When it has recognized my Android Phone and is showing it just under the Menu bar.
Is there a fix for it? Is there something I am missing?
I'm using Android Studio for Flutter App Development. Everything seems to be working fine just that the Android Studio does not show the "logs" in Logcat. In the Logcat section, it says "Please Configure Android SDK". Which is already configured. And in the Logcat section says "No Connected Devices." in the drop-down menu. When it has recognized my Android Phone and is showing it just under the Menu bar.
Is there a fix for it? Is there something I am missing?
edited Jan 4 at 4:38
Alireza Noorali
1,565838
1,565838
asked Jun 24 '18 at 7:22
VoidMainVoidMain
8419
8419
Try to go in the menu and press "Invalidate caches and restart". And make sure to select your Android device after that in Android Studio.
– Bostrot
Jun 24 '18 at 8:38
Nothing's changed.
– VoidMain
Jun 24 '18 at 10:01
add a comment |
Try to go in the menu and press "Invalidate caches and restart". And make sure to select your Android device after that in Android Studio.
– Bostrot
Jun 24 '18 at 8:38
Nothing's changed.
– VoidMain
Jun 24 '18 at 10:01
Try to go in the menu and press "Invalidate caches and restart". And make sure to select your Android device after that in Android Studio.
– Bostrot
Jun 24 '18 at 8:38
Try to go in the menu and press "Invalidate caches and restart". And make sure to select your Android device after that in Android Studio.
– Bostrot
Jun 24 '18 at 8:38
Nothing's changed.
– VoidMain
Jun 24 '18 at 10:01
Nothing's changed.
– VoidMain
Jun 24 '18 at 10:01
add a comment |
6 Answers
6
active
oldest
votes
Flutter use Run tab to display logs in Android Studio. Switch from Logcat to Run and then you will see logs.
add a comment |
Go to Setting/Preferences -> Languages & Framework -> Flutter ->
Check or uncheck Replace the Run and Debug console with an experimental Flutter Loggin view
add a comment |
In Flutter apps you can log text using the print() statement.
pring('hello');
As others have said, you can use the Run tab in Android Studio to view these logged comments.

Here is the code for main.dart:
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
home: Center(
child: RaisedButton(
child: Text('Button'),
onPressed: () {
print('hello'); // <-- logging
},
),
),
));
}
add a comment |
I guess it's an ADB issue. You can restart AS (or maybe even your Computer) or what i usually do is open the terminal an then: adb kill-server && adb start-server (I think the second part adb start-server is not necessary because it seems that AS handles it automatically) - anyways this is how LogCat and Android (and Flutter) work for me every time.
add a comment |
Switch to the “Run” tab to see the logs and if you want to insert logs (like Log.d() in android), you can use print() function and whatever string you pass into it will be printed into the “Run” window.
add a comment |
Flutter has not logcat flutter show error in the console inside Run tab.IF you want to see error and crash report click on run tab.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51007784%2fandroid-studio-not-showing-logcat-with-flutter%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
Flutter use Run tab to display logs in Android Studio. Switch from Logcat to Run and then you will see logs.
add a comment |
Flutter use Run tab to display logs in Android Studio. Switch from Logcat to Run and then you will see logs.
add a comment |
Flutter use Run tab to display logs in Android Studio. Switch from Logcat to Run and then you will see logs.
Flutter use Run tab to display logs in Android Studio. Switch from Logcat to Run and then you will see logs.
edited Jan 4 at 2:38
Alireza Noorali
1,565838
1,565838
answered Jul 24 '18 at 10:08
Daniil YakovlevDaniil Yakovlev
68868
68868
add a comment |
add a comment |
Go to Setting/Preferences -> Languages & Framework -> Flutter ->
Check or uncheck Replace the Run and Debug console with an experimental Flutter Loggin view
add a comment |
Go to Setting/Preferences -> Languages & Framework -> Flutter ->
Check or uncheck Replace the Run and Debug console with an experimental Flutter Loggin view
add a comment |
Go to Setting/Preferences -> Languages & Framework -> Flutter ->
Check or uncheck Replace the Run and Debug console with an experimental Flutter Loggin view
Go to Setting/Preferences -> Languages & Framework -> Flutter ->
Check or uncheck Replace the Run and Debug console with an experimental Flutter Loggin view
answered Dec 19 '18 at 4:02
Cuong TruongCuong Truong
312
312
add a comment |
add a comment |
In Flutter apps you can log text using the print() statement.
pring('hello');
As others have said, you can use the Run tab in Android Studio to view these logged comments.

Here is the code for main.dart:
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
home: Center(
child: RaisedButton(
child: Text('Button'),
onPressed: () {
print('hello'); // <-- logging
},
),
),
));
}
add a comment |
In Flutter apps you can log text using the print() statement.
pring('hello');
As others have said, you can use the Run tab in Android Studio to view these logged comments.

Here is the code for main.dart:
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
home: Center(
child: RaisedButton(
child: Text('Button'),
onPressed: () {
print('hello'); // <-- logging
},
),
),
));
}
add a comment |
In Flutter apps you can log text using the print() statement.
pring('hello');
As others have said, you can use the Run tab in Android Studio to view these logged comments.

Here is the code for main.dart:
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
home: Center(
child: RaisedButton(
child: Text('Button'),
onPressed: () {
print('hello'); // <-- logging
},
),
),
));
}
In Flutter apps you can log text using the print() statement.
pring('hello');
As others have said, you can use the Run tab in Android Studio to view these logged comments.

Here is the code for main.dart:
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
home: Center(
child: RaisedButton(
child: Text('Button'),
onPressed: () {
print('hello'); // <-- logging
},
),
),
));
}
edited Jan 3 at 23:05
answered Jan 3 at 22:50
SuragchSuragch
215k127720787
215k127720787
add a comment |
add a comment |
I guess it's an ADB issue. You can restart AS (or maybe even your Computer) or what i usually do is open the terminal an then: adb kill-server && adb start-server (I think the second part adb start-server is not necessary because it seems that AS handles it automatically) - anyways this is how LogCat and Android (and Flutter) work for me every time.
add a comment |
I guess it's an ADB issue. You can restart AS (or maybe even your Computer) or what i usually do is open the terminal an then: adb kill-server && adb start-server (I think the second part adb start-server is not necessary because it seems that AS handles it automatically) - anyways this is how LogCat and Android (and Flutter) work for me every time.
add a comment |
I guess it's an ADB issue. You can restart AS (or maybe even your Computer) or what i usually do is open the terminal an then: adb kill-server && adb start-server (I think the second part adb start-server is not necessary because it seems that AS handles it automatically) - anyways this is how LogCat and Android (and Flutter) work for me every time.
I guess it's an ADB issue. You can restart AS (or maybe even your Computer) or what i usually do is open the terminal an then: adb kill-server && adb start-server (I think the second part adb start-server is not necessary because it seems that AS handles it automatically) - anyways this is how LogCat and Android (and Flutter) work for me every time.
answered Aug 7 '18 at 14:12
Leonard ArnoldLeonard Arnold
1717
1717
add a comment |
add a comment |
Switch to the “Run” tab to see the logs and if you want to insert logs (like Log.d() in android), you can use print() function and whatever string you pass into it will be printed into the “Run” window.
add a comment |
Switch to the “Run” tab to see the logs and if you want to insert logs (like Log.d() in android), you can use print() function and whatever string you pass into it will be printed into the “Run” window.
add a comment |
Switch to the “Run” tab to see the logs and if you want to insert logs (like Log.d() in android), you can use print() function and whatever string you pass into it will be printed into the “Run” window.
Switch to the “Run” tab to see the logs and if you want to insert logs (like Log.d() in android), you can use print() function and whatever string you pass into it will be printed into the “Run” window.
edited Jan 4 at 4:33
Alireza Noorali
1,565838
1,565838
answered Aug 7 '18 at 16:32
Jaswant SinghJaswant Singh
1,3191521
1,3191521
add a comment |
add a comment |
Flutter has not logcat flutter show error in the console inside Run tab.IF you want to see error and crash report click on run tab.
add a comment |
Flutter has not logcat flutter show error in the console inside Run tab.IF you want to see error and crash report click on run tab.
add a comment |
Flutter has not logcat flutter show error in the console inside Run tab.IF you want to see error and crash report click on run tab.
Flutter has not logcat flutter show error in the console inside Run tab.IF you want to see error and crash report click on run tab.
edited Jan 4 at 2:38
Alireza Noorali
1,565838
1,565838
answered Aug 2 '18 at 9:51
SamSam
61
61
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51007784%2fandroid-studio-not-showing-logcat-with-flutter%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Try to go in the menu and press "Invalidate caches and restart". And make sure to select your Android device after that in Android Studio.
– Bostrot
Jun 24 '18 at 8:38
Nothing's changed.
– VoidMain
Jun 24 '18 at 10:01