Page 1 of 1

Debugging VLC for android in Android Studio

Posted: 27 Mar 2015 09:01
by truestep
Hello.
I compiled the latest VLC for Android successfully on Ubuntu. Imported the project to android studio.
I put break points here and there. But When I try to run the debug seession I'm getting Failure [INSTALL_FAILED_OLDER_SDK]
Here is more complete output:
Waiting for device.
Target device: sony-c5303-YT910GDRZS
Uploading file
local path: /home/natasha/android/android/vlc-android/build/outputs/apk/VLC-Android-CHROME-1.1.6-ARMv5.apk
remote path: /data/local/tmp/org.videolan.vlc.debug
Installing org.videolan.vlc.debug
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/org.videolan.vlc.debug"
pkg: /data/local/tmp/org.videolan.vlc.debug
Failure [INSTALL_FAILED_OLDER_SDK]
I'm using phone with android 4.3
Configuration for min sdk and target sdk are default I didn't change it and it looks good: min is 7 target 21.
I can't figure out how to overcome this,please assist.

Re: Debugging VLC for android in Android Studio

Posted: 27 Mar 2015 16:22
by Jean-Baptiste Kempf
local path: /home/natasha/android/android/vlc-android/build/outputs/apk/VLC-Android-CHROME-1.1.6-ARMv5.apk

Chrome?

You are wrongly compiling.

Re: Debugging VLC for android in Android Studio

Posted: 29 Mar 2015 22:00
by truestep
Looks like yes.
It's executing the task [:vlc-android:assembleChromeARMv5Debug] when I click debug button. And I can't find the way how to change this.
There is a big list of tasks on gradle tab on the right, how to deal with them?

Gradle build output below:

Code: Select all

Executing tasks: [:vlc-android:assembleChromeARMv5Debug] Configuration on demand is an incubating feature. :libvlc:buildDebugARMv5 For an ARMv6 device without FPU: use "-a armeabi-nofpu" For an ARMv5 device: use "-a armeabi-v5" ABI: armeabi API: android-9 SYSROOT: /home/natasha/Development/android-ndk-r10d/platforms/android-9/arch-arm FPU: NO ARMv5: YES PATH: /home/natasha/Development/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/natasha/.rvm/bin CFLAGS: -g -O2 -fstrict-aliasing -funsafe-math-optimizations -mlong-calls EXTRA_CFLAGS: -march=armv5te -mtune=arm9tdmi -msoft-float -I/home/natasha/Development/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/natasha/Development/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include Building tools You are ready to build VLC and its contribs Building the contribs Generating EGL pkg-config file Generating GLESv2 pkg-config file Guessing build system... x86_64-linux-gnu Creating configuration file... config.mak Bootstrap completed. Run "make" to start compilation. Other targets: * make install same as "make" * make prebuilt fetch and install prebuilt binaries * make list list packages * make fetch fetch required source tarballs * make fetch-all fetch all source tarballs * make distclean clean everything and undo bootstrap * make mostlyclean clean everything except source tarballs * make clean clean everything * make package prepare prebuilt packages make: Nothing to be done for `fetch'. make: Nothing to be done for `all'. Building make all-recursive make[1]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi' Making all in compat make[2]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/compat' make all-am make[3]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/compat' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/compat' make[2]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/compat' Making all in doc make[2]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/doc' Making all in po make[2]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/po' Making all in share make[2]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/share' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/share' Making all in src make[2]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/src' GEN stamp-revision make all-am make[3]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/src' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/src' make[2]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/src' Making all in modules make[2]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules' make all-recursive make[3]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules' Making all in . make[4]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules' Making all in gui/macosx make[4]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/macosx' make all-am make[5]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/macosx' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/macosx' make[4]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/macosx' Making all in gui/macosx_dialog_provider make[4]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/macosx_dialog_provider' make all-am make[5]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/macosx_dialog_provider' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/macosx_dialog_provider' make[4]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/macosx_dialog_provider' Making all in gui/minimal_macosx make[4]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/minimal_macosx' make all-am make[5]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/minimal_macosx' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/minimal_macosx' make[4]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules/gui/minimal_macosx' make[3]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules' make[2]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/modules' Making all in lib make[2]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/lib' make all-am make[3]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/lib' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/lib' make[2]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/lib' Making all in test make[2]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/test' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi/test' make[2]: Entering directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi' make[2]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi' make[1]: Leaving directory `/home/natasha/android/android/vlc/build-android-arm-linux-androideabi' Generating static module list /home/natasha/Development/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm: libgnustl_static.a: File format not recognized /home/natasha/Development/android-ndk-r10d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-objcopy:vlc/build-android-arm-linux-androideabi/modules/.libs/libzvbi_plugin.a(libgnustl_static.a): Unable to recognise the format of file: File format not recognized Building NDK Android NDK: WARNING:jni/Android.mk:anw.10: non-system libraries in linker flags: -lhardware Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module Android NDK: WARNING:jni/Android.mk:anw.13: non-system libraries in linker flags: -lhardware Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module Android NDK: WARNING:jni/Android.mk:anw.14: non-system libraries in linker flags: -lhardware Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module Android NDK: WARNING:jni/Android.mk:anw.18: non-system libraries in linker flags: -lhardware Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module Android NDK: WARNING:jni/Android.mk:anw.21: non-system libraries in linker flags: -lhardware Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module Android NDK: WARNING:jni/Android.mk:iomx.10: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lbinder Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module Android NDK: WARNING:jni/Android.mk:iomx.13: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lbinder Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module Android NDK: WARNING:jni/Android.mk:iomx.14: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lbinder Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module Android NDK: WARNING:jni/Android.mk:vlcjni: non-system libraries in linker flags: /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libmad_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libi420_rgb_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libcanvas_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libantiflicker_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libnsv_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpacketizer_dirac_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libyuy2_i420_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libconsole_logger_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libfingerprinter_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdvbsub_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libtcp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libshm_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libcroppadd_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libequalizer_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libmpgv_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/liblogo_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsyslog_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libfps_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libyuvp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libandroid_native_window_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsdp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libyuv_rgb_neon_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libudp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpostproc_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdecomp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libinvert_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libegl_android_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsubstx3g_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libaraw_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libmpeg_audio_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libnsc_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libamem_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpacketizer_flac_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsubsdec_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdemuxdump_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libfile_logger_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdvdnav_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libfloat_mixer_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpacketizer_mpeg4audio_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libflacsys_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libasf_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libhttp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libtaglib_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpva_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/liblibmpeg2_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libswscale_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libes_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libfilesystem_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libplaylist_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libxa_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libgaussianblur_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libopus_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdsm_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/liba52tospdif_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libflac_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdts_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libi422_i420_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/liba52_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libugly_resampler_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libi422_yuy2_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpacketizer_avparser_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libhqdn3d_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/liblive555_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpacketizer_mpeg4video_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libvolume_neon_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libwav_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdeinterlace_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libavio_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdolby_surround_decoder_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/librawvideo_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/liba52tofloat32_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libchain_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libopensles_android_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpacketizer_h264_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libattachment_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/liblpcm_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libgrey_yuv_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libfreetype_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libandroid_surface_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libvorbis_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libzip_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libfolder_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsftp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdemux_cdg_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libmjpeg_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsvcdsub_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/librawaud_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libts_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libftp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libyuy2_i422_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libcvdsub_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpng_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpacketizer_vc1_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libspatializer_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdtstospdif_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libcolorthres_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libvdr_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libcompressor_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsimple_channel_mixer_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libspudec_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libtrivial_channel_mixer_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libstereo_widen_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libau_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/liblibass_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libvobsub_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libimem_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libgain_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libavcodec_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libnormvol_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpacketizer_mpegvideo_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libextract_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/librv32_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsepia_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libcaf_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libaccess_mms_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libxml_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libheadphone_channel_mixer_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libgradfun_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsubsusf_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libaudio_format_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/librawvid_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libblend_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libogg_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libtransform_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libmono_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libtta_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libnuv_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsimple_channel_mixer_neon_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsubtitle_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/librar_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libps_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libvmem_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdiracsys_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libanaglyph_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libhevc_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libinteger_mixer_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libmod_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libaes3_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libscale_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libchorus_flanger_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libvhs_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libcc_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/librecord_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libfreeze_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libavi_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libvoc_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libuleaddvaudio_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libremap_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libspeex_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libi420_yuy2_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libzvbi_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libiomx_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libmediacodec_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpacketizer_hevc_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libgnutls_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libtheora_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libaiff_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsmooth_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdvdread_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libparam_eq_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libchroma_yuv_neon_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libandroid_window_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libty_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libandroid_logger_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libhds_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libgles2_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libadjust_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libh264_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libtimecode_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdemux_stl_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdash_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libjpeg_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libupnp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libscaletempo_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libafile_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libmp4_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libtelx_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libmkv_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libimage_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libcdg_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libavformat_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libkaraoke_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libg711_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libvc1_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libandroid_audiotrack_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libstl_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libhttplive_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/liboldmovie_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/librawdv_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libpacketizer_mlp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libaccess_realrtsp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libwave_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libdummy_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libadpcm_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/librtp_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libmarq_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/librotate_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libsubsdelay_plugin.a /home/natasha/android/android/.modules/build-android-arm-linux-androideabi/libscte27_plugin.a /home/natasha/android/android/vlc/build-android-arm-linux-androideabi/lib/.libs/libvlc.a /home/natasha/android/android/vlc/build-android-arm-linux-androideabi/src/.libs/libvlccore.a /home/natasha/android/android/vlc/build-android-arm-linux-androideabi/compat/.libs/libcompat.a -ldvbpsi -lmatroska -lebml -ltag -logg -lFLAC -ltheora -lvorbis -lmpeg2 -la52 -lavformat -lavcodec -lswscale -lavutil -lpostproc -lgsm -lopenjpeg -lliveMedia -lUsageEnvironment -lBasicUsageEnvironment -lgroupsock -lspeex -lspeexdsp -lxml2 -lpng -lgnutls -lgcrypt -lgpg-error -lnettle -lhogweed -lgmp -lfreetype -liconv -lass -lfribidi -lopus -ljpeg -ldvdnav -ldvdread -ldvdcss -ldsm -ltasn1 -lmad -lzvbi -lssh2 -lmodplug -lupnp -lthreadutil -lixml -lgnustl_static Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module make: Entering directory `/home/natasha/android/android/libvlc' [armeabi] Gdbserver : [arm-linux-androideabi-4.8] libs/armeabi/gdbserver [armeabi] Gdbsetup : libs/armeabi/gdb.setup [armeabi] Install : libanw.10.so => libs/armeabi/libanw.10.so [armeabi] Install : libanw.13.so => libs/armeabi/libanw.13.so [armeabi] Install : libanw.14.so => libs/armeabi/libanw.14.so [armeabi] Install : libanw.18.so => libs/armeabi/libanw.18.so [armeabi] Install : libanw.21.so => libs/armeabi/libanw.21.so [armeabi] Install : libiomx.10.so => libs/armeabi/libiomx.10.so [armeabi] Install : libiomx.13.so => libs/armeabi/libiomx.13.so [armeabi] Install : libiomx.14.so => libs/armeabi/libiomx.14.so [armeabi] Compile arm : vlcjni <= libvlcjni.c In file included from jni/libvlcjni.c:31:0: /home/natasha/android/android/vlc/include/vlc_common.h: In function 'vlc_memalign': /home/natasha/android/android/vlc/include/vlc_common.h:841:5: warning: implicit declaration of function 'posix_memalign' [-Wimplicit-function-declaration] if (unlikely(posix_memalign(&base, align, size))) ^ [armeabi] SharedLibrary : libvlcjni.so [armeabi] Install : libvlcjni.so => libs/armeabi/libvlcjni.so make: Leaving directory `/home/natasha/android/android/libvlc' :vlc-android:preBuild UP-TO-DATE :vlc-android:preChromeARMv5DebugBuild UP-TO-DATE :vlc-android:compileChromeARMv5DebugNdk UP-TO-DATE :WheelView:compileLint :WheelView:copyReleaseLint UP-TO-DATE :WheelView:mergeReleaseProguardFiles UP-TO-DATE :WheelView:preBuild UP-TO-DATE :WheelView:preReleaseBuild UP-TO-DATE :WheelView:checkReleaseManifest :WheelView:prepareReleaseDependencies :WheelView:compileReleaseAidl UP-TO-DATE :WheelView:compileReleaseRenderscript UP-TO-DATE :WheelView:generateReleaseBuildConfig UP-TO-DATE :WheelView:generateReleaseAssets UP-TO-DATE :WheelView:mergeReleaseAssets UP-TO-DATE :WheelView:generateReleaseResValues UP-TO-DATE :WheelView:generateReleaseResources UP-TO-DATE :WheelView:packageReleaseResources UP-TO-DATE :WheelView:processReleaseManifest UP-TO-DATE :WheelView:processReleaseResources UP-TO-DATE :WheelView:generateReleaseSources UP-TO-DATE :WheelView:compileReleaseJava UP-TO-DATE :WheelView:processReleaseJavaRes UP-TO-DATE :WheelView:packageReleaseJar UP-TO-DATE :WheelView:compileReleaseNdk UP-TO-DATE :WheelView:packageReleaseJniLibs UP-TO-DATE :WheelView:packageReleaseLocalJar UP-TO-DATE :WheelView:packageReleaseRenderscript UP-TO-DATE :WheelView:bundleRelease UP-TO-DATE :libvlc:compileLint :libvlc:copyReleaseLint UP-TO-DATE :libvlc:mergeReleaseProguardFiles UP-TO-DATE :libvlc:preBuild UP-TO-DATE :libvlc:preReleaseBuild UP-TO-DATE :libvlc:checkReleaseManifest :libvlc:prepareReleaseDependencies :libvlc:compileReleaseAidl UP-TO-DATE :libvlc:compileReleaseRenderscript UP-TO-DATE :libvlc:generateReleaseBuildConfig UP-TO-DATE :libvlc:generateReleaseAssets UP-TO-DATE :libvlc:mergeReleaseAssets UP-TO-DATE :libvlc:generateReleaseResValues UP-TO-DATE :libvlc:generateReleaseResources UP-TO-DATE :libvlc:packageReleaseResources UP-TO-DATE :libvlc:processReleaseManifest UP-TO-DATE :libvlc:processReleaseResources UP-TO-DATE :libvlc:generateReleaseSources UP-TO-DATE :libvlc:compileReleaseJava UP-TO-DATE :libvlc:processReleaseJavaRes UP-TO-DATE :libvlc:packageReleaseJar UP-TO-DATE :libvlc:compileReleaseNdk UP-TO-DATE :libvlc:packageReleaseJniLibs UP-TO-DATE :libvlc:packageReleaseLocalJar UP-TO-DATE :libvlc:packageReleaseRenderscript UP-TO-DATE :libvlc:bundleRelease UP-TO-DATE :vlc-android:checkChromeARMv5DebugManifest :vlc-android:preChromeARMv5ReleaseBuild UP-TO-DATE :vlc-android:preChromeARMv6fpuDebugBuild UP-TO-DATE :vlc-android:preChromeARMv6fpuReleaseBuild UP-TO-DATE :vlc-android:preChromeARMv6nofpuDebugBuild UP-TO-DATE :vlc-android:preChromeARMv6nofpuReleaseBuild UP-TO-DATE :vlc-android:preChromeARMv7DebugBuild UP-TO-DATE :vlc-android:preChromeARMv7ReleaseBuild UP-TO-DATE :vlc-android:preChromeARMv8DebugBuild UP-TO-DATE :vlc-android:preChromeARMv8ReleaseBuild UP-TO-DATE :vlc-android:preChromeMIPS64DebugBuild UP-TO-DATE :vlc-android:preChromeMIPS64ReleaseBuild UP-TO-DATE :vlc-android:preChromeMIPSDebugBuild UP-TO-DATE :vlc-android:preChromeMIPSReleaseBuild UP-TO-DATE :vlc-android:preChromeX86DebugBuild UP-TO-DATE :vlc-android:preChromeX86ReleaseBuild UP-TO-DATE :vlc-android:preChromeX86_64DebugBuild UP-TO-DATE :vlc-android:preChromeX86_64ReleaseBuild UP-TO-DATE :vlc-android:preTvARMv5DebugBuild UP-TO-DATE :vlc-android:preTvARMv5ReleaseBuild UP-TO-DATE :vlc-android:preTvARMv6fpuDebugBuild UP-TO-DATE :vlc-android:preTvARMv6fpuReleaseBuild UP-TO-DATE :vlc-android:preTvARMv6nofpuDebugBuild UP-TO-DATE :vlc-android:preTvARMv6nofpuReleaseBuild UP-TO-DATE :vlc-android:preTvARMv7DebugBuild UP-TO-DATE :vlc-android:preTvARMv7ReleaseBuild UP-TO-DATE :vlc-android:preTvARMv8DebugBuild UP-TO-DATE :vlc-android:preTvARMv8ReleaseBuild UP-TO-DATE :vlc-android:preTvMIPS64DebugBuild UP-TO-DATE :vlc-android:preTvMIPS64ReleaseBuild UP-TO-DATE :vlc-android:preTvMIPSDebugBuild UP-TO-DATE :vlc-android:preTvMIPSReleaseBuild UP-TO-DATE :vlc-android:preTvX86DebugBuild UP-TO-DATE :vlc-android:preTvX86ReleaseBuild UP-TO-DATE :vlc-android:preTvX86_64DebugBuild UP-TO-DATE :vlc-android:preTvX86_64ReleaseBuild UP-TO-DATE :vlc-android:preVanillaARMv5DebugBuild UP-TO-DATE :vlc-android:preVanillaARMv5ReleaseBuild UP-TO-DATE :vlc-android:preVanillaARMv6fpuDebugBuild UP-TO-DATE :vlc-android:preVanillaARMv6fpuReleaseBuild UP-TO-DATE :vlc-android:preVanillaARMv6nofpuDebugBuild UP-TO-DATE :vlc-android:preVanillaARMv6nofpuReleaseBuild UP-TO-DATE :vlc-android:preVanillaARMv7DebugBuild UP-TO-DATE :vlc-android:preVanillaARMv7ReleaseBuild UP-TO-DATE :vlc-android:preVanillaARMv8DebugBuild UP-TO-DATE :vlc-android:preVanillaARMv8ReleaseBuild UP-TO-DATE :vlc-android:preVanillaMIPS64DebugBuild UP-TO-DATE :vlc-android:preVanillaMIPS64ReleaseBuild UP-TO-DATE :vlc-android:preVanillaMIPSDebugBuild UP-TO-DATE :vlc-android:preVanillaMIPSReleaseBuild UP-TO-DATE :vlc-android:preVanillaX86DebugBuild UP-TO-DATE :vlc-android:preVanillaX86ReleaseBuild UP-TO-DATE :vlc-android:preVanillaX86_64DebugBuild UP-TO-DATE :vlc-android:preVanillaX86_64ReleaseBuild UP-TO-DATE :vlc-android:prepareAndroidLibvlcUnspecifiedLibrary UP-TO-DATE :vlc-android:prepareAndroidWheelViewUnspecifiedLibrary UP-TO-DATE :vlc-android:prepareComAndroidSupportAppcompatV72103Library UP-TO-DATE :vlc-android:prepareComAndroidSupportCardviewV72103Library UP-TO-DATE :vlc-android:prepareComAndroidSupportRecyclerviewV72103Library UP-TO-DATE :vlc-android:prepareComAndroidSupportSupportV42103Library UP-TO-DATE :vlc-android:prepareChromeARMv5DebugDependencies :vlc-android:compileChromeARMv5DebugAidl UP-TO-DATE :vlc-android:compileChromeARMv5DebugRenderscript UP-TO-DATE :vlc-android:generateChromeARMv5DebugBuildConfig UP-TO-DATE :vlc-android:generateChromeARMv5DebugAssets UP-TO-DATE :vlc-android:mergeChromeARMv5DebugAssets UP-TO-DATE :vlc-android:generateChromeARMv5DebugResValues UP-TO-DATE :vlc-android:generateChromeARMv5DebugResources UP-TO-DATE :vlc-android:mergeChromeARMv5DebugResources UP-TO-DATE :vlc-android:processChromeARMv5DebugManifest UP-TO-DATE :vlc-android:processChromeARMv5DebugResources UP-TO-DATE :vlc-android:generateChromeARMv5DebugSources UP-TO-DATE :vlc-android:compileChromeARMv5DebugJava UP-TO-DATE :vlc-android:preDexChromeARMv5Debug UP-TO-DATE :vlc-android:dexChromeARMv5Debug UP-TO-DATE :vlc-android:processChromeARMv5DebugJavaRes UP-TO-DATE :vlc-android:validateDebugSigning :vlc-android:packageChromeARMv5Debug UP-TO-DATE :vlc-android:zipalignChromeARMv5Debug UP-TO-DATE :vlc-android:assembleChromeARMv5Debug BUILD SUCCESSFUL Total time: 20.031 secs

Re: Debugging VLC for android in Android Studio

Posted: 29 Mar 2015 22:09
by Jean-Baptiste Kempf
You need to compile the vanilla ARMv7 version, in the targets, not the chorme one.

Re: Debugging VLC for android in Android Studio

Posted: 30 Mar 2015 00:07
by truestep
Thank you for your help. That's what I had to do: I had to go to view -> tool windows -> build variants, and to chose the version I need. Also in order not to compile the vlclib for each run I had to comment out the compilation of vlclib from the dependent tasks in gradle file for vlc-android project, after first run.

Re: Debugging VLC for android in Android Studio

Posted: 30 Mar 2015 14:22
by Jean-Baptiste Kempf
This is a bad idea. You should read the documentation, you know?

Re: Debugging VLC for android in Android Studio

Posted: 31 Mar 2015 22:42
by truestep
Yes it doesn't look look good, but for me it's not clear how to disable the compilation of vlclib each time i hit debug button. I read the doc from here https://wiki.videolan.org/AndroidCompile but there no info about this there, or maybe there is some other place with documentation to read? It'd be good if you point to the right place, I'll read.

Re: Debugging VLC for android in Android Studio

Posted: 01 Apr 2015 09:13
by edwardw
The compile.sh script has options for managing all of this. Don't use Android Studio to build. The script itself uses gradle under the hood.