Page 1 of 1

compile failed on 1.1.x

Posted: 03 Mar 2015 04:25
by DoDenny
Hi guys,

thanks for your quick release 1.1.x , libvlcjni.so can be made successfully (./compile-libvlc.sh) ,but java projects are always builded failed with the compile logs below:

make: Entering directory `/home/vlc/master/android/libvlc'
[armeabi-v7a] Install : libanw.10.so => libs/armeabi-v7a/libanw.10.so
[armeabi-v7a] Install : libanw.13.so => libs/armeabi-v7a/libanw.13.so
[armeabi-v7a] Install : libanw.14.so => libs/armeabi-v7a/libanw.14.so
[armeabi-v7a] Install : libanw.18.so => libs/armeabi-v7a/libanw.18.so
[armeabi-v7a] Install : libanw.21.so => libs/armeabi-v7a/libanw.21.so
[armeabi-v7a] Install : libiomx.10.so => libs/armeabi-v7a/libiomx.10.so
[armeabi-v7a] Install : libiomx.13.so => libs/armeabi-v7a/libiomx.13.so
[armeabi-v7a] Install : libiomx.14.so => libs/armeabi-v7a/libiomx.14.so
[armeabi-v7a] Compile thumb : vlcjni <= libvlcjni.c
In file included from jni/libvlcjni.c:31:0:
/home/vlc/master/android/vlc/include/vlc_common.h: In function 'vlc_memalign':
/home/vlc/master/android/vlc/include/vlc_common.h:841:5: warning: implicit declaration of function 'posix_memalign' [-Wimplicit-function-declaration]
[armeabi-v7a] SharedLibrary : libvlcjni.so
[armeabi-v7a] Install : libvlcjni.so => libs/armeabi-v7a/libvlcjni.so
make: Leaving directory `/home/vlc/master/android/libvlc'
Build tools 21.1.2 missing. Downloading...

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':WheelView'.
> failed to find Build Tools revision 21.1.2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 31.649 secs

BTW, i can compile previous release succefully. it only failed after release 1.1.x . could you help give me some comments, thanks for your effects.

Thanks,
DoDenny

Re: compile failed on 1.1.x

Posted: 03 Mar 2015 05:16
by edwardw
Clean your directory.

Re: compile failed on 1.1.x

Posted: 03 Mar 2015 11:07
by Jean-Baptiste Kempf
> failed to find Build Tools revision 21.1.2

Re: compile failed on 1.1.x

Posted: 04 Mar 2015 13:31
by DoDenny
Hi guys,

Exactly , it works after upgrade Build Tools revision 21.1.2 by SDKManager. thanks!!!

Thanks,
DoDenny

Re: compile failed on 1.1.x

Posted: 08 Mar 2015 23:52
by edwardw
Cool.