build hxcpp on error problem

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

build hxcpp on error problem

m5no1
hi hugh!

thanks for your great work on iphone,It works really fast.
now I'm trying to move my project to android too.but there is some issue.

I haxe download the NDK from crystax.net,and include the java and libnme.so from hxcpp and nme.
then I use -Dandroid to compile a .so,and I put it to myProject\libs\armeabi\libSample.so.
I build apk with no error,but when run on device it show error "org.hxe.nme" process error..."

have you any idea,
thanks
Reply | Threaded
Open this post in threaded view
|

Re: build hxcpp on error problem

singmajesty
I'm interested in this process too.

I'm guessing that you install the NDK to compile the HXCPP application,  
then you use the SDK to build an application using the Java wrapper files  
and the compiled C files?



On Fri, 10 Sep 2010 00:09:21 -0700, m5no1 <[hidden email]> wrote:

>
> hi hugh!
>
> thanks for your great work on iphone,It works really fast.
> now I'm trying to move my project to android too.but there is some issue.
>
> I haxe download the NDK from crystax.net,and include the java and  
> libnme.so
> from hxcpp and nme.
> then I use -Dandroid to compile a .so,and I put it to
> myProject\libs\armeabi\libSample.so.
> I build apk with no error,but when run on device it show error  
> "org.hxe.nme"
> process error..."
>
> have you any idea,
> thanks

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: build hxcpp on error problem

m5no1
yes ,I have done what you guess,everything  looks in the right way ,GameActivity is the main file,it will call libSample.so and libNME.so,and apk is about 1.5mb,very similar to Hugh's demo.but I don't konw while it's not work on device. my device is moto milestone with android 2.1.
Reply | Threaded
Open this post in threaded view
|

Re: build hxcpp on error problem

Heinz Hölzer-2
In reply to this post by m5no1
  Same problem on HTC Desire with Android 2.2.

Am 10.09.2010 09:09, schrieb m5no1:

> hi hugh!
>
> thanks for your great work on iphone,It works really fast.
> now I'm trying to move my project to android too.but there is some issue.
>
> I haxe download the NDK from crystax.net,and include the java and libnme.so
> from hxcpp and nme.
> then I use -Dandroid to compile a .so,and I put it to
> myProject\libs\armeabi\libSample.so.
> I build apk with no error,but when run on device it show error "org.hxe.nme"
> process error..."
>
> have you any idea,
> thanks


--
haXe - an open source web programming language
http://haxe.org