I am trying to use the javascript extension in a blackberry webworks application.I hav the jar file in the ext folder.But whenever i m trying to build the application the error pops up saying :
'Missing stack map in: getField at label'.
After searching through sites, it was written somewhere to prevarication process gives error :
'JAR file creation failed with error -1'.
Can someone help with the problem stated???
finally i got that sample alert working...i was keeping all the java files and the library.xml in the same folder..:)
Related
I am facing serious problems while developing an Angular 2 app and building it for iOS with Cordova. It kind of works when building and running it for Android (still there are some problems with routes on startup), but I can not get it running on iOS.
The app is developed with Angular 2.0.0-rc.1 and angular-cli.
Whenever I build the app with xcode for iOS, the app is stucked on Angular 2 loading - i guess it is a problem with the bootstrapping process, but I am not sure.
In console, I can see that it fails to load the component css files, like this error shows:
[Error] EXCEPTION: Failed to load file:///var/mobile/Containers/Bundle/Application/F325C057-2287-463A-ABF6-DB68944C63D9/Dooda.app/www/app/notifications/notifications.component.css
logError
logGroup
call
(anonyme Funktion)
invoke (zone.js:323)
onInvoke
invoke (zone.js:322)
run (zone.js:216)
(anonyme Funktion) (zone.js:571)
invokeTask (zone.js:356)
onInvokeTask
invokeTask (zone.js:355)
runTask (zone.js:256)
drainMicroTaskQueue (zone.js:474)
invoke (zone.js:426)
The path is correct, it just can not proceed to load the files. In my iindex.html, I can see that the Container is empty, thus the Angular 2 stuff is not loaded there.
I have set the base href in index as following:
<base href=".">
If you need further information or code, please ask.
Have anyone faced the same issue and can help me here? I am really clueless what to do now, I have no idea why the file loading fails here.
Any help would be highly appreciated!
Thanks in advance!
The solution is very simple, just use
<base href="./">
in index.html file. It will work
had the same problem with Cordova / Ionic on iOS. It was caused by an empty file.
I had a component without template markup, but only with SCSS for the :host-selector.
It seems like Safari doesn't recognize any empty files via XHR and encounters a 404-like error, which breaks the application. To fix that, I removed all empty files from my components. After that it did work for me on iOS-emulator and native iPhone 6.
I am not sure whether it is related with base url for you problem.
In the normal, we will build and package the app with angular-cli into www dir. And after that, you should not see separate css files anymore. Because all css files will be packed in one file, based on your webpack setting.
I'm learning Zend framework 2 therefore i downloaded the zendstudio IDE included with the zend server as well. I made my little application which is working totally fine on my local zend server. I wanted to try zend PHP cloud as well so i deployed my application there with zend studio. This application didn't work perfectly there. Some of the content is working and the other parts did not load at all only white screen. I checked the server logs and this is what i found there:
Function Name Zend\Loader\StandardAutoloader::loadClass
Error Type E_COMPILE_ERROR
Source File /home/container_name/.apps/http/__default__/0/app/1.0.0/vendor/zendframework/zendframework/library/Zend/Loader/StandardAutoloader.php
Error String Can't use method return value in write context
I thought that there might be an error during file uploading so i re uploaded the files via an ftp client and the problem is still exists.
Any help is greatly appreciated
After a couple of hours of code trace i found the solution:
if($this->request->isPost()){
if(!empty($this->getRequest()->getPost('sg')) <--- this is the line where it dies
Remote wasn't liked the !empty() so i replaced it with !=''
Hi i am trying to stream video to http webpage, I have tried the following applications source code Android-eye project and im getting the following error.
03-23 17:12:47.672: E/AndroidRuntime(27063): java.lang.UnsatisfiedLinkError: Couldn't load mp3encoder from loader dalvik.system.PathClassLoader[dexPath=/data/app/teaonly.droideye-1.apk,libraryPath=/data/app-lib/teaonly.droideye-1]: findLibrary returned null
Any help would be gratefully appreciated..
If anyone can suggest a tutorial for streaming live camera android video to VLC or webpage that would be great .
Thanks
I resolved this issue by rebuild the JNI code for all those beginners like me who are not NDK friendly,
All you need to install the NDK from below URL:
http://developer.android.com/tools/sdk/ndk/index.html
Please make sure that you have set the environment variables like
NDK_HOME -- \android-ndk-r9 {directory must contain `ndk-build` file}
Path -- %NDK_HOME%
open the command prompt go to the directory where JNI code exist, mine under the below path
cd C:{rootpath}\android-eye-master\jni
C:{rootpath}\android-eye-master\jni>ndk-build
Then refresh your android project in eclipse and run as Android Application.
Fixed the problem, I didn't have the NDK installed .
Actually I am using MKMapView control but its not working. When I run my application, I get kind of error which is mentioned below. In my application,PCH file name is: MAPVIEW-Prefix.pch.
I also referred this link: Apple LLVM Compiler Error 4.1 but it didn't help me.
Error Log shows the following:
clang:error: no such file or directory:'set'Command/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
Link Mapkit.Faramework with your target
I'm getting this error message in the index.jsp file
Can not find the tag library descriptor for "http://struts.apache.org/tags-logic"
How do I rectify it?
Refer this Hello World Application tutorial link, you can compare your code with this sample codes and solve your issue.
Jar files which all are required are also available there in that link ( Except MySQL connector).