Android studio stuck at splash screen - android-studio-2.3

when I write the disable.android.first.run=true in idea.properties, then it stuck on welcome screen and nothing happen when I click on new project.

try opening it from terminal like ./studio.sh and you can see the verbose output of what's going wrong. Maybe something with your path variable?

Related

Debugged Line is not getting Highlighted in my cs-html page

The Debugged line is not getting highlighted in the cs-html page. It works perfectly when i am debugging in the cs page but unfortunately its not working for the cs-html page.
I tried changing the font size or background color from the Options->Fonts and colors.But still its not working.
Please check if you could get some help from this thread.
And I think what you mean is: When you set a breakpoint in the .cshtml file, the highlight does not work instead of during debug mode.(Any misunderstanding please correct me!)
If you set the breakpoint in the .cshtml file but no highlight you can try closing VS,go C:\Users\lancel\AppData\Roaming\Microsoft\VisualStudio to delete all 15.x folders. And restart VS to resolve it. (This solved the issue in my side, and you can try other suggestions from the link above)
If what you mean is the highlight not work in this situation:
Please go Tools menu=>Get Tools and Features to open installer and choose repair VS.
Any update please feel free to let me know:)

Spectron opens Empty terminals during test run

During execution spectron opens two terminal windows that are blank. First window is the application as I wanted it to be, other windows look like terminals without anything inside.
Currently i focus to the first window using focus().
Github issue link : https://github.com/electron/spectron/issues/60
Does anyone have any idea what's going on ? is it a ChromeDriver issue?
I've had the same issue (just to clarify, on Windows only).
Apparently, was introduced as a workaround for Spectron on Windows:
The launcher binary written in go was frequently marked as a trojan or virus. A simple bat file should seen as more innocuous. See #93 for the problem as well as this bat file.
Unfortunately, a consequence of using a .bat file is the unavoidable spawning of these extra empty consoles.
The only known workaround is using .focus() like you mentioned.
A combination of focus() with setAlwaysOnTop(true) helps.
chaiAsPromised.transferPromiseness = app.transferPromiseness;
return app.start().then( async () => {
await app.browserWindow.focus();
await app.browserWindow.setAlwaysOnTop(true);
});
});
Maybe rework launcher.bat to use the start command?
something like:
Start "" "%SPECTRON_NODE_PATH%" "%SPECTRON_LAUNCHER_PATH%" %*
Just eyeballing it.
Not sure about managing the exit fail codes but IIRC that does not leave up shell.
Full disclosure, I do not have this app and this is a drive-by answer. Hope it helps.

Where do the server's and the app's messages display in Intellij 2016?

When running a Gradle project in IntelliJ 15, I would get verbose output like this, spoonfeeding me with a link to click to launch my app, and see output statements using a println statement as described below.
Now, I just installed IntelliJ 2016 and here is what the Run output window looks like; and that's it! No link, and I can't see the output of my println statements like before! Just useless spinners counting time and nothing else. Am I missing a window or something?
The console output view is still there; you're just seeing the new Gradle Task view, which is now the default. Just click the little icon on the top left of the Run window to toggle between the Tasks view and the plain console view.
Once you switch, you'll get the exact same console view you're used to:

Debugging IOS ... nothing shows in console

I am working on a final project for school, forgive me, I am having difficulty so I am trying to run in debug ... what am I doing wrong? I set my breakpoints and I run the simulator, for some reason the simulator starts up but my project closes ... I reopen it and it is obviously running, but there is nothing present in the console, even when run the code that should break on. Please help if you can, I am really getting frustrated because I can't get my code to work and now I cannot get my debug to work. Thank you in advance.
To see output in the "All Output" pane of the debugger, you need to call NSLog with a log string (which can be a format string with variables like printf). If you do not have any NSLog calls, then you should not expect to see any output in the debugger.

Phonegap application would not work in iOS

I have a very interesting problem. I have a phone-gap application that I am building. It works fine when we run it in the android environment, or even when we open index.html in firefox. But when I try to run this on an iPad simulator in Xcode, it fails.
The application installs fine and displays the start up page correctly. The next thing my application requires is to open a job attached in the email. But as soon as we do that, thats when it starts failing. It does not display the body text. The header and the footer are displayed fine.
To me this does not look like any javascript error because I am able to run this code on other platforms. I think its got to do with some css I am using which might not be compatible with iOS. Also, I have this other problem that my code will not run on any version except phone gap-1.3.0. I am not sure if that has anything to do with this too.
Anyways, I would like to know your thoughts on this.
ok the offending code was found to be the following:
$.mobile.touchOverflowEnabled = true;
I just stumbled across this and I am not sure why its breaking my app. Anybody got any ideas.
After commenting this code out, my app worked fine.

Resources