Comments (7)
提示dex生成失败,你在终端上执行下这段命令看下报的是什么错误
/Users/Yellow/Library/Android/sdk/build-tools/25.0.0/dx --dex --output=/Users/Yellow/9KaCha/KaCha/build/fastdex/Debug/classes.dex /Users/Yellow/9KaCha/KaCha/build/intermediates/transforms/jarMerging/debug/jars/1/1f/combined.jar
from fastdex.
遇到同样的问题:
gradle 插件版本 2.2.0
cradle 版本 2.14.1
执行上面这个命令的错误信息是:
sh /Users/wahaha/InkeWork/InkeArch/inke_android/IngKee/app/build/fastdex/fastdex-dx --dex --no-optimize --force-jumbo --output=/Users/wahaha/InkeWork/InkeArch/inke_android/IngKee/app/build/fastdex/InkepublicServerDebug/dex/patch/classes.dex /Users/wahaha/InkeWork/InkeArch/inke_android/IngKee/app/build/intermediates/transforms/jarMerging/inkepublicServer/debug/jars/1/1f/combined.jar
no classfiles specified
from fastdex.
请求指导
from fastdex.
看了下 combined.jar 是空的
from fastdex.
同样的问题
from fastdex.
gradle 插件版本3.0.0 及以上
gradle 版本 4.1 及以上
并改成离线模式,可以不用这个开源库,依然编译很快,我的项目好几个模块,每次编译就不到 半分钟时间,很快的
from fastdex.
我这模块太多了,近30个,每次都得两分半以上,不过代码又用了大量的apt,好多的都不支持,就这个看着还算是靠谱
from fastdex.
Related Issues (20)
- android annotation 不支持
- 只装插件就可以了吗? HOT 3
- 编译失败
- java.lang.AssertionError
- Sync Gradle with Gradle files的时候报了错。麻烦大神看一下,谢谢!
- 编译速度比原来更慢,即使没有改动代码,也会执行全量编译? HOT 2
- 手动配置报错
- 还维护吗 HOT 1
- Follow the Step-by-Step Guide to Claim Your Tokens! 📌
- -
- fastdex error report HOT 1
- AntilazyLoad的路径有问题 HOT 1
- A类中的static final类型的常量改变了,在B类中不能生效,还是原来的值 HOT 1
- Error:Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/tencent/a/a/a/a/a;
- 你这个工程的默认路径是在app目录下了 能修改吗 HOT 4
- 大佬,5.x之后没有办法限制dex文件的个数呢 HOT 2
- INSTALL_FAILED_USER_RESTRICTED
- 在lib下面增加一个图片资源,增量编译报错
- Gradle 插件升级3.1后无法使用 HOT 2
- gradle 4.6 fastdex 会抛错 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastdex.