alibaba / freeline

A super fast build tool for Android, an alternative to Instant Run

Home Page:https://www.freelinebuild.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

targetSdkVersion改为27,修改java文件或资源文件,freeline运行后无反应

yak99 opened this issue · comments

commented

java文件修改后,执行 python freeline.py ,日志里提示成功,但是手机上页面没有重启;以前targetSdkVersion=22时是好着的。

环境信息:
as: 2.1.1
gradle: com.android.tools.build:gradle:2.1.0
freeline: 0.8.8

日志信息:

[DEBUG] [sync_client] {u'lastSync': 658004, u'apkBuildFlag': 658000}
[DEBUG] [app_inc_dex_compile] start to execute dex command...
[DEBUG] [app_inc_invoker] dex exec: D:\ProgramFiles\adt20140702\sdk\build-tools\27.0.3\dx.bat --dex --multi-dex --output=E:\zhelitou-android\dev\zhelitou-android\app\build\freeline\app\dex E:\zhelitou-android\dev\zhelitou-androi
d\app\build\freeline\app\classes
[DEBUG] [sync_client] find device port: 41128
[DEBUG] [connect_device_task] connect_device_task finish in 2.4s
[DEBUG] [gradle_check_mobile_change_task] gradle_check_mobile_change_task start to run after waiting 2.4s
[DEBUG] [sync_client] [u'D:\ProgramFiles\adt20140702\sdk\platform-tools\adb.exe', 'shell', 'pm', 'list', 'packages', u'com.zhimore.zhelitou']
[DEBUG] [gradle_check_mobile_change_task] gradle_check_mobile_change_task finish in 0.8s
[DEBUG] [gradle_push_history_inc_task] gradle_push_history_inc_task start to run after waiting 3.1s
[DEBUG] [sync_client] url=============http://127.0.0.1:41128/getSyncTicket
[DEBUG] [gradle_push_history_inc_task] client_apktime:658000,client_sync_ticket:4,apktime:658000,last_sync_ticket4
[DEBUG] [gradle_push_history_inc_task] gradle_push_history_inc_task finish in 0.0s
[DEBUG] [app] app finish in 3.9s
[DEBUG] [merge_dex_task] merge_dex_task start to run after waiting 3.9s
[DEBUG] [merge_dex_task] just 1 dex need to sync, copy E:\zhelitou-android\dev\zhelitou-android\app\build\freeline\app\dex\classes.dex to E:\zhelitou-android\dev\zhelitou-android\app\build\freeline\freeline-dexes\merged.dex
[DEBUG] [merge_dex_task] merge_dex_task finish in 0.0s
[DEBUG] [gradle_sync_task] gradle_sync_task start to run after waiting 3.9s
[DEBUG] [sync_client] app has no need to sync inc res pack.
[DEBUG] [sync_client] PushSDK has no need to sync inc res pack.
[DEBUG] [sync_client] lib-zxing has no need to sync inc res pack.
[DEBUG] [sync_client] ocr_ui has no need to sync inc res pack.
[DEBUG] [sync_client] start to sync incremental dex...
[DEBUG] [sync_client] pushdex: http://127.0.0.1:41128/pushDex?dexName=merged
[DEBUG] [sync_client] dex path: E:\zhelitou-android\dev\zhelitou-android\app\build\freeline\freeline-dexes\merged.dex
[DEBUG] [sync_client] start to sync close longlink...
[DEBUG] [sync_client] closeLongLink: http://127.0.0.1:41128/closeLongLink?no&lastSync=5
[DEBUG] [gradle_sync_task] gradle_sync_task finish in 0.2s
[DEBUG] [gradle_backup_inc_product_task] gradle_backup_inc_product_task start to run after waiting 1.7s
[DEBUG] [gradle_backup_inc_product_task] gradle_backup_inc_product_task finish in 0.0s
[DEBUG] [clean_cache_task] clean_cache_task start to run after waiting 0.9s
[DEBUG] [clean_cache_task] remove cache: E:\zhelitou-android\dev\zhelitou-android\app\build\freeline\increment.restart
[DEBUG] [clean_cache_task] remove cache: E:\zhelitou-android\dev\zhelitou-android\app\build\freeline\freeline-dexes\merged.dex
[DEBUG] [clean_cache_task] clean_cache_task finish in 0.0s
[DEBUG] [update_stat_task] update_stat_task start to run after waiting 1.0s
[DEBUG] [update_stat_task] refresh E:\zhelitou-android\dev\zhelitou-android\app\src\main\java\com\zhimore\zhelitou\reader\AboutActivity.java stat
[DEBUG] [update_stat_task] update_stat_task finish in 0.0s
[DEBUG] [task_engine] it takes task engine 4.15s to execute tasks.
[DEBUG] --------------------------------------------------------
[DEBUG] Prepare tasks time: 0.5s
[DEBUG] Task engine running time: 4.2s
[DEBUG] Total time: 4.6s
[DEBUG] --------------------------------------------------------