and the logcat says???

On Fri, Apr 12, 2013 at 8:50 AM, Chas Xu <[email protected]> wrote:

> Thanks for the reply,
>
> The issue was because that I added the reference only in the core project
> (in which the native class is used ) not into the UI project. After I add
> the generated dll file as a reference in the app project as well, I can use
> the class and create the object now.
>
> However the app just crashes after the main activity set content view.
>
>
>
> On 12 April 2013 13:58, Sayed Arian Kooshesh <[email protected]> wrote:
>
>> right click content set to *AndroidJavaLibrary*
>>
>>
>> On Fri, Apr 12, 2013 at 3:48 AM, Chas Xu <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I created a Java bindings library project (in VS) and add the generated
>>> dll as the reference in my mono android app project. The class in the
>>> library project is visible at compile time but not visible at runtime. The
>>> exception NoClassDefFoundError was thrown on a simple new
>>> classFromNativeLibrary(AppContext). How could I resolve it?
>>>
>>> Thanks for any help.
>>>
>>> _______________________________________________
>>> Monodroid mailing list
>>> [email protected]
>>>
>>> UNSUBSCRIBE INFORMATION:
>>> http://lists.ximian.com/mailman/listinfo/monodroid
>>>
>>>
>>
>>
>> --
>> Extreme Knowledge is not something for which he programs a computer but
>> for which his computer is programming him.
>>
>> -Wozniak
>>
>>
>>    - if my programming advice has helped you, feel free to donate to : 
>> <https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KYUXV2PG88YQQ>
>>
>> <https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KYUXV2PG88YQQ>
>> <https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KYUXV2PG88YQQ>
>>
>> _______________________________________________
>> Monodroid mailing list
>> [email protected]
>>
>> UNSUBSCRIBE INFORMATION:
>> http://lists.ximian.com/mailman/listinfo/monodroid
>>
>>
>
> _______________________________________________
> Monodroid mailing list
> [email protected]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>


-- 
Extreme Knowledge is not something for which he programs a computer but for
which his computer is programming him.

-Wozniak


   - if my programming advice has helped you, feel free to donate to :
<https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KYUXV2PG88YQQ>

<https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KYUXV2PG88YQQ>
<https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KYUXV2PG88YQQ>
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to