You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 16.04编译Android版VLC失败求助

Fixing VLC Android Build Failure on Ubuntu 16.04 (Missing vlc.appdata.xml)

Hey there, I’ve run into similar path-related hiccups when building VLC for Android before—let’s break down your error and work through fixes step by step:

The Core Issue

Your build is failing because the install command can’t locate ../../share/vlc.appdata.xml. This means either the file wasn’t generated during the build process, or the path reference in the Makefile is misaligned with your source structure.

Potential Solutions

  • Check if the source file exists (and generate it if missing)
    First, navigate to your VLC source root’s share folder and see if vlc.appdata.xml exists. If it’s missing, look for a template file like vlc.appdata.xml.in in the same directory. Generate the actual XML file by running:

    cd /home/vlc-android/vlc/share
    autoreconf -vfi
    

    Then restart your build process from the configuration step.

  • Clean stale build artifacts and rebuild
    Cached build files often cause weird path mismatches. Wipe the entire build directory and start fresh:

    rm -rf /home/vlc-android/vlc/build-android-arm-linux-androideabi
    # Re-run your configure and build commands here
    
  • Temporarily skip the appdata installation step
    If you don’t need the metainfo file for your build, you can bypass this error by modifying the Makefile:

    1. Open /home/vlc-android/vlc/build-android-arm-linux-androideabi/share/Makefile
    2. Find the line starting with install-appdataDATA: and comment it out (add a # at the start)
    3. Save the file and re-run make install
  • Validate your build configuration flags
    Double-check that your configure command didn’t disable metainfo support. If you see --disable-metainfo in your flags, remove it—you can also explicitly enable it with --enable-metainfo when re-running the configure script.

Your Error Log for Reference

make[2]: Leaving directory `/home/vlc-android/vlc/build-android-arm-linux-androideabi/po'
Making install in share
make[2]: Entering directory `/home/vlc-android/vlc/build-android-arm-linux-androideabi/share'
GEN vlc.appdata.xml
make[3]: Entering directory `/home/vlc-android/vlc/build-android-arm-linux-androideabi/share'
make[3]: Nothing to be done for `install-exec-am'.
GEN vlc.appdata.xml
/bin/mkdir -p '/home/vlc-android/vlc/build-android-arm-linux-androideabi/install/share/metainfo'
/usr/bin/install -c -m 644 ../../share/vlc.appdata.xml '/home/vlc-android/vlc/build-android-arm-linux-androideabi/install/share/metainfo'
/usr/bin/install: cannot stat '../../share/vlc.appdata.xml': No such file or directory
make[3]: *** [install-appdataDATA] Error 1
make[3]: Leaving directory `/home/vlc-android/vlc/build-android-arm-linux-androideabi/share'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/vlc-android/vlc/build-android-arm-linux-androideabi/share'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/vlc-android/vlc/build-android-arm-linux-androideabi'
make: *** [install] Error 2
vlc: make install failed

内容的提问来源于stack exchange,提问作者郭明浩

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.12 04:04:44