Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

加入 bootser 以后,android studio 直接调试真实设备,无法安装包的问题,Cause: lateinit property logger has not been initialized #18

Closed
fuyoushuo-android opened this issue May 10, 2019 · 7 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@fuyoushuo-android
Copy link

使用 Bootser 以后,可以直接 assemble 命令直接打包,但是 使用android studio pm install 安装包的时候,Cause: lateinit property logger has not been initialized 会出现这个问题,gradle plugin 3.1.1 gradle version 4.6.0
image
Uploading image.png…
请帮忙分析一下

@johnsonlee
Copy link
Collaborator

试试将 Android Studio Instant Run 选项关闭

@fuyoushuo-android
Copy link
Author

试试将 Android Studio Instant Run 选项关闭
和 instant run 没有关系,我已经是关闭状态了
我这个是 assembleRelease 成功,assembleDebug 会失败,那个 compress task 里面那个 Log 没有初始化

@fuyoushuo-android
Copy link
Author

详细日志如下
image

@johnsonlee johnsonlee self-assigned this May 10, 2019
@johnsonlee johnsonlee added the bug Something isn't working label May 10, 2019
@johnsonlee johnsonlee modified the milestones: booster-v0.3, booster-v0.4 May 10, 2019
@fuyoushuo-android
Copy link
Author

这个问题 0.3.2 已经可以解决了吗

@johnsonlee
Copy link
Collaborator

Booster v0.3.1 就已经修复了

@fuyoushuo-android
Copy link
Author

Booster v0.3.1 就已经修复了

thanks

@johnsonlee
Copy link
Collaborator

booster-task-compression 增加了对 pngquant 的支持(需要本地安装 pngquant),详见:README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants