首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
›
Android Studio
广告
V2EX
›
Android
Android Studio 遇到一个奇怪问题,编译老是提示 java.lang.ClassNotFoundException: com.dodola.rocoo.Hack, 无法编译
guojing
·
2016-07-21 17:40:57 +08:00
· 8595 次点击
这是一个创建于 3013 天前的主题,其中的信息可能已经有所发展或是发生改变。
最近想给公司 Android 程序加个热更新功能,想采用 RocooFix (
https://github.com/dodola/RocooFix
)试一下。
一开始配置好编译正常,后面不知道怎么就不行了。老是提示 java.lang.ClassNotFoundException: com.dodola.rocoo.Hack 。即使把 RocooFix 移除,编译还是提示同样异常。
把代码拷到其他电脑上编译,运行正常。
请问这是出了什么问题?
编译
rocoofix
hack
提示
3 条回复
•
2016-07-22 12:35:51 +08:00
1
stewforani
2016-07-22 09:50:27 +08:00
好像分包出了问题,你试试把整个 build 文件全删了,再重新编译一遍,我以前好像碰到过。。。
2
JsonLee
2016-07-22 10:06:12 +08:00
发日志出来看看
3
bjzhou1990
2016-07-22 12:35:51 +08:00
删 build 目录,删*.iml 文件,删.idea 目录
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
5805 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms ·
UTC 01:47
·
PVG 09:47
·
LAX 18:47
·
JFK 21:47
Developed with
CodeLauncher
♥ Do have faith in what you're doing.