【发布时间】:2016-05-20 08:04:31
【问题描述】:
我使用带有 Eclipse IDE 的 OS X El Capitan 的 mac
当我创建一个项目“Gluon Mobile - Single View Project”时,我无法为 Android 编译,因为我遇到了 multidex 问题。我使用这个命令:
./gradlew androidInstall
Execution failed for task ':mergeClassesIntoJar'.
> Cannot expand ZIP '/.../sdk/extras/android/support/multidex/library/libs/android-support-multidex.jar'
as it does not exist.
我看到了不同的主题,我做了这些验证:
- Android SDK 由“Android Studio”安装 But, I don't have android support library to install
-
如果我在我的 build.gradle 上添加 compile 'com.android.support:multidex:1.0.0',我会遇到另一个错误
Could not resolve all dependencies for configuration ':compile'. > Could not find com.android.support:multidex:1.0.0. 但是如果我在一个随机的 Android Studio 项目中添加 compile 'com.android.support:multidex:1.0.0' ,gradle compile。
- 桌面编译没问题,iPhone 模拟也可以。
我不明白为什么它不起作用
感谢您的阅读。你能帮帮我吗?
【问题讨论】:
标签: gluon gluon-mobile