alibaba / freeline

A super fast build tool for Android, an alternative to Instant Run
https://www.freelinebuild.com/
BSD 3-Clause "New" or "Revised" License
5.48k stars 621 forks source link

Mao^]Mao^_Mao!Mao#Mao%Mao&Mao&Man&Man&这个乱码是什么原因,而且每次freeline.py 都要等很久,重新generate,也不安装,是我环境的原因么? #305

Closed houpe closed 8 years ago

houpe commented 8 years ago

[DEBUG] [tracing] build_base_resource_aapt_task: 2924.0000248ms [DEBUG] [build_base_resource_task] build_base_resource_task finish in 3.0s [DEBUG] [task_engine] it takes task engine 163.06s to execute tasks. [DEBUG] -------------------------------------------------------- [DEBUG] Prepare tasks time: 13.2s [DEBUG] Task engine running time: 163.1s [DEBUG] Total time: 176.2s [DEBUG] --------------------------------------------------------

E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS>Mao^]Mao^_Mao!Mao#Mao%Mao&Mao&Man&Man&

lomanyong commented 8 years ago

@houpe 看你日志的结果应该是成功完成一次全量编译了,可以再执行一次然后贴出完整的日志吗?

houpe commented 8 years ago

第一次:Microsoft Windows 版本 10.0.10586 2015 Microsoft Corporation。保留所有权利。

E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS>#
'#' 不是内部或外部命令,也不是可运行的程序                                                                                                                     
或批处理文件。                                                                                                                                                 

E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS>python freeline.py
[DEBUG] [dispatcher] command line args: Namespace(all=False, clean=False, cleanBuild=False, debug=False, init=False, version=False)
[DEBUG] [WARNING] some important file missed, a clean build will be automatically executed.
[DEBUG] collecting project info, please wait a while...
[DEBUG] collecting project info, please wait a while...
[DEBUG] update apk time path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] new clean build flag value: 842000
[DEBUG] [task_engine] depth: 1, task: [read_project_info_task]
[DEBUG] [task_engine] depth: 1, task: [generate_file_stat_task]
[DEBUG] [task_engine] depth: 2, task: [gradle_clean_build_task]
[DEBUG] [task_engine] depth: 3, task: [clean_all_cache_task]
[DEBUG] [task_engine] depth: 3, task: [install_apk_task]
[DEBUG] [task_engine] depth: 4, task: [build_base_resource_task]
[DEBUG] [task_engine] depth: 4, task: [generate_project_info_task]
[DEBUG] [task_engine] depth: 4, task: [generate_apt_files_task]
[DEBUG] [task_engine] depth: 4, task: [append_file_stat_task]
[DEBUG] [read_project_info_task] read_project_info_task start to run after waiting 0.0s
[DEBUG] [generate_file_stat_task] generate_file_stat_task start to run after waiting 0.0s
[DEBUG] [generate_file_stat_task] save app module file stat
[DEBUG] [generate_file_stat_task] generate_file_stat_task finish in 0.0s
[DEBUG] [read_project_info_task] read_project_info_task finish in 4.3s
[DEBUG] [gradle_clean_build_task] gradle_clean_build_task start to run after waiting 4.3s
[DEBUG] [gradle_clean_build_task] gradlew.bat :app:assembleDebug -P freelineBuild=true --stacktrace
[DEBUG] [gradle_clean_build_task] Gradle build task is running, please wait a minute...
[DEBUG] [gradle_clean_build_task] gradle_clean_build_task finish in 142.4s
[DEBUG] [clean_all_cache_task] clean_all_cache_task start to run after waiting 146.8s
[DEBUG] [install_apk_task] install_apk_task start to run after waiting 146.8s
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline_annotation_info.json
[DEBUG] [install_apk_task] check device' connection...
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\jar_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\public_keeper.xml
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\stat_cache.json
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\app\assets_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\app\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [install_apk_task] start to install apk to device...
[DEBUG] [clean_all_cache_task] clean_all_cache_task finish in 0.1s
[DEBUG] [build_base_resource_task] build_base_resource_task start to run after waiting 146.9s
[DEBUG] [generate_project_info_task] generate_project_info_task start to run after waiting 146.9s
[DEBUG] [append_file_stat_task] append_file_stat_task start to run after waiting 0.1s
[DEBUG] [generate_apt_files_task] generate_apt_files_task start to run after waiting 142.6s
[DEBUG] [append_file_stat_task] generate_file_stat_task in append mode
[DEBUG] collecting project info, please wait a while...
[DEBUG] collecting project info, please wait a while...
[DEBUG] [generate_apt_files_task] generate_apt_files_task finish in 0.0s
[DEBUG] [append_file_stat_task] no new modules found.
[DEBUG] [append_file_stat_task] append_file_stat_task finish in 0.0s
[DEBUG] [build_base_resource_task] E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\public_keeper.xml exists, move to dst: E:\0Study\Andriod\Liuw
uAppAS1029\LiuwuAppAS\app\build\freeline\app\backup\res\values\freeline_id_keeper_public.xml
[DEBUG] [generate_project_info_task] generate_project_info_task finish in 0.0s
[DEBUG] [build_base_resource_task] generating ids.xml from public.xml...
[DEBUG] [install_apk_task] start to launch application cn.fygis.liuwugis/cn.fygis.liuwugis.Activity.SplashScreen
[DEBUG] [build_base_resource_task] aapt exec: freeline\release-tools\FreelineAapt.exe package -f -I D:\ADT\sdk\platforms\android-24\android.jar -M E:\0Study\An
driod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\src\main\re
s -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\generated\res\rs\debug -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\generated\res\resVal
ues\debug -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\0.8.1\res -S E:\0Study\Andriod\Li
uwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.lzy.net\okgo\2.0.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\
exploded-aar\com.lzy.net\okserver\1.1.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\io.reactivex\rxandroid\1.2.1\re
s -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.lzy.net\okrx\0.1.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS
\app\build\intermediates\exploded-aar\com.orhanobut\logger\1.15\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.fly
co.tablayout\FlycoTabLayout_Lib\2.0.8\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.youth.banner\banner\1.4.1\res
 -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.yinglan.scrolllayout\scrolllayout\1.0.0\res -S E:\0Study\Andriod\Liuwu
AppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.jakewharton\butterknife\8.4.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\interm
ediates\exploded-aar\com.android.support\support-compat\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.andr
oid.support\support-core-ui\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\recyclerview-v7\
24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-media-compat\24.2.0\res -S E:\0Study
\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-core-utils\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\L
iuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-fragment\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\interme
diates\exploded-aar\com.android.support\support-v4\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.s
upport\support-vector-drawable\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\animated-vect
or-drawable\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\24.2.0\res -S E:\0S
tudy\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\design\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppA
S\app\build\intermediates\exploded-aar\com.esri.arcgis.android\arcgis-android\10.2.8-1\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediat
es\exploded-aar\com.pgyersdk\sdk\2.4.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\app\backup\res -A E:\0Study\Andriod\LiuwuAppAS1029
\LiuwuAppAS\app\build\freeline\freeline-assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\src\main\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppA
S\app\build\generated\assets\shaders\debug -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\
0.8.1\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.lzy.net\okgo\2.0.0\assets -A E:\0Study\Andriod\LiuwuAppAS1
029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.lzy.net\okserver\1.1.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\ex
ploded-aar\io.reactivex\rxandroid\1.2.1\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.lzy.net\okrx\0.1.0\asset
s -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.orhanobut\logger\1.15\assets -A E:\0Study\Andriod\LiuwuAppAS1029\Liuw
uAppAS\app\build\intermediates\exploded-aar\com.flyco.tablayout\FlycoTabLayout_Lib\2.0.8\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\interm
ediates\exploded-aar\com.youth.banner\banner\1.4.1\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.yinglan.scrol
llayout\scrolllayout\1.0.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.jakewharton\butterknife\8.4.0\assets
-A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-compat\24.2.0\assets -A E:\0Study\Andriod\Liuwu
AppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-core-ui\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\
build\intermediates\exploded-aar\com.android.support\recyclerview-v7\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\explo
ded-aar\com.android.support\support-media-compat\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.
support\support-core-utils\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-fragme
nt\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-v4\24.2.0\assets -A E:\0Study\
Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-vector-drawable\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppA
S1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\animated-vector-drawable\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS
\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exp
loded-aar\com.android.support\design\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.esri.arcgis.android\
arcgis-android\10.2.8-1\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.pgyersdk\sdk\2.4.0\assets -m -J E:\0Stud
y\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\app\backup --auto-add-overlay -F E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\base-res
.so --debug-mode --no-version-vectors --resoucres-md5-cache-path E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\arsc_cache.dat --ignore-assets
public_id.xml:public.xml:*.bak:.*
[DEBUG] [install_apk_task] install_apk_task finish in 2.6s
[DEBUG] [build_base_resource_task] generate base resource success: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\base-res.so
[DEBUG] [tracing] build_base_resource_aapt_task: 2453.99999619ms
[DEBUG] [build_base_resource_task] build_base_resource_task finish in 2.5s
[DEBUG] [task_engine] it takes task engine 149.41s to execute tasks.
[DEBUG] --------------------------------------------------------
[DEBUG] Prepare tasks time: 0.2s
[DEBUG] Task engine running time: 149.4s
[DEBUG] Total time: 149.6s
[DEBUG] --------------------------------------------------------

E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS>Maj^VMaj^YMaj^^Maj"
houpe commented 8 years ago

第二次

E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS>python freeline.py
[DEBUG] [dispatcher] command line args: Namespace(all=False, clean=False, cleanBuild=False, debug=False, init=False, version=False)
[DEBUG] find app has 0 java files modified.
[DEBUG] project just need a incremental build.
[DEBUG] file changed list:
{
    "build_info": {
        "last_clean_build_time": 1479352483.3558862,
        "is_root_config_changed": false
    },
    "projects": {
        "app": {
            "src": [],
            "so": [],
            "assets": [],
            "libs": [],
            "res": [],
            "config": [],
            "cpp": [],
            "manifest": []
        }
    }
}
[DEBUG] [task_engine] depth: 1, task: [connect_device_task]
[DEBUG] [task_engine] depth: 1, task: [gradle_aapt_task]
[DEBUG] [task_engine] depth: 2, task: [app]
[DEBUG] [task_engine] depth: 3, task: [merge_dex_task]
[DEBUG] [task_engine] depth: 5, task: [gradle_sync_task]
[DEBUG] [task_engine] depth: 6, task: [clean_cache_task]
[DEBUG] [task_engine] depth: 7, task: [update_stat_task]
[DEBUG] [connect_device_task] connect_device_task start to run after waiting 0.0s
[DEBUG] [gradle_aapt_task] gradle_aapt_task start to run after waiting 0.0s
[DEBUG] [sync_client] start to connect device...
[DEBUG] [sync_client] apktime path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [gradle_aapt_task] no need to execute
[DEBUG] [gradle_aapt_task] gradle_aapt_task finish in 0.0s
[DEBUG] [app] app start to run after waiting 0.0s
[DEBUG] [sync_client] your local sync value is: 842000
[DEBUG] [sync_client] your local uuid value is: 842000
[DEBUG] [app_inc_invoker] app old R.java path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\generated\source\r\debug\cn\fygis\liuwugis\R.java
[DEBUG] [app_inc_invoker] app new R.java path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\app\backup\cn\fygis\liuwugis\R.java
[DEBUG] avoid windows unicode error for E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\app\backup\cn\fygis\liuwugis\R.java
[DEBUG] [app_inc_invoker] find R.java changed (md5 value is different from origin R.java)
[DEBUG] [app_inc_invoker] src changed files:
[DEBUG] [app_inc_invoker] [u'E:\\0Study\\Andriod\\LiuwuAppAS1029\\LiuwuAppAS\\app\\build\\freeline\\app\\backup\\cn\\fygis\\liuwugis\\R.java']
[DEBUG] [app_inc_invoker] find R.java modified in src list
[DEBUG] [app_inc_invoker] app code only change R.java, need not go ahead
[DEBUG] [app_inc_javac_compile] no need to execute
[DEBUG] [app_inc_dex_compile] no need to execute
[DEBUG] [app] app finish in 0.0s
[DEBUG] [merge_dex_task] merge_dex_task start to run after waiting 0.0s
[DEBUG] [merge_dex_task] merge_dex_task finish in 0.0s
[DEBUG] [sync_client] server result is -1
[DEBUG] [sync_client] wake up Service: D:\ADT\sdk\platform-tools\adb.exe shell am startservice -n cn.fygis.liuwugis/com.antfortune.freeline.FreelineService
[DEBUG] [sync_client] apktime path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 842000
[DEBUG] [sync_client] your local uuid value is: 842000
[DEBUG] [sync_client] server result is -1
[DEBUG] [sync_client] try to connect device 1 times...
[DEBUG] [sync_client] wake up Service: D:\ADT\sdk\platform-tools\adb.exe shell am startservice -n cn.fygis.liuwugis/com.antfortune.freeline.FreelineService -e
wakeup marker
[DEBUG] [sync_client] apktime path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 842000
[DEBUG] [sync_client] your local uuid value is: 842000
[DEBUG] [sync_client] server result is -1
[DEBUG] [sync_client] try to connect device 2 times...
[DEBUG] [sync_client] wake up Service: D:\ADT\sdk\platform-tools\adb.exe shell am startservice -n cn.fygis.liuwugis/com.antfortune.freeline.FreelineService -e
wakeup marker
[DEBUG] [sync_client] apktime path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 842000
[DEBUG] [sync_client] your local uuid value is: 842000
[DEBUG] [sync_client] server result is -1
[DEBUG] [sync_client] try to connect device 3 times...
[DEBUG] [sync_client] wake up Service: D:\ADT\sdk\platform-tools\adb.exe shell am startservice -n cn.fygis.liuwugis/com.antfortune.freeline.FreelineService -e
wakeup marker
[DEBUG] [sync_client] apktime path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 842000
[DEBUG] [sync_client] your local uuid value is: 842000
[DEBUG] [sync_client] server result is -1
[DEBUG] [sync_client] try to connect device 4 times...
[DEBUG] [sync_client] wake up Service: D:\ADT\sdk\platform-tools\adb.exe shell am startservice -n cn.fygis.liuwugis/com.antfortune.freeline.FreelineService -e
wakeup marker
[DEBUG] [sync_client] apktime path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 842000
[DEBUG] [sync_client] your local uuid value is: 842000
[DEBUG] [sync_client] server result is -1
[DEBUG] [sync_client] try to connect device 5 times...
[DEBUG] [sync_client] wake up Service: D:\ADT\sdk\platform-tools\adb.exe shell am startservice -n cn.fygis.liuwugis/com.antfortune.freeline.FreelineService -e
wakeup marker
[DEBUG] [sync_client] apktime path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 842000
[DEBUG] [sync_client] your local uuid value is: 842000
[DEBUG] [sync_client] server result is -1
[DEBUG] [sync_client] try to connect device 6 times...
[DEBUG] [sync_client] wake up Service: D:\ADT\sdk\platform-tools\adb.exe shell am startservice -n cn.fygis.liuwugis/com.antfortune.freeline.FreelineService -e
wakeup marker
[DEBUG] [sync_client] apktime path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 842000
[DEBUG] [sync_client] your local uuid value is: 842000
[DEBUG] [sync_client] server result is -1
[DEBUG] [sync_client] try to connect device 7 times...
[DEBUG] [sync_client] wake up Service: D:\ADT\sdk\platform-tools\adb.exe shell am startservice -n cn.fygis.liuwugis/com.antfortune.freeline.FreelineService -e
wakeup marker
[DEBUG] [sync_client] apktime path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 842000
[DEBUG] [sync_client] your local uuid value is: 842000
[DEBUG] [sync_client] server result is -1
[DEBUG] [sync_client] try to connect device 8 times...
[DEBUG] [sync_client] wake up Service: D:\ADT\sdk\platform-tools\adb.exe shell am startservice -n cn.fygis.liuwugis/com.antfortune.freeline.FreelineService -e
wakeup marker
[DEBUG] [sync_client] apktime path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 842000
[DEBUG] [sync_client] your local uuid value is: 842000
[DEBUG] [sync_client] server result is -1
[DEBUG] [sync_client] try to connect device 9 times...
[DEBUG] [sync_client] wake up Service: D:\ADT\sdk\platform-tools\adb.exe shell am startservice -n cn.fygis.liuwugis/com.antfortune.freeline.FreelineService -e
wakeup marker
[DEBUG] [sync_client] apktime path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 842000
[DEBUG] [sync_client] your local uuid value is: 842000
[DEBUG] [sync_client] server result is -1
[DEBUG] [sync_client] try to connect device 10 times...
[DEBUG] [sync_client] No package named cn.fygis.liuwugis been installed to your device
[DEBUG] [connect_device_task] connect_device_task finish in 14.0s
[DEBUG] [gradle_sync_task] gradle_sync_task start to run after waiting 14.0s
[DEBUG] [clean_cache_task] clean_cache_task start to run after waiting 14.0s
[DEBUG] [update_stat_task] update_stat_task start to run after waiting 14.0s
[DEBUG] [task_engine] task engine occurs exception, engine will exit.
[DEBUG] [task_engine] it takes task engine 14.05s to execute tasks.
[DEBUG] [WARNING] NoInstallationException occurs, a clean build will be automatically executed.
[DEBUG] collecting project info, please wait a while...
[DEBUG] update apk time path: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] new clean build flag value: 648000
[DEBUG] [task_engine] depth: 1, task: [read_project_info_task]
[DEBUG] [task_engine] depth: 1, task: [generate_file_stat_task]
[DEBUG] [task_engine] depth: 2, task: [gradle_clean_build_task]
[DEBUG] [task_engine] depth: 3, task: [clean_all_cache_task]
[DEBUG] [task_engine] depth: 3, task: [install_apk_task]
[DEBUG] [task_engine] depth: 4, task: [build_base_resource_task]
[DEBUG] [task_engine] depth: 4, task: [generate_project_info_task]
[DEBUG] [task_engine] depth: 4, task: [generate_apt_files_task]
[DEBUG] [task_engine] depth: 4, task: [append_file_stat_task]
[DEBUG] [read_project_info_task] read_project_info_task start to run after waiting 0.0s
[DEBUG] [generate_file_stat_task] generate_file_stat_task start to run after waiting 0.0s
[DEBUG] [generate_file_stat_task] save app module file stat
[DEBUG] [generate_file_stat_task] generate_file_stat_task finish in 0.1s
[DEBUG] [read_project_info_task] read_project_info_task finish in 3.3s
[DEBUG] [gradle_clean_build_task] gradle_clean_build_task start to run after waiting 3.3s
[DEBUG] [gradle_clean_build_task] gradlew.bat :app:assembleDebug -P freelineBuild=true --stacktrace
[DEBUG] [gradle_clean_build_task] Gradle build task is running, please wait a minute...
[DEBUG] [gradle_clean_build_task] gradle_clean_build_task finish in 146.9s
[DEBUG] [clean_all_cache_task] clean_all_cache_task start to run after waiting 150.2s
[DEBUG] [install_apk_task] install_apk_task start to run after waiting 150.2s
[DEBUG] [install_apk_task] check device' connection...
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline_annotation_info.json
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\jar_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\public_keeper.xml
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\stat_cache.json
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\app\assets_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\app\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\freeline-assets\apktime
[DEBUG] [install_apk_task] start to install apk to device...
[DEBUG] [clean_all_cache_task] clean_all_cache_task finish in 0.2s
[DEBUG] [build_base_resource_task] build_base_resource_task start to run after waiting 150.3s
[DEBUG] [generate_project_info_task] generate_project_info_task start to run after waiting 150.3s
[DEBUG] [append_file_stat_task] append_file_stat_task start to run after waiting 0.2s
[DEBUG] [generate_apt_files_task] generate_apt_files_task start to run after waiting 147.0s
[DEBUG] [append_file_stat_task] generate_file_stat_task in append mode
[DEBUG] collecting project info, please wait a while...
[DEBUG] collecting project info, please wait a while...
[DEBUG] [generate_apt_files_task] generate_apt_files_task finish in 0.0s
[DEBUG] [append_file_stat_task] no new modules found.
[DEBUG] [append_file_stat_task] append_file_stat_task finish in 0.0s
[DEBUG] [build_base_resource_task] E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\public_keeper.xml exists, move to dst: E:\0Study\Andriod\Liuw
uAppAS1029\LiuwuAppAS\app\build\freeline\app\backup\res\values\freeline_id_keeper_public.xml
[DEBUG] [generate_project_info_task] generate_project_info_task finish in 0.0s
[DEBUG] [build_base_resource_task] generating ids.xml from public.xml...
[DEBUG] [install_apk_task] start to launch application cn.fygis.liuwugis/cn.fygis.liuwugis.Activity.SplashScreen
[DEBUG] [build_base_resource_task] aapt exec: freeline\release-tools\FreelineAapt.exe package -f -I D:\ADT\sdk\platforms\android-24\android.jar -M E:\0Study\An
driod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\src\main\re
s -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\generated\res\rs\debug -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\generated\res\resVal
ues\debug -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\0.8.1\res -S E:\0Study\Andriod\Li
uwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.lzy.net\okgo\2.0.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\
exploded-aar\com.lzy.net\okserver\1.1.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\io.reactivex\rxandroid\1.2.1\re
s -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.lzy.net\okrx\0.1.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS
\app\build\intermediates\exploded-aar\com.orhanobut\logger\1.15\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.fly
co.tablayout\FlycoTabLayout_Lib\2.0.8\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.youth.banner\banner\1.4.1\res
 -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.yinglan.scrolllayout\scrolllayout\1.0.0\res -S E:\0Study\Andriod\Liuwu
AppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.jakewharton\butterknife\8.4.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\interm
ediates\exploded-aar\com.android.support\support-compat\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.andr
oid.support\support-core-ui\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\recyclerview-v7\
24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-media-compat\24.2.0\res -S E:\0Study
\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-core-utils\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\L
iuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-fragment\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\interme
diates\exploded-aar\com.android.support\support-v4\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.s
upport\support-vector-drawable\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\animated-vect
or-drawable\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\24.2.0\res -S E:\0S
tudy\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\design\24.2.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppA
S\app\build\intermediates\exploded-aar\com.esri.arcgis.android\arcgis-android\10.2.8-1\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediat
es\exploded-aar\com.pgyersdk\sdk\2.4.0\res -S E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\app\backup\res -A E:\0Study\Andriod\LiuwuAppAS1029
\LiuwuAppAS\app\build\freeline\freeline-assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\src\main\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppA
S\app\build\generated\assets\shaders\debug -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\
0.8.1\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.lzy.net\okgo\2.0.0\assets -A E:\0Study\Andriod\LiuwuAppAS1
029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.lzy.net\okserver\1.1.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\ex
ploded-aar\io.reactivex\rxandroid\1.2.1\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.lzy.net\okrx\0.1.0\asset
s -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.orhanobut\logger\1.15\assets -A E:\0Study\Andriod\LiuwuAppAS1029\Liuw
uAppAS\app\build\intermediates\exploded-aar\com.flyco.tablayout\FlycoTabLayout_Lib\2.0.8\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\interm
ediates\exploded-aar\com.youth.banner\banner\1.4.1\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.yinglan.scrol
llayout\scrolllayout\1.0.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.jakewharton\butterknife\8.4.0\assets
-A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-compat\24.2.0\assets -A E:\0Study\Andriod\Liuwu
AppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-core-ui\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\
build\intermediates\exploded-aar\com.android.support\recyclerview-v7\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\explo
ded-aar\com.android.support\support-media-compat\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.
support\support-core-utils\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-fragme
nt\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-v4\24.2.0\assets -A E:\0Study\
Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\support-vector-drawable\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppA
S1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.android.support\animated-vector-drawable\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS
\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exp
loded-aar\com.android.support\design\24.2.0\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.esri.arcgis.android\
arcgis-android\10.2.8-1\assets -A E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\intermediates\exploded-aar\com.pgyersdk\sdk\2.4.0\assets -m -J E:\0Stud
y\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\app\backup --auto-add-overlay -F E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\base-res
.so --debug-mode --no-version-vectors --resoucres-md5-cache-path E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\arsc_cache.dat --ignore-assets
public_id.xml:public.xml:*.bak:.*
[DEBUG] [install_apk_task] install_apk_task finish in 0.3s
[DEBUG] [build_base_resource_task] generate base resource success: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\app\build\freeline\base-res.so
[DEBUG] [tracing] build_base_resource_aapt_task: 2618.00003052ms
[DEBUG] [build_base_resource_task] build_base_resource_task finish in 2.7s
[DEBUG] [task_engine] it takes task engine 153.0s to execute tasks.
[DEBUG] --------------------------------------------------------
[DEBUG] Prepare tasks time: 14.3s
[DEBUG] Task engine running time: 153.0s
[DEBUG] Total time: 167.3s
[DEBUG] --------------------------------------------------------

E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS>M`f#M`f^OM`f?M`f?M`f?M`f?M`f?M`f?M`f?M`M?M`D?M`D?M`D?M`D?M`D?M`D?M`D?MaD?M`D?
houpe commented 8 years ago

最开始用都可以热部署,改变一点,重新编译几秒钟就可以,今天突然就这样了。。每次都是第二次这种运行

lomanyong commented 8 years ago

@houpe 可以试下把app卸载掉,然后重新用freeline安装上看看。

houpe commented 8 years ago

卸载了 他app都给我不安装了。。 我freeline都重新搞了几次 了···

lomanyong commented 8 years ago

@houpe 日志里应该有adb install的命令,可以看下包名,Activity,apk路径之类的是否都正确。

cn.fygis.liuwugis/cn.fygis.liuwugis.Activity.SplashScreen

logwee commented 8 years ago

win10下我也遇到了全量编译无法安装的问题,请问这个问题是解决了吗

lomanyong commented 8 years ago

@logwee 可以具体看下日志。

logwee commented 8 years ago

@lomanyong debug模式也没有看到adb install的日志打印

houpe commented 8 years ago

@logwee 我也是, 等稳定点再用了··

lomanyong commented 8 years ago

@logwee @houpe 能够提供一个可以复现这个问题的sample吗?方便我解决一下这个问题...

@houpe 你的问题我看到的是长连接无法连接上,如果以前可以,最近不行的话,可能是你们涉及了某些改动导致的...这个麻烦能够提供一下信息...

houpe commented 8 years ago

@lomanyong 那我再安装一遍freeline试试···

houpe commented 8 years ago

好无奈啊,gradlew initFreeline -Pmirror gradlew initFreeline 两个命令都下不下来,是我网络太渣了么? E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS>gradlew initFreeline -Pmirror Starting a new Gradle Daemon for this build (subsequent builds will be faster). Parallel execution is an incubating feature. freeline auto add runtime dependencies: 0.8.2 find variant debug start hack process... variant release is not debug, skip hack process. :initFreeline Freeline init process start... [NOTE] Download freeline dependency from mirror... Downloading release pack from http://obr0ndq7a.bkt.clouddn.com/freeline/freeline-v0.8.2.zip Please wait a minute... [get] Getting: http://obr0ndq7a.bkt.clouddn.com/freeline/freeline-v0.8.2.zip [get] To: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\freeline.zip.tmp [get] Error opening connection java.io.FileNotFoundException: http://obr0ndq7a.bkt.clouddn.com/freeline/freeline-v0.8.2.zip [get] Error opening connection java.io.FileNotFoundException: http://obr0ndq7a.bkt.clouddn.com/freeline/freeline-v0.8.2.zip [get] Error opening connection java.io.FileNotFoundException: http://obr0ndq7a.bkt.clouddn.com/freeline/freeline-v0.8.2.zip [get] Can't get http://obr0ndq7a.bkt.clouddn.com/freeline/freeline-v0.8.2.zip to E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\freeline.zip.tmp :initFreeline FAILED

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 26.712 secs

E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS>gradlew initFreeline Parallel execution is an incubating feature. freeline auto add runtime dependencies: 0.8.2 find variant debug start hack process... variant release is not debug, skip hack process. :initFreeline Freeline init process start... Downloading release pack from https://github.com/alibaba/freeline/releases/download/0.8.2/freeline-v0.8.2.zip Please wait a minute... [get] Getting: https://github.com/alibaba/freeline/releases/download/0.8.2/freeline-v0.8.2.zip [get] To: E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\freeline.zip.tmp [get] Error getting https://github.com/alibaba/freeline/releases/download/0.8.2/freeline-v0.8.2.zip to E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS\freeline.zip.tmp :initFreeline FAILED

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 26.044 secs

E:\0Study\Andriod\LiuwuAppAS1029\LiuwuAppAS>

houpe commented 8 years ago

单独用工具可以下载,请问咋搞啊@lomanyong

lomanyong commented 8 years ago

@houpe 你们内网限制访问...? http://obr0ndq7a.bkt.clouddn.com/freeline/freeline-v0.8.2.zip 这个链接是国内的...没理由被墙...

houpe commented 8 years ago

http://obr0ndq7a.bkt.clouddn.com/freeline/freeline-v0.8.2.zip 我用,浏览器,迅雷工具都可以可以下载,就是这个命令不行。。我们是校园网。哎,难道是人品问题,我在检查先环境吧。@lomanyong