I read few topics about sdk manger and java issues but my problem doesn't correspond to any.
When i'm launching SDK manager.exe I get as output :
flashplayerplugin
As I was thinking that it was a Java issue I've launched sdk\tools\libs\find_java.exe (the .bat returns a blank line)
I get as output :
flashplayerpluginC:\Program Files\Java\jdk1.7.0_17\bin\java.exe
I really don't understand why this flashplayerplugin is coming in the output and crashing the program.
I had the same issue. My problem was caused by the tool airfoil. It wrotes a registry entry on:
HKEY_CURRENT_USER\Software\Rogue Amoeba\Airfoil\WhiteList\WhiteListItem_12
with entry:
name = *flashplayerplugin
Solution: just remove the * before flashplayerplugin and then SDK Manager.exe will start properly.
It's not an issue with Java, it's an issue with Flash. See this Super User thread. The poster there was able to solve it, but I could not and had to use System Restore to get back to the point before I updated to the latest Flash player. In my case I think the difference may have been Chrome's custom Flash player.
Simply un-installing Airfoil worked for me if this is an option for you.
Update Flash Player and Java...might help
Related
I would like to be able to execute previous breakpoint that I've just stepped over
I know Android Studio is based on Intellij Idea where it's possible link here.
Similar question asking the same but its related to Eclipse IDE link here
There is also one answer that say's it's impossible.
link here
I can see "Drop Frame" button. But it's disabled by default.
So is there any way to enable this button?
The answer you are referring to regarding Eclipse is still valid for Android Studio:
You cannot step back to previous breakpoint in Android Studio because DalvikVM and Android Runtime (ART) do not support it.
You can enable the "Drop Frame" button if you debug JUnit tests as they run on a standard virtual machine (although I'm guessing this is not what you are after).
It is probably the only reason why the button exists.
Google's User Guide ignores it completely.
I'm fairly new to Android Studio, so I'm not entirely sure if this is what you are looking for, but have you tried playing around with the Frames window?
It allows you to backtrack the app's process, even reaching old breakpoints.
You cannot step backwards to a previous breakpoint that you have already chosen to continue past. You would have to create a saved state of your program at every break point to be able to do this, which would consume more memory than is worth designing the debugger with. You could although emulate this sort of functionality by forking your program everywhere you want to put a breakpoint.
-edit: This would be more feasible in eclipse than in android studio, as you would have to start another virtual device for android. say goodbye to your memory :p
Android 10 (Q) has supported this feature. It works well on my Pixel 2.
Please see below image
Using red down arrow to step in and blue up arrow using to step out.
:
Use ALT + F9 for next break point.
For me (macOs Sierra) it's Previous step cmd + alt + R
I'm recently working with Eclipse Che and have the task to import a Java Project that opens a GUI in it (like a simple Swing/SWT Calculator).
I am using the Java CentOS Stack, importing the .jar files, etc. is no problem but I get the "No X11 DISPLAY variable was set, but this program performed an operation which requires it." error.
Obviously, I found many threads about that Error, but I just wanted to ask if it is even possible to open a GUI in a web based IDE like Eclipse Che before wasting hours trying to fix that error when it's not even possible.
Maybe some of you already tried that and have a solution/tip or smth for me.
edit: found a video that answered my question. https://www.youtube.com/watch?v=AjgSp0dkxxU
Thanks anyway.
This will help you out - https://eclipse-che.readme.io/docs/che-and-swing
You need to use the right stack
You need to set the display variable. The way I did this was modify the run command to set it just before the other commands.
The command I used is:
export DISPLAY=:0.0
Also note that this worked for a while for me but randomly stop working a few days back so please tell if you manage to get it working.
I have just installed the latest version of SDK and ADT .when i open the logcat i found that the whole logcat was filled with the following message.still i am not start any project on eclipse!
PgaSocketWriteAllHdipc: hd_ipc_send() failed
hd_ipc_send: not connected
I just 10 minutes the number of this kind of messages reached more than 10,000 and i am fed up with this. Please tell me how can i remove this message from appearing in the logcat.
I was getting this error and discovered that it was a problem with Bluestacks. Bluestacks is an Android emulator for the PC that I had recently installed. Once I quit Bluestacks (which always runs in the background) the problem stopped.
Update:
If you really need bluestacks you can filter this messages by creating logcat filter or just go "System tray (which display in lower-right corner, in windows) then right click on blustack icon and click on "quit" then your problem will solve.
Check this link . Looks like its an official bug related to the emulator system image.
i have also same problem but i knew that it create by blustack , so please go "hidden icons" (which display in lower-right corner) then right click on blustack icon and click on "quit" then your problem will solve , try it...
if any problem then ask me...
Bluestacks needs to be closed(COMPLETELY) for this error to disappear. Just to add to bala's answer, it is important to end all bluestacks processes. For this, see the processes from all the users in the task manager(assuming you're on Windows) & kill each bluestack process.
Uninstall Bluestack. In my case, just stopping the program (quit option) was not enought.
The problem was definitely Bluestacks.. Though I do suggest you to close Eclipse if you're considering to uninstall! The LogCat does not adapt quickly to environment changes and you might get the message even after you uninstall.
Well, the title says it I guess.
When trying to launch the default browser by using the Desktop's browse() function, the browser does open but points to the wrong URI beeing %u
I can't narrow it down to the code, as I haven't changed it.
What I did change was the OS now beeing Ubuntu 11.10 instead of 11.04
And I installed Java 7, but keep using Java 6.
Where does it go wrong? Any Clues?
I know I'm late to the game but I had the same problem, too. Thanks to all the good hints in this question and the comments above I found a config key in gconf-editor:
/desktop/gnome/url-handlers/http/command (and similar)
The command that I found in this key was "firefox %u". Unfortunately, the key was not really documented very well but I noticed that other keys in that area used "%s" for the parameter. So I tried and replaced "%u" by "%s" and - yay! - the darn thing works again.
I'd also like to use this opportunity to thank the guys at Canonical for messing up Unity so thoroughly.
I'm trying to build a pipeline with gst-launch in Windows 7 that will view a stream from a VC500 Video Capture device (Captures composite video and inputs to computer via USB). I think my biggest issue here is the fact that it MUST be done in Windows. I'm finding a lot of the plugins for gstreamer-java are supported in Linux instead of Windows. So I'm having issues finding the element and syntax to get this working. Any help would be greatly appreciated. Another thing is I don't have to use the gstreamer framework for this, it just seems to be the easiest. If anyone knows another good media framework with good Java bindings that might be better let me know? Haha. (Tried DirectShow, VLCJ, neither are very stable for Java.)
Thanks a lot.
Brayden
EDIT:
From more reading I'm pretty sure the element I need here is ksvideosrc.
So I've been trying:
gst-launch -v ksvideosrc ! autovideosink
But I get:
ERROR: from element
/GSTPipeline:pipeline0/GstKsVideoSrc:ksvideosrc0:
could not start capture Additional
debug info:
..........\Source\gst-plugins-bad\sys\winks\gstvideosrc.c(970):
gst_ks_video_src_create ():
/GstPipeline:pipeline0/GstKsVideoSrc:ksvideosrc0:failed
to change pin state to KSSTATE_RUN
Execution ended after 1000000 ns.
Alright well.. I ended up using Direct Show Java (dsj) instead. It was able to play video from the capture device very easily.