[vlc-devel] Build vlc-Android : package android.annotation does not exist

Edward Wang edward.c.wang at compdigitec.com
Mon Jun 25 18:22:14 CEST 2012

On 12-06-25 11:59 AM, Thomas Clavier <tom at tcweb.org> wrote:
>     Hello
> From 18 jun, my jenkins failed to build vlc-android trunc, it says 
> they missing annotation jar. Have you idea to resolve this issue ?
>      [javac] Compiling 53 source files to /var/lib/jenkins/jobs/vlc-android-neon/workspace/vlc-android/bin/classes
>      [javac] /var/lib/jenkins/jobs/vlc-android-neon/workspace/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java:39: package android.annotation does not exist
>      [javac] import android.annotation.TargetApi;
>      [javac]                          ^
> http://jenkins.azae.net/job/vlc-android-neon/158/console
> And the last good build : 
> http://jenkins.azae.net/job/vlc-android-neon/127/console
      [echo] Creating output directories if needed...
      [echo] Gathering info for ActionBarSherlock...
     [setup] Android SDK Tools Revision 19
     [setup] Project Target: Android 4.0.3
     [setup] API level: 15
     [setup] Project Type: Android Library
     [setup] ------------------
     [setup] Resolving library dependencies:
     [setup] No library dependencies.
     [setup] ------------------
     [setup] API<=15: Adding annotations.jar to the classpath.
     [setup] ------------------

Works for me (API<=15: Adding annotations.jar to the classpath). Maybe 
try updating your SDK Tools to revision 19.

         Edward Wang

More information about the vlc-devel mailing list