[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sequoyah-dev] This project does not have Native Library support
- From: Jean-Yves Avenard <jyavenard@xxxxxxxxx>
- Date: Fri, 15 Oct 2010 11:32:55 +1100
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=cMRjSva2v2K5e4yrFVI0yQWHFF8rIx6EC9WOR/hESA5hklfWWHZLi2nq/TNOaCi9fY 67PhHgw3+CTKybBVqYGgCnoscrXm+SUKQD4XEFcksl25xioQd5YuGsLD6JWGNTe+pnEa NK/AM9uumB40K4ahsNMkEE6pZhL+Qn+XkbsHU=
On 15 October 2010 05:48, Carlos Souto <mkhv73@xxxxxxxxxxxx> wrote:
> You enter just the project name, or whatever you want to call you library.
> The lib prefix and the .so suffix will be appended automatically.
Thanks, I had guessed it in the end :)
> The second error is somewhat odd. Could you provide any further details
> about the issue?
One of my layout is like this:
Note the <com.hydrix.laurene.ScreenView> ; this is a class inheriting
It makes use of a JNI Class com.hydrix.laurene.CalcCore.
It works fine on the device or simulator obviously.
But the layout editor will only show an error message, in the console you see:
java.lang.UnsatisfiedLinkError: no calccore in java.library.path
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
I'm guessing that Eclipse tries to load the ScreenView class, as it's
linked to an ARM native library it can't use it.
To be honest it doesn't bother me too much in the end. I found the
layout editor to be unusable anyway, it just never looks like what it
would look on a real device, so I've learnt to do without. Using
trials, the behaviour of Android layouts is more often than not
unpredictable. Like I have a view using a bar at the bottom. On one
layout I have to set the height to 120dip to be of the same height as
another where it's set to 58dip.
Another issue with the Native View..
I had to set the path to ndk-build statically. Leaving the default
does not work. The NDK path is properly set up.