Build Runtime failure

14 posts / 0 new
Last post
linhuamao
linhuamao's picture
Offline
Joined: 24 Mar 2010
Posts:
Build Runtime failure

Ver:MoSyncSrc-111104-1231.tar.bz2

Build runtime failure.The log:

C:/mb/MoSync-trunk/runtimes/java/Shared/Core.jpp(32):35: generated/core_consts.h
: No such file or directory
C:/mb/MoSync-trunk/runtimes/java/Shared/Core.jpp(620):43: generated/invoke_sysca
ll_java.h: No such file or directory
sed "s/^# /\/\//" < c:\MoSync/profiles/runtimes/javame/1/temp/Core.jtmp > c:\MoS
ync/profiles/runtimes/javame/1/temp/Core.java
No such file or directory
Error: Command failed: '256'
../../rules/error.rb:19:in `error': Command failed: '256' (RuntimeError)
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:31:in `sh
'
from ./BuildJavaME.rb:63:in `preprocess_java_file'
from ./BuildJavaME.rb:73:in `preprocess_shared_java_files'
from ./BuildJavaME.rb:69:in `foreach'
from ./BuildJavaME.rb:69:in `preprocess_shared_java_files'
from ./BuildJavaME.rb:116:in `javameBuilder'
from ./BuildJavaME.rb:21:in `javame'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:82:in `se
nd'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:82:in `bu
ild'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:79:in `ea
ch'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:79:in `bu
ild'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:109

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

Sorry, is then when you're trying to build the SDK or building an app?

linhuamao
linhuamao's picture
Offline
Joined: 24 Mar 2010
Posts:

I try to build runtime.

In
mb\MoSync-trunk\tools\RuntimeBuilder\

Use:

RuntimeBuilder.rb ./Settings.rb javame %MOSYNCDIR%/profiles/runtimes/javame/1/

Ali Sarrafi
ali.s's picture
Offline
MoSync User
Joined: 20 Nov 2010
Posts:

Hi,

I think you haven't build the prerequisites for the runtime. In order to build the runtime you need to build the idl tool and run it so it generates those files for you.

You can do that in two different ways:

open the MoSync source project in visual studio and build and run the idl tool.

run the main workfile.rb using the following commandline:

ruby workfile.rb base

but in order to run the workfile you will need to have MinGW installed.

Please let me know if you need more information.

Regards
Ali

linhuamao
linhuamao's picture
Offline
Joined: 24 Mar 2010
Posts:

Thank you for your answers! Now I can build javaME runtime,but I still can not build android runtime.The Log:

C:\mb\MoSync-trunk\tools\RuntimeBuilder>RuntimeBuilder.rb ./Settings.rb android_
3 c:\MoSync/profiles/runtimes/android_3/1/
Building release runtime for android_3
ruby buildJNI.rb C:\android-ndk-r5b\ C:\android-sdk-windows\/platforms/android-1
0 C:\android-sdk-windows\/platform-tools c:/MoSync/profiles/runtimes/android_3/1
/ 3
ruby addLibraries.rb
cd AndroidProject
mkdir -p assets
mkdir -p bin/com/mosync/java/android
mkdir -p libs/armeabi
mkdir -p src/com/mosync/internal/android
mkdir -p src/com/mosync/java/android
cd ..
cd ../../../../
cd C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI
cd ../../../cpp
cd C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI
cd ../../../cpp/platforms/android
cd C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI
android version is: 3
cp C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/jni/Appl
ication_1.mk C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProjec
t/jni/Application.mk
saving config file
using runtime c:/MoSync/profiles/runtimes/android_3/1/config.h
Building native Library

cd AndroidProject
D:\cygwin\bin\bash.exe --login -c "dos2unix $(cygpath -u C:/mb/MoSync-trunk/runt
imes/java/platforms/androidJNI/cygwin_u.sh)"
dos2unix: converting file /cygdrive/c/mb/MoSync-trunk/runtimes/java/platforms/an
droidJNI/cygwin_u.sh to Unix format ...
D:\cygwin\bin\bash.exe --login -i C:/mb/MoSync-trunk/runtimes/java/platforms/and
roidJNI/cygwin_u.sh C:\android-ndk-r5b\ C:\android-sdk-windows\/platforms/androi
d-10 C:/mb/MoSync-trunk
cygwin warning:
MS-DOS style path detected: C:/mb/MoSync-trunk/runtimes/java/platforms/android
JNI/cygwin_u.sh
Preferred POSIX equivalent is: /cygdrive/c/mb/MoSync-trunk/runtimes/java/platf
orms/androidJNI/cygwin_u.sh
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Build library!
Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
Compile++ arm : mosync <= FileImpl.cpp
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:19:24: error: Fil
eStream.h: No such file or directory
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:129: error: 'Limi
tedFileStream' has not been declared
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:129: error: 'JNIE
nv' has not been declared
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:129: error: 'jobj
ect' has not been declared
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:129: error: ISO C
++ forbids declaration of 'LimitedFileStream' with no type
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp: In function 'int
Base::LimitedFileStream(const char*, int, int, int*, int)':
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:130: error: only
constructors take base initializers
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:134: error: 'mJNI
Env' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:135: error: 'mJTh
is' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:140: error: 'jcla
ss' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:140: error: expec
ted ';' before 'cls'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:141: error: 'jmet
hodID' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:141: error: expec
ted ';' before 'methodID'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:142: error: 'meth
odID' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:142: error: retur
n-statement with no value, in function returning 'int'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:143: error: 'jobj
ect' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:143: error: expec
ted ';' before 'jo'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:145: error: 'meth
odID' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:145: error: reque
st for member 'GetMethodID' in '* jNIEnv', which is of non-class type 'int'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:145: error: 'cls'
was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:146: error: retur
n-statement with no value, in function returning 'int'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:147: error: 'jint
' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:147: error: expec
ted ';' before 'startOffset'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:149: error: 'star
tOffset' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:151: error: reque
st for member 'DeleteLocalRef' in '* jNIEnv', which is of non-class type 'int'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:154: error: expec
ted ';' before 'fdClass'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:155: error: 'fdCl
ass' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:157: error: expec
ted ';' before 'fdPrgClassRef'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:158: error: 'jfie
ldID' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:158: error: expec
ted ';' before 'fdClassDescriptorFieldID'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:160: error: 'fdCl
assDescriptorFieldID' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:160: error: 'jo'
was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:162: error: expec
ted ';' before 'fd'
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:163: error: 'mFd'
was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:163: error: 'fd'
was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:167: error: '_ope
n' was not declared in this scope
C:/mb/MoSync-trunk/runtimes/cpp/platforms/android/FileImpl.cpp:169: error: 'mFd'
was not declared in this scope
make: *** [/cygdrive/c/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/Androi
dProject/obj/local/armeabi/objs-debug/mosync/FileImpl.o] 错误 1
../../../../rules/util.rb:89:in `old_sh': Command failed (RuntimeError)
from buildJNI.rb:43:in `sh'
from buildJNI.rb:150
Error: Command failed: '256'
../../rules/error.rb:19:in `error': Command failed: '256' (RuntimeError)
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:31:in `sh
'
from ./BuildAndroid.rb:81:in `androidBuilder'
from ./BuildAndroid.rb:35:in `android_3'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:82:in `se
nd'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:82:in `bu
ild'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:79:in `ea
ch'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:79:in `bu
ild'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:109

Ali Sarrafi
ali.s's picture
Offline
MoSync User
Joined: 20 Nov 2010
Posts:

Hi,
That's a bug in using some versions of android NDK, try upgrading your NDK version and see if it works. We are working on a new makefile for our JNI implementation which will be uploaded very soon.

Regards
Ali

linhuamao
linhuamao's picture
Offline
Joined: 24 Mar 2010
Posts:

Thank you very much for your help!

puchengyan
puchengyan's picture
Offline
Joined: 23 Dec 2011
Posts:

does it really work? which version do you upgrade?

Miguel Augusto
miguelmaugusto's picture
Offline
Mobile Wizard
Joined: 19 Dec 2011
Posts:

It looks like there are some includes pointing to the wrong path. Have you had any advances with compiling android runtime? I'm also stuck here. (And I had the latest Android version. I don't believe that's the problem.)

Miguel Augusto
miguelmaugusto's picture
Offline
Mobile Wizard
Joined: 19 Dec 2011
Posts:

I've been busy trying to get all the includes manually pointing to the right path, and actually got to advance a bit.
But now I've reached this error:

"
Compile++ arm : mosync <= ArmAssembler.cpp
Compile++ arm : mosync <= ArmRecompiler.cpp
Compile++ arm : mosync <= hashmap.cpp
StaticLibrary : libstdc++.a
SharedLibrary : libmosync.so
Install : libmosync.so => /cygdrive/c/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/libs/armeabi/libmosync.so
Getting into to Android Java runtime root directory.
cd ..
C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI
rm -rf temp/
C:/Android/android-sdk-windows/platform-tools/aapt package -f -v -M C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/AndroidManifest.xml -F resources.ap_ -I C:/Android/android-sdk-windows/platforms/android-10/android.jar -S C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/An
droidProject/res -m -J C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/gen
Configurations:
(default)
Files:
drawable\icon.png
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\drawable\icon.png
layout\list_item.xml
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\layout\list_item.xml
layout\main.xml
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\layout\main.xml
values\attributes.xml
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\values\attributes.xml
values\strings.xml
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\values\strings.xml
xml\nfc.xml
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\xml\nfc.xml
AndroidManifest.xml
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\AndroidManifest.xml

Resource Dirs:
Type drawable
drawable\icon.png
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\drawable\icon.png
Type layout
layout\list_item.xml
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\layout\list_item.xml
layout\main.xml
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\layout\main.xml
Type values
values\attributes.xml
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\values\attributes.xml
values\strings.xml
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\values\strings.xml
Type xml
xml\nfc.xml
Src: () C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\xml\nfc.xml
Including resources from package: C:\Android\android-sdk-windows\platforms\android-10\android.jar
applyFileOverlay for drawable
applyFileOverlay for layout
applyFileOverlay for anim
applyFileOverlay for animator
applyFileOverlay for interpolator
applyFileOverlay for xml
applyFileOverlay for raw
applyFileOverlay for color
applyFileOverlay for menu
applyFileOverlay for mipmap
Processing image: C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\drawable\icon.png
(processed image C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\drawable\icon.png: 85% size of source)
(new resource id icon from drawable\icon.png #generated)
(new resource id list_item from C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\layout\list_item.xml)
(new resource id main from C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\layout\main.xml)
(new resource id nfc from C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\res\xml\nfc.xml)
Writing symbols for class R.
Creating 'resources.ap_'
Writing all files...
'res/drawable/icon.png' (not compressed)
'res/layout/list_item.xml' (compressed 63%)
'res/layout/main.xml' (compressed 52%)
'res/xml/nfc.xml' (compressed 67%)
'AndroidManifest.xml' (compressed 75%)
'resources.arsc' (not compressed)
Generated 6 files
Included 0 files from jar/zip files.
Checking for deleted files
Done!
Compiling Java Source Files
javac -source 1.6 -target 1.6 -g -d temp/ -classpath C:/Android/android-sdk-windows/platforms/android-10/android.jar C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/java/android/*.java C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mo
sync/internal/android/*.java C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/internal/generated/*.java C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/nativeui/core/*.java C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/An
droidProject/src/com/mosync/nativeui/ui/egl/*.java C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/nativeui/ui/factories/*.java C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/nativeui/ui/widgets/*.java C:/mb/MoSync-trunk/runtim
es/java/platforms/androidJNI/AndroidProject/src/com/mosync/nativeui/util/*.java C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/nativeui/util/properties/*.java C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/pim/*.java C:/mb/MoS
ync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/nativeui/ui/custom/*.java C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/gen/com/mosync/java/android/*.java C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/internal/an
droid/nfc/*.java C:/mb/MoSync-trunk/runtimes/java/platforms/androidJNI/AndroidProject/src/com/mosync/internal/android/nfc/ops/*.java
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: C:\mb\MoSync-trunk\runtimes\java\platforms\androidJNI\AndroidProject\src\com\mosync\nativeui\ui\widgets\WebWidget.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 warning
Copy Generated Library File
Build Zip Package
cd temp
C:/mb/MoSync-trunk/tools/ReleasePackageBuild/build_package_tools/mosync_bin/zip -r MoSyncRuntime.zip .
C:/mb/MoSync-trunk/rules/util.rb:88:in `popen': Permission denied - C:/mb/MoSync-trunk/tools/ReleasePackageBuild/build_package_tools/mosync_bin/zip -r MoSyncRuntime.zip . (Errno::EACCES)
from C:/mb/MoSync-trunk/rules/util.rb:88:in `sh'
from buildJNI.rb:43:in `sh'
from buildJNI.rb:224:in `'
Error: Command failed: 'pid 3556 exit 1'
C:/mb/MoSync-trunk/rules/error.rb:19:in `error': Command failed: 'pid 3556 exit 1' (RuntimeError)
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:31:in `sh'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/BuildAndroid.rb:81:in `androidBuilder'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/BuildAndroid.rb:35:in `android_3'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:82:in `block in build'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:79:in `each'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:79:in `build'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:109:in `'
"

It seems I have access denied to the folder "mosync_bin"! Even through the windows explorer I get a message "The location is not available - The location is not acessible - Access Denied"

Any idea why? :s

Thanks,

Miguel Augusto
miguelmaugusto's picture
Offline
Mobile Wizard
Joined: 19 Dec 2011
Posts:

Ok! Sorry. I changed the folder permissions and got to open it through the explorer, but even with "Run as administrator", I still get this error from the zipping popen:

"Build Zip Package

cd temp
C:/mb/MoSync-trunk/tools/ReleasePackageBuild/build_package_tools/mosync_bin/zip
-r MoSyncRuntime.zip .
C:/mb/MoSync-trunk/rules/util.rb:88:in `popen': Permission denied - C:/mb/MoSync
-trunk/tools/ReleasePackageBuild/build_package_tools/mosync_bin/zip -r MoSyncRun
time.zip . (Errno::EACCES)
from C:/mb/MoSync-trunk/rules/util.rb:88:in `sh'
from buildJNI.rb:43:in `sh'
from buildJNI.rb:224:in `'
Error: Command failed: 'pid 6876 exit 1'
C:/mb/MoSync-trunk/rules/error.rb:19:in `error': Command failed: 'pid 6876 exit
1' (RuntimeError)
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:31:in `sh
'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/BuildAndroid.rb:81:in `andr
oidBuilder'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/BuildAndroid.rb:35:in `andr
oid_3'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:82:in `bl
ock in build'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:79:in `ea
ch'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:79:in `bu
ild'
from C:/mb/MoSync-trunk/tools/RuntimeBuilder/RuntimeBuilder.rb:109:in `<
main>'
"

Any ideas on how to solve this one?

Thanks,
Mike

Miguel Augusto
miguelmaugusto's picture
Offline
Mobile Wizard
Joined: 19 Dec 2011
Posts:

Finally did it! =D
"FINISHED! - c:/MoSync/profiles/runtimes/android_3/1/MoSyncRuntimeD.zip, Android source package was succesfully generated!"

(sorry for the spam back there. clearly I had some file-system problems has a consequence of my backups back and forth. Once I solved that, It worked fine.)

Miguel Augusto
miguelmaugusto's picture
Offline
Mobile Wizard
Joined: 19 Dec 2011
Posts:

Now I can build Android runtime, but I still can not deploy my Android app :-(.
I always get this MoSync Error 40044 - " ERR_IDL_VERSION //IDL version mismatch."

I made my extension built in MoSync, wich is already working fine in MoRE.

Can this be, because I didn't compile the Moblin Runtime?
(I "only" compiled JavaME, Android and MoRE runtimes.)

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:

It sounds like there are libraries and other source code (maybe your app) which have been built with different versions of MoSync. All the libraries must be built in the same version of MoSync.