I'm trying to launch the uiautomatorviewer to inspect elements on my mobile device, but when I execute it into the command line, the system returns the message below:
-Djava.ext.dirs=..\lib\x86_64;..\lib is not supported. Use -classpath instead.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
Looks like some version problem, but I don't know how to resolve it.
Any ideas?
Related
I've installed Swift 5.6.1 on my Windows 10 machine, including all the necessary Visual Studio components, but I can't seem to build anything. Even just running the following set of commands in git bash results in an error:
mkdir swiftTest
cd swiftTest
swift package init --type executable
swift build
Specifically, the swift build command gives the following errors:
warning: Failed creating default cache location, Error Domain=NSCocoaErrorDomain Code=256 "(null)"
'swiftTest': error: invalidManifestFormat("Missing or empty JSON output from manifest compilation for swiftTest", diagnosticFile: nil)
The error message seems surprisingly rare -- the top google results were the source of the program that generated that error, and an unrelated error with similar wording from a ReactJS application.
Do I just have to add some flags to the swift build command, or is there something else wrong with my setup?
In my case what fixed it was invoking the command from a Visual Studio Developer Command prompt.
I've run into some trouble when changing the Scripting Backend from Mono to IL2CPP to support Android x64 since Google says it's necessary.
I've tried to search all over the internet for a fix, but couldn't find anything.
The error:
il2cpp.exe didn't catch exception: System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: The specified executable is not a valid application for this OS platform.
I'm having trouble running sync on my iOS device using NativeScript with Angular2.
The following command works well:
tns run ios --device <device_id>
But when I try to run like this:
tns livesync ios --watch --device <device_id>
I get the following error:
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0xd74aab -[TNSRuntime executeModule:referredBy:]
2 0xac487 main
registered for type RadSideDrawer.
3 0x1d0af50b <redacted>
JavaScript stack trace:
1 #file:///app/tns_modules/ui/core/dependency-observable.js:73:28
JavaScript error:
file:///app/tns_modules/ui/core/dependency-observable.js:73:28: JS ERROR Error: Property showOverNavigation already
The showOverNavigation is from the sidedrawer plugin that I'm using. But I have found other people on having the same kind of issue with other plugins.
I had the same error and I solve running the command:
tns run ios --release
with only the real device connected, that makes the app works without error.
Also in the new version of tns the command livesynch is now replaced by the 'run' command.
But with the '--release' part I cannot have all the console.log in the terminal visible.
My problem is that when I try to start debuggin in DDT in Eclipse (Kepler) an error shows up:
Error in final launch sequence
Failed to execute MI command:
-gdb-set auto-solib-add on
Error message from debugger back end:
No symbol table is loaded.
Use the "file" command.
No symbol table is loaded.
Use the "file" command.
I've compiled the application with -gc and -g flag but it didn't help.
I'm using original DMD compiler.
Sounds like you are working on Windows, DMD has no GDB support there yet. You can either use windbg from the command line or use the Visual Studio plugin, which converts the debug info after compiling.
The issue that I had is that the compiler (DMD) is not working with GDB under Windows. If somebody wants to use DDT with debugging support, he needs to use GDC compiler.
This actually is mentioned in the "Debugging" page:
http://wiki.dlang.org/Debugging
Please can anybody help me..
I am compiling a blackberry html5 app and is given out this error though I have search for the error but I have been unable to locate it
the error code is(as shown in the command line)
"out: I/O Error: Cannot run program "C:\Program": CreateProcess error = 2, The system cannot
find the file specified
error response - <"code":1 , "msg":"[ERROR]> \t\tRAPC exception occurred"
This error occurred during compilation
Could you verify that you have the 32-bit JDK installed and NOT the 64-bit?