VLC for android 编译错误

在Mac os 10.10.2上编译vlc for android的时候,出现如下错误:

$ sh compile.sh
*** No ANDROID_ABI defined architecture: using ARMv7
Downloading gradle
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   354  100   354    0     0    455      0 --:--:-- --:--:-- --:--:--   455
Archive:  gradle-2.2.1-all.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of gradle-2.2.1-all.zip or
        gradle-2.2.1-all.zip.zip, and cannot find gradle-2.2.1-all.zip.ZIP, period.

修改 compile.sh at Line 81:

wget ${GRADLE_URL} 2>/dev/null || curl -O ${GRADLE_URL}
=>wget ${GRADLE_URL} 2>/dev/null || curl -O -L ${GRADLE_URL}

时间: 2024-11-08 21:46:26

VLC for android 编译错误的相关文章

android 编译错误 Error:(1, 0) Plugin with id 'com.android.application' not found.

在导入一个项目时,由于它本身的gradle版本比较高,你试用比较旧版本的gradle时就报出Plugin with id 'com.android.application' not found.的错误 如果出现如上错误,只需要在build.gradle中添加下面代码即可: (直接加在 android{ } 的外面) buildscript { repositories { jcenter() // or mavenCentral() } dependencies { classpath 'com

Android 编译错误/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../

编译时出现/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../libz.so when searching for -lz错误 ============================================ PLATFORM_VERSION_CODENAME=AOSP PLATFORM_VERSION=AOSP TARGET_PRODUCT=generic TARGET_BUIL

Android编译错误——undefined reference to

[错误描述] 未定义引用 提示如下:bootable/recovery/minzip/Zip.c:1122: error: undefined reference to 'selabel_lookup'bootable/recovery/minzip/Zip.c:1123: error: undefined reference to 'setfscreatecon'bootable/recovery/minzip/Zip.c:1129: error: undefined reference to

排查Android编译错误时的技巧

编译Android时,我们常用命令 make flashfiles -j8 -j8代表用系统的8个线程去编译 但是这样出来的log会直接打印在标准输出里,会存不全:而且因为是8个线程,会导致log的顺序是乱的 所以当我们编译过一次之后(大部分文件已经被编译了,下次编译会跳过,这样节省下大部分时间) 选择下面的命令编译比较好: nohup make flashfiles -j1 log会存储在当前目录下的"nohup"文件中,并且-j1参数指定只用1个线程去编译,log顺序不会乱,这样方便我们排查

Android 编译错误——布局 Error parsing XML: not well-formed (invalid token)

在修改了Android布局文件后,编译出现Error parsing XML: not well-formed (invalid token). 首先先排查xml文件的编码格式是否为UTF-8, <?xml version="1.0" encoding="utf-8"?> ,注意,从别处copy的要留意编码格式! 还有各个标签是否有遗漏,把鼠标箭头移到出错误的layout上 点击鼠标右键选择Source然后再选Format. 都没有问题,结果发现报错处(

Android 编译错误

本人使用的是Android studio1.3版本,前几天调试通过的项目,现在编译出现了错误.错误信息如下 1 Project app: apk dependencies can only be jars. android:mgimlibs:aar:unspecified is an Android Library. 2 Project app: apk dependencies can only be jars. com.android.support:appcompat-v7:aar:19.

【转】ubuntu11.10 64bit 环境android编译错误

原文网址:http://blog.csdn.net/lmhgen/article/details/7326083 错误1: 注意:external/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java 使用了未经检查或不安全的操作. 注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译.注意:external/protobuf/java/src/main/java/com/googl

Android编译错误, Ignoring InnerClasses attribute for an anonymous inner class

今天在做android项目时,加入第三方包,一编译就报错.错误如下:[2012-01-13 14:51:25 - xxx] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class(org.xxx.xxx.xxx$1) that doesn't come with anassociated EnclosingMethod attribute. This class was probably produced

我的Android进阶之旅------&amp;gt;Android编译错误java.util.zip.ZipException: duplicate entry的解决方法

今天在Android Studio中把另外一个项目引入当前项目,编译的时候出现了java.util.zip.ZipException: duplicate entry错误. 错误例如以下所看到的: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':watch:packageAllDebugClassesForMultiDex'. > java.util.zip.ZipEx