I am new to Titanium Studio (I am using Titanium Studio-2.1.0GA on WindowsXP). I added the Android SDK to the Titanium, but I am able to open the emulators as well. But when I run my first mobile project, the following error is displaying in console.
Can anyone help me out?
Thanks in advance.
[ERROR] Application Installer abnormal process termination. Process exit value was 1
[ERROR] Invalid number of parameters
[ERROR] Exception occured while building Android project:
[ERROR] The filename, directory name, or volume label syntax is incorrect.
[ERROR] Traceback (most recent call last):
[ERROR] File "C:\Documents and Settings\shyam.sundar\Application Data\Titanium\mobilesdk\win32\2.1.0.GA\android\builder.py", line 2206, in <module>
[ERROR] s.build_and_run(False, avd_id, debugger_host=debugger_host)
[ERROR] File "C:\Documents and Settings\shyam.sundar\Application Data\Titanium\mobilesdk\win32\2.1.0.GA\android\builder.py", line 1976, in build_and_run
[ERROR] for avd_props in avd.get_avds(self.sdk):
[ERROR] File "C:\Documents and Settings\shyam.sundar\Application Data\Titanium\mobilesdk\win32\2.1.0.GA\android\avd.py", line 23, in get_avds
[ERROR] for line in run.run([sdk.get_android(),'list','target'],debug=False).split("\n"):
[ERROR] AttributeError: 'NoneType' object has no attribute 'split'
What version of Java SDK do you have? I installed 1.7 and this problem went away.
Related
I use a MacOS laptop on Ventura(13.0.1) and I use VS code version 1.74.3 (Universal), When I make changes in my Vscode, the source control panel is not reflecting the changes I made and the notification centre of VScode shows the below error:
When I check the Vscode Developer Logs, I see the following errors
2023-01-24 20:03:13.166 [error] [File Watcher (parcel)] Unexpected error: No such file or directory (EUNKNOWN) (path: /Users/UserName/Desktop/folder)
2023-01-24 20:03:13.167 [error] [File Watcher (universal)] restarting watcher after error: No such file or directory
2023-01-24 20:03:13.918 [error] [File Watcher (parcel)] Unexpected error: No such file or directory (EUNKNOWN) (path: /Users/UserName/Desktop/folder)
2023-01-24 20:03:13.919 [error] [File Watcher (universal)] restarting watcher after error: No such file or directory
I have tried deleting VS code applications and also deleted the folders at $HOME/Library/Application Support/Code and ~/.vscode still the same error.
I'm trying to upgrade an ember-rails app from ember v1.13 to v2.0. The app loads and templates render in ember 1.13 and there are no deprecations coming through to the console. When I bump the version to 2.0.0 (through the ember-source gem), the app doesn't seem to load and no templates are rendered. Instead, this error is in the JS console:
Uncaught Error: ExecJS::RuntimeError: SyntaxError: Unexpected strict mode reserved word
If I refresh the page, suddenly I'm hit with a handlebars precompile error:
Uncaught Error: Barber::PrecompilerError: Pre compilation failed for:
(prints out file contents)
Compiler said: ReferenceError: Handlebars is not defined
Any thoughts on what could be the cause of this? Any input would be greatly appreciated, as I've been stuck on this for hours!!!
I am getting this error when linking the library in phonegap.js
Uncaught SyntaxError: Unexpected token ILLEGAL
#!/usr/bin/env node
I'm using Netbeans 8.0.2
Windows 7 Home Premium x86
Any idea how can I fix this?
Probably you are trying to link wrong library.
This line #!/usr/bin/env node means that your library is a shell script, not a JavaScript program.
Hi I am new to titanium framework.I installed the latest titanium 3.x framework. When I execute the application I got the following errors.Please correct me.Thank you.
[ERROR] Error(s) compiling generated Java code
[ERROR] An exception has occurred in the compiler (1.6.0_16). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.NoClassDefFoundError: com/sun/tools/javac/comp/Flow
at com.sun.tools.javac.main.JavaCompiler.<init>(JavaCompiler.java:315)
at com.sun.tools.javac.main.JavaCompiler.instance(JavaCompiler.java:72)
at com.sun.tools.javac.main.Main.compile(Main.java:340)
at com.sun.tools.javac.main.Main.compile(Main.java:279)
at com.sun.tools.javac.main.Main.compile(Main.java:270)
at com.sun.tools.javac.Main.compile(Main.java:69)
at com.sun.tools.javac.Main.main(Main.java:54)
Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.comp.Flow
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 7 more
Caused by: java.util.zip.ZipException: ZIP_Read: error reading zip file
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:447)
at sun.misc.Resource.getBytes(Resource.java:97)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:256)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
... 13 more
[ERROR] : Build process exited with code 1
[ERROR] : Project failed to build after 20s 892ms`
I've created a titanium module and embed it on titanium module application, but every time I compile that application it will give me an error:
[INFO] Compiling Javascript Resources ...
[ERROR] Application Installer abnormal process termination. Process exit value was 1
[ERROR] Error(s) compiling generated Java code
[ERROR] C:\DeveloperFolder\TitaniumStudioWorkspace\TestingModuleApp\build\android\gen\testing\module\app\TestingmoduleappApplication.java:42: cannot find symbol
symbol : class TestingmoduleBootstrap
location: package testing.module
runtime.addExternalModule("testing.module", testing.module.TestingmoduleBootstrap.class);
^
1 error
Does anyone know how to solve that?
Try to delete TestingmoduleBootstrap.class and then recompile again:
http://www.coderanch.com/t/402221/java/java/Compiler-Error-find-symbol
And make sure you don't have a typo in your class name:
http://java.about.com/od/cerrmsg/g/Definition-Cannot-Find-Symbol.htm