[jitsi-dev] (no subject)


#1

See the output of "ant install" in attached text file

output_file.txt (987 Bytes)

···

On Wed, May 15, 2013 at 11:37 PM, malik Mudassar <junto06@gmail.com> wrote:

I am using eclipse with windows 7. First I have build the jni module using
ndk-build & then run the project in the eclipse. But I am getting the
exception. Might be the issue is I am using eclipse with windows 7?
-Mudassar

On Wed, May 15, 2013 at 1:51 PM, Paweł Domas <pawel.domas@jitsi.org>wrote:

Hi,

On Tue, May 14, 2013 at 8:41 PM, malik Mudassar <junto06@gmail.com> >> wrote:
> Hi,
> I am trying to build a small voip app using jitsi. I have taken the
android
> source from the repository and run it. Its sussefully build but am not
able
> to run it. I am getting following error, am not sure is it a bug of
> something wrong with my workspace
>
> 05-14 22:18:17.175: E/AndroidRuntime(15422): FATAL EXCEPTION: main
> 05-14 22:18:17.175: E/AndroidRuntime(15422):
java.lang.NoClassDefFoundError:
> org.jitsi.impl.osgi.OSGiServiceBundleContextHolder
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> org.jitsi.impl.osgi.OSGiServiceImpl.<init>(OSGiServiceImpl.java:37)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> org.jitsi.service.osgi.OSGiService.<init>(OSGiService.java:39)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> java.lang.Class.newInstanceImpl(Native Method)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> java.lang.Class.newInstance(Class.java:1319)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> android.app.ActivityThread.handleCreateService(ActivityThread.java:2281)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> android.app.ActivityThread.access$1600(ActivityThread.java:127)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1233)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> android.os.Looper.loop(Looper.java:137)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> android.app.ActivityThread.main(ActivityThread.java:4508)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> java.lang.reflect.Method.invokeNative(Native Method)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> java.lang.reflect.Method.invoke(Method.java:511)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
>
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576)
> 05-14 22:18:17.175: E/AndroidRuntime(15422): at
> dalvik.system.NativeStart.main(Native Method)
>
> I would be greatfull if someone can assist me in right direction or
someone
> can refer me some tutorial so i can work on this.
> Thanks,
>
>

How are you building it ? Using ant or some IDE ?

I can only tell you that it works for me when I use IntelliJ with
JDK7, but to build I'm running ant task "debug-install". Use
"rebuild-and-deploy" if you want to upload built .apk to the device
connected via USB.

Regards,
Pawel