Android IDE (AIDE) Support Forum

Java IDE: Strange output

I tried doing System.out.println(System.in) and got this output:

com.aide.ui.build.OutputConsole$a@b9033ad
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false
(HTTPLog)-Static: isSBSettingEnabled false

The “(HTTPLog)-Static: isSBSettingEnabled false” output appears in the output of any Java console program that is running. I am using Samsung S7. Hope to find out what is causing this.

You are trying to output the user input, not the class

Here is the code:

package mypackage

public class Main {
    public static void main(String[] args) {
        Scanner kb = new Scanner(System.in).useDelimiter("\n");
        System.out.print("Please say anything: "); 
        String randomWords = kb.next();    
        System.out.println("You say: \"" + randomWords + "\"");
    }
}

you may need to import some classes

1 Like

Even with this code, I still see the “(HTTPLog)-Static: isSBSettingEnabled false” messages in the output…

It’s normal to me:

1 Like

try my fix HTTPLog)-Static: isSBSettingEnabled false

1 Like