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

Task 'assembleDebug' not found in project #326

Closed
jiyuegongzi opened this Issue Nov 23, 2016 · 18 comments

Comments

Projects
None yet
2 participants
@jiyuegongzi

jiyuegongzi commented Nov 23, 2016

* What went wrong:
Task 'assembleDebug' not found in project ':TingPhone'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --info or --debug option to get more log output.

* Exception is:
org.gradle.execution.TaskSelectionException: Task 'assembleDebug' not found in project ':HTCTingPhone'.
        at org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:100)
        at org.gradle.execution.TaskSelector.getSelection(TaskSelector.java:75)
        at org.gradle.execution.commandline.CommandLineTaskParser.parseTasks(CommandLineTaskParser.java:42)
        at org.gradle.execution.TaskNameResolvingBuildConfigurationAction.configure(TaskNameResolvingBuildConfigurationAction.java:44)
        at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
        at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
        at org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
        at org.gradle.execution.DefaultTasksBuildExecutionAction.configure(DefaultTasksBuildExecutionAction.java:44)
        at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
        at org.gradle.execution.DefaultBuildConfigurationActionExecuter.access$000(DefaultBuildConfigurationActionExecuter.java:25)
        at org.gradle.execution.DefaultBuildConfigurationActionExecuter$1.proceed(DefaultBuildConfigurationActionExecuter.java:54)
        at org.gradle.execution.ExcludedTaskFilteringBuildConfigurationAction.configure(ExcludedTaskFilteringBuildConfigurationAction.java:47)
        at org.gradle.execution.DefaultBuildConfigurationActionExecuter.configure(DefaultBuildConfigurationActionExecuter.java:48)
        at org.gradle.execution.DefaultBuildConfigurationActionExecuter.select(DefaultBuildConfigurationActionExecuter.java:36)
        at org.gradle.initialization.DefaultGradleLauncher$3.run(DefaultGradleLauncher.java:143)
        at org.gradle.internal.Factories$1.create(Factories.java:22)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)
        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:140)
        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)
        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)
        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)
        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)
        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)
        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.Main.doAction(Main.java:33)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)


[ERROR] --------------------------------------------------------
[ERROR] build failed with script: gradlew.bat :Phone:assembleDebug -P freelineBuild=true --stacktrace
[ERROR] --------------------------------------------------------
[DEBUG] Prepare tasks time: 0.2s
[DEBUG] Task engine running time: 21.3s
[DEBUG] Total time: 21.6s
[DEBUG] --------------------

为什么我更新到0.8.2版本,报错还是没有提示我该怎么做?我之前装过老版本!

@lomanyong

This comment has been minimized.

Show comment
Hide comment
@lomanyong

lomanyong Nov 23, 2016

Member

@jiyuegongzi 如果还是刚才那个报错的话会提示,这个不一样...

Task 'assembleDebug' not found in project ':HTCTingPhone'.

assembleDebug默认是都会有的...既然会报找不到..那就是你自己本地的原因了..你可以先找找看....

Member

lomanyong commented Nov 23, 2016

@jiyuegongzi 如果还是刚才那个报错的话会提示,这个不一样...

Task 'assembleDebug' not found in project ':HTCTingPhone'.

assembleDebug默认是都会有的...既然会报找不到..那就是你自己本地的原因了..你可以先找找看....

@jiyuegongzi

This comment has been minimized.

Show comment
Hide comment
@jiyuegongzi

jiyuegongzi Nov 23, 2016

不是的。':HTCTingPhone'这个并不是主项目,主项目在':HTCTingPhone:HTCTingPhone’里面,Task 'assembleDebug'在':HTCTingPhone:HTCTingPhone’里面是有的。所以Task 'assembleDebug'是可以 found in project ':HTCTingPhone:HTCTingPhone'.。我用gradle编译是好的,没有报错。

jiyuegongzi commented Nov 23, 2016

不是的。':HTCTingPhone'这个并不是主项目,主项目在':HTCTingPhone:HTCTingPhone’里面,Task 'assembleDebug'在':HTCTingPhone:HTCTingPhone’里面是有的。所以Task 'assembleDebug'是可以 found in project ':HTCTingPhone:HTCTingPhone'.。我用gradle编译是好的,没有报错。

@lomanyong

This comment has been minimized.

Show comment
Hide comment
@lomanyong

lomanyong Nov 23, 2016

Member

@jiyuegongzi 配置一个选项:

freeline {
    buildScript "gradlew.bat :HTCTingPhone:HTCTingPhone:assembleDebug"
}
Member

lomanyong commented Nov 23, 2016

@jiyuegongzi 配置一个选项:

freeline {
    buildScript "gradlew.bat :HTCTingPhone:HTCTingPhone:assembleDebug"
}
@jiyuegongzi

This comment has been minimized.

Show comment
Hide comment
@jiyuegongzi

jiyuegongzi Nov 23, 2016

好了,现在能编译得到apk了
但是现在还有个问题安装apk时,一直没法完成执行。
[DEBUG] [install_apk_task] start to install apk to device...
[DEBUG] [build_base_resource_task] generate base resource success: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\base-res.so
[DEBUG] [tracing] build_base_resource_aapt_task: 1907.00006485ms
[DEBUG] [build_base_resource_task] build_base_resource_task finish in 2.0s
[DEBUG] [install_apk_task] start to launch application com.ximalaya.ting.android.aliyunfm/com.ximalaya.ting.android.aliyun.activity.MainActivity
[DEBUG] [install_apk_task] F:\AndroidSDK\platform-tools\adb.exe shell am start -n com.ximalaya.ting.android.aliyunfm/com.ximalaya.ting.android.aliyun.activity.MainActivity
[DEBUG] [install_apk_task] install_apk_task finish in 74.8s
[DEBUG] [task_engine] it takes task engine 170.23s to execute tasks.
[DEBUG] --------------------------------------------------------
[DEBUG] Freeline KeyboardInterrupt EXIT
[DEBUG] --------------------------------------------------------
[DEBUG] Prepare tasks time: 16.5s
[DEBUG] Task engine running time: 170.2s
[DEBUG] Total time: 186.7s

jiyuegongzi commented Nov 23, 2016

好了,现在能编译得到apk了
但是现在还有个问题安装apk时,一直没法完成执行。
[DEBUG] [install_apk_task] start to install apk to device...
[DEBUG] [build_base_resource_task] generate base resource success: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\base-res.so
[DEBUG] [tracing] build_base_resource_aapt_task: 1907.00006485ms
[DEBUG] [build_base_resource_task] build_base_resource_task finish in 2.0s
[DEBUG] [install_apk_task] start to launch application com.ximalaya.ting.android.aliyunfm/com.ximalaya.ting.android.aliyun.activity.MainActivity
[DEBUG] [install_apk_task] F:\AndroidSDK\platform-tools\adb.exe shell am start -n com.ximalaya.ting.android.aliyunfm/com.ximalaya.ting.android.aliyun.activity.MainActivity
[DEBUG] [install_apk_task] install_apk_task finish in 74.8s
[DEBUG] [task_engine] it takes task engine 170.23s to execute tasks.
[DEBUG] --------------------------------------------------------
[DEBUG] Freeline KeyboardInterrupt EXIT
[DEBUG] --------------------------------------------------------
[DEBUG] Prepare tasks time: 16.5s
[DEBUG] Task engine running time: 170.2s
[DEBUG] Total time: 186.7s

@lomanyong

This comment has been minimized.

Show comment
Hide comment
@lomanyong

lomanyong Nov 23, 2016

Member

@jiyuegongzi 没描述清楚问题...不清楚你在指什么...日志显示你自己ctrl+c结束了task...具体是卡在哪里了需要你说明...

Member

lomanyong commented Nov 23, 2016

@jiyuegongzi 没描述清楚问题...不清楚你在指什么...日志显示你自己ctrl+c结束了task...具体是卡在哪里了需要你说明...

@jiyuegongzi

This comment has been minimized.

Show comment
Hide comment
@jiyuegongzi

jiyuegongzi Nov 23, 2016

[DEBUG] [install_apk_task] start to install apk to device...
[DEBUG] [build_base_resource_task] aapt exec: freeline\release-tools\FreelineAapt.exe package -f -I F:\AndroidSDK\platforms\android-23\android.jar -M F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\manifests\full\debug\AndroidManifest.xml -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\res -S
F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\generated\res\rs\debug -S F:\WS_BpCarload\NativeRadioLibraryAli\NativeRadioLibrary\res -S F:\WS_BpCarload\
XAndroidFramework\litepal\build\generated\res\rs\release -S F:\WS_BpCarload\HTCTingPhone\AliSdk\res -S F:\WS_BpCarload\XAndroidFramework\PullToRefresh\res -S F:\WS_BpCarload\XAndroidFramework\Picasso\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\litepal\res -S F:\WS_BpCarload\XAndro
idFramework\Picasso\res -S F:\WS_BpCarload\XAndroidFramework\PullToRefresh\build\generated\res\rs\release -S F:\WS_BpCarload\HTCTingPhone\AliSdk\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\TingPhoneOpenSDK\res -S F:\WS_BpCarload\XAndroidFramework\XFramework\res -S F:\WS_BpCarload\
HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.squareup.leakcanary\leakcanary-android\1.3.1\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\0.8.2\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\
backup\res -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\assets -A F:\WS_BpCarload\XAndroidFramework\XFramework\assets -A F:\WS_BpCarload\XAndroidFramework\TingPhoneOpenSDK\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build
\generated\assets\shaders\debug -A F:\WS_BpCarload\XAndroidFramework\litepal\assets -A F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\assets -A F:\WS_BpCarload\XAndroidFramework\PullToRefresh\assets -A F:\WS_BpCarload\XAndroidFramework\Picasso\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\b
uild\intermediates\exploded-aar\com.squareup.leakcanary\leakcanary-android\1.3.1\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\0.8.2\assets -m -J F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\backup --auto-add-
overlay -F F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\base-res.so --debug-mode --no-version-vectors --resoucres-md5-cache-path F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\arsc_cache.dat --ignore-assets public_id.xml:public.xml:*.bak:.*
[DEBUG] [build_base_resource_task] generate base resource success: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\base-res.so
[DEBUG] [tracing] build_base_resource_aapt_task: 1877.00009346ms
[DEBUG] [build_base_resource_task] build_base_resource_task finish in 2.0s

运行到这里就不动了。麻烦帮忙看下。谢谢了。

jiyuegongzi commented Nov 23, 2016

[DEBUG] [install_apk_task] start to install apk to device...
[DEBUG] [build_base_resource_task] aapt exec: freeline\release-tools\FreelineAapt.exe package -f -I F:\AndroidSDK\platforms\android-23\android.jar -M F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\manifests\full\debug\AndroidManifest.xml -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\res -S
F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\generated\res\rs\debug -S F:\WS_BpCarload\NativeRadioLibraryAli\NativeRadioLibrary\res -S F:\WS_BpCarload\
XAndroidFramework\litepal\build\generated\res\rs\release -S F:\WS_BpCarload\HTCTingPhone\AliSdk\res -S F:\WS_BpCarload\XAndroidFramework\PullToRefresh\res -S F:\WS_BpCarload\XAndroidFramework\Picasso\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\litepal\res -S F:\WS_BpCarload\XAndro
idFramework\Picasso\res -S F:\WS_BpCarload\XAndroidFramework\PullToRefresh\build\generated\res\rs\release -S F:\WS_BpCarload\HTCTingPhone\AliSdk\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\TingPhoneOpenSDK\res -S F:\WS_BpCarload\XAndroidFramework\XFramework\res -S F:\WS_BpCarload\
HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.squareup.leakcanary\leakcanary-android\1.3.1\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\0.8.2\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\
backup\res -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\assets -A F:\WS_BpCarload\XAndroidFramework\XFramework\assets -A F:\WS_BpCarload\XAndroidFramework\TingPhoneOpenSDK\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build
\generated\assets\shaders\debug -A F:\WS_BpCarload\XAndroidFramework\litepal\assets -A F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\assets -A F:\WS_BpCarload\XAndroidFramework\PullToRefresh\assets -A F:\WS_BpCarload\XAndroidFramework\Picasso\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\b
uild\intermediates\exploded-aar\com.squareup.leakcanary\leakcanary-android\1.3.1\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\0.8.2\assets -m -J F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\backup --auto-add-
overlay -F F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\base-res.so --debug-mode --no-version-vectors --resoucres-md5-cache-path F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\arsc_cache.dat --ignore-assets public_id.xml:public.xml:*.bak:.*
[DEBUG] [build_base_resource_task] generate base resource success: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\base-res.so
[DEBUG] [tracing] build_base_resource_aapt_task: 1877.00009346ms
[DEBUG] [build_base_resource_task] build_base_resource_task finish in 2.0s

运行到这里就不动了。麻烦帮忙看下。谢谢了。

@lomanyong

This comment has been minimized.

Show comment
Hide comment
@lomanyong

lomanyong Nov 23, 2016

Member

@jiyuegongzi

  1. 手机有接上吗
  2. 安装的时候需要手机确认吗
  3. 可以自己手动adb install试试看
Member

lomanyong commented Nov 23, 2016

@jiyuegongzi

  1. 手机有接上吗
  2. 安装的时候需要手机确认吗
  3. 可以自己手动adb install试试看
@jiyuegongzi

This comment has been minimized.

Show comment
Hide comment
@jiyuegongzi

jiyuegongzi Nov 23, 2016

我强制停止freeline安装后,保持现场,用adb install,可以直接安装上,不需要确认!

jiyuegongzi commented Nov 23, 2016

我强制停止freeline安装后,保持现场,用adb install,可以直接安装上,不需要确认!

@lomanyong

This comment has been minimized.

Show comment
Hide comment
@lomanyong

lomanyong Nov 23, 2016

Member

@jiyuegongzi 有卡在安装的完整的log吗,从你前面的log来看应该是也都安装完了.

Member

lomanyong commented Nov 23, 2016

@jiyuegongzi 有卡在安装的完整的log吗,从你前面的log来看应该是也都安装完了.

@jiyuegongzi

This comment has been minimized.

Show comment
Hide comment
@jiyuegongzi

jiyuegongzi Nov 23, 2016

第二次就是完整log,第一次是我不小心按了强制退出快捷键!

jiyuegongzi commented Nov 23, 2016

第二次就是完整log,第一次是我不小心按了强制退出快捷键!

@jiyuegongzi

This comment has been minimized.

Show comment
Hide comment
@jiyuegongzi

jiyuegongzi Nov 23, 2016

[DEBUG] [sync_client] try to connect device 1 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 2 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 3 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 4 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 5 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 6 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 7 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 8 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 9 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 10 times...
[DEBUG] [sync_client] No package named com.ximalaya.ting.android.aliyunfm been installed to your device
[DEBUG] [connect_device_task] connect_device_task finish in 15.5s
[DEBUG] [gradle_sync_task] gradle_sync_task start to run after waiting 15.5s
[DEBUG] [clean_cache_task] clean_cache_task start to run after waiting 15.5s
[DEBUG] [update_stat_task] update_stat_task start to run after waiting 15.5s
[DEBUG] [task_engine] task engine occurs exception, engine will exit.
[DEBUG] [task_engine] it takes task engine 15.52s 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: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] new clean build flag value: 627000
[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 HTCTingPhone module file stat
[DEBUG] [generate_file_stat_task] save XFramework module file stat
[DEBUG] [generate_file_stat_task] save AliSdk module file stat
[DEBUG] [generate_file_stat_task] save NativeRadioLibrary module file stat
[DEBUG] [generate_file_stat_task] save PullToRefresh module file stat
[DEBUG] [generate_file_stat_task] save Picasso module file stat
[DEBUG] [generate_file_stat_task] save PagerSlidingTabStrip module file stat
[DEBUG] [generate_file_stat_task] save TingPhoneOpenSDK module file stat
[DEBUG] [generate_file_stat_task] save litepal 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 15.5s
[DEBUG] [gradle_clean_build_task] gradle_clean_build_task start to run after waiting 15.5s
[DEBUG] [gradle_clean_build_task] gradlew.bat :HTCTingPhone:HTCTingPhone: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 100.1s
[DEBUG] [clean_all_cache_task] clean_all_cache_task start to run after waiting 115.7s
[DEBUG] [install_apk_task] install_apk_task start to run after waiting 115.7s
[DEBUG] [install_apk_task] check device' connection...
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline_annotation_info.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\jar_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\public_keeper.xml
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\stat_cache.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\AliSdk\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\assets_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\litepal\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\NativeRadioLibrary\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\PagerSlidingTabStrip\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\Picasso\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\PullToRefresh\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\TingPhoneOpenSDK\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\XFramework\resources_dependencies.json
[DEBUG] [clean_all_cache_task] clean_all_cache_task finish in 0.0s
[DEBUG] [build_base_resource_task] build_base_resource_task start to run after waiting 115.7s
[DEBUG] [append_file_stat_task] append_file_stat_task start to run after waiting 0.0s
[DEBUG] [generate_project_info_task] generate_project_info_task start to run after waiting 115.6s
[DEBUG] [generate_apt_files_task] generate_apt_files_task start to run after waiting 100.2s
[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] F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\public_keeper.xml exists, move to dst: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\backup\res\values\freeline_id_keeper_public.xml
[DEBUG] [build_base_resource_task] generating ids.xml from public.xml...
[DEBUG] [generate_project_info_task] generate_project_info_task finish in 0.3s
[DEBUG] [build_base_resource_task] aapt exec: freeline\release-tools\FreelineAapt.exe package -f -I F:\AndroidSDK\platforms\android-23\android.jar -M F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\manifests\full\debug\AndroidManifest.xml -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\res -S
F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\generated\res\rs\debug -S F:\WS_BpCarload\NativeRadioLibraryAli\NativeRadioLibrary\res -S F:\WS_BpCarload\
XAndroidFramework\litepal\build\generated\res\rs\release -S F:\WS_BpCarload\HTCTingPhone\AliSdk\res -S F:\WS_BpCarload\XAndroidFramework\PullToRefresh\res -S F:\WS_BpCarload\XAndroidFramework\Picasso\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\litepal\res -S F:\WS_BpCarload\XAndro
idFramework\Picasso\res -S F:\WS_BpCarload\XAndroidFramework\PullToRefresh\build\generated\res\rs\release -S F:\WS_BpCarload\HTCTingPhone\AliSdk\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\TingPhoneOpenSDK\res -S F:\WS_BpCarload\XAndroidFramework\XFramework\res -S F:\WS_BpCarload\
HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.squareup.leakcanary\leakcanary-android\1.3.1\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\0.8.2\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\
backup\res -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\assets -A F:\WS_BpCarload\XAndroidFramework\XFramework\assets -A F:\WS_BpCarload\XAndroidFramework\TingPhoneOpenSDK\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build
\generated\assets\shaders\debug -A F:\WS_BpCarload\XAndroidFramework\litepal\assets -A F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\assets -A F:\WS_BpCarload\XAndroidFramework\PullToRefresh\assets -A F:\WS_BpCarload\XAndroidFramework\Picasso\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\b
uild\intermediates\exploded-aar\com.squareup.leakcanary\leakcanary-android\1.3.1\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\0.8.2\assets -m -J F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\backup --auto-add-
overlay -F F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\base-res.so --debug-mode --no-version-vectors --resoucres-md5-cache-path F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\arsc_cache.dat --ignore-assets public_id.xml:public.xml:*.bak:.*
[DEBUG] [install_apk_task] start to install apk to device...
[DEBUG] [build_base_resource_task] generate base resource success: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\base-res.so
[DEBUG] [tracing] build_base_resource_aapt_task: 6865.99993706ms
[DEBUG] [build_base_resource_task] build_base_resource_task finish in 7.2s

这里就不动了!

jiyuegongzi commented Nov 23, 2016

[DEBUG] [sync_client] try to connect device 1 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 2 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 3 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 4 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 5 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 6 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 7 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 8 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 9 times...
[DEBUG] [sync_client] wake up Service: F:\AndroidSDK\platform-tools\adb.exe shell am startservice -n com.ximalaya.ting.android.aliyunfm/com.antfortune.freeline.FreelineService -e wakeup marker
[DEBUG] [sync_client] apktime path: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [sync_client] your local sync value is: 654000
[DEBUG] [sync_client] your local uuid value is: 654000
[DEBUG] [sync_client] try to connect device 10 times...
[DEBUG] [sync_client] No package named com.ximalaya.ting.android.aliyunfm been installed to your device
[DEBUG] [connect_device_task] connect_device_task finish in 15.5s
[DEBUG] [gradle_sync_task] gradle_sync_task start to run after waiting 15.5s
[DEBUG] [clean_cache_task] clean_cache_task start to run after waiting 15.5s
[DEBUG] [update_stat_task] update_stat_task start to run after waiting 15.5s
[DEBUG] [task_engine] task engine occurs exception, engine will exit.
[DEBUG] [task_engine] it takes task engine 15.52s 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: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] new clean build flag value: 627000
[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 HTCTingPhone module file stat
[DEBUG] [generate_file_stat_task] save XFramework module file stat
[DEBUG] [generate_file_stat_task] save AliSdk module file stat
[DEBUG] [generate_file_stat_task] save NativeRadioLibrary module file stat
[DEBUG] [generate_file_stat_task] save PullToRefresh module file stat
[DEBUG] [generate_file_stat_task] save Picasso module file stat
[DEBUG] [generate_file_stat_task] save PagerSlidingTabStrip module file stat
[DEBUG] [generate_file_stat_task] save TingPhoneOpenSDK module file stat
[DEBUG] [generate_file_stat_task] save litepal 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 15.5s
[DEBUG] [gradle_clean_build_task] gradle_clean_build_task start to run after waiting 15.5s
[DEBUG] [gradle_clean_build_task] gradlew.bat :HTCTingPhone:HTCTingPhone: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 100.1s
[DEBUG] [clean_all_cache_task] clean_all_cache_task start to run after waiting 115.7s
[DEBUG] [install_apk_task] install_apk_task start to run after waiting 115.7s
[DEBUG] [install_apk_task] check device' connection...
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline_annotation_info.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\jar_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\public_keeper.xml
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\stat_cache.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\AliSdk\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets\apktime
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\assets_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\litepal\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\NativeRadioLibrary\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\PagerSlidingTabStrip\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\Picasso\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\PullToRefresh\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\TingPhoneOpenSDK\resources_dependencies.json
[DEBUG] [clean_all_cache_task] ignore remove: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\XFramework\resources_dependencies.json
[DEBUG] [clean_all_cache_task] clean_all_cache_task finish in 0.0s
[DEBUG] [build_base_resource_task] build_base_resource_task start to run after waiting 115.7s
[DEBUG] [append_file_stat_task] append_file_stat_task start to run after waiting 0.0s
[DEBUG] [generate_project_info_task] generate_project_info_task start to run after waiting 115.6s
[DEBUG] [generate_apt_files_task] generate_apt_files_task start to run after waiting 100.2s
[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] F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\public_keeper.xml exists, move to dst: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\backup\res\values\freeline_id_keeper_public.xml
[DEBUG] [build_base_resource_task] generating ids.xml from public.xml...
[DEBUG] [generate_project_info_task] generate_project_info_task finish in 0.3s
[DEBUG] [build_base_resource_task] aapt exec: freeline\release-tools\FreelineAapt.exe package -f -I F:\AndroidSDK\platforms\android-23\android.jar -M F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\manifests\full\debug\AndroidManifest.xml -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\res -S
F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\generated\res\rs\debug -S F:\WS_BpCarload\NativeRadioLibraryAli\NativeRadioLibrary\res -S F:\WS_BpCarload\
XAndroidFramework\litepal\build\generated\res\rs\release -S F:\WS_BpCarload\HTCTingPhone\AliSdk\res -S F:\WS_BpCarload\XAndroidFramework\PullToRefresh\res -S F:\WS_BpCarload\XAndroidFramework\Picasso\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\litepal\res -S F:\WS_BpCarload\XAndro
idFramework\Picasso\res -S F:\WS_BpCarload\XAndroidFramework\PullToRefresh\build\generated\res\rs\release -S F:\WS_BpCarload\HTCTingPhone\AliSdk\build\generated\res\rs\release -S F:\WS_BpCarload\XAndroidFramework\TingPhoneOpenSDK\res -S F:\WS_BpCarload\XAndroidFramework\XFramework\res -S F:\WS_BpCarload\
HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.squareup.leakcanary\leakcanary-android\1.3.1\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\0.8.2\res -S F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\
backup\res -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\freeline-assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\assets -A F:\WS_BpCarload\XAndroidFramework\XFramework\assets -A F:\WS_BpCarload\XAndroidFramework\TingPhoneOpenSDK\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build
\generated\assets\shaders\debug -A F:\WS_BpCarload\XAndroidFramework\litepal\assets -A F:\WS_BpCarload\XAndroidFramework\PagerSlidingTabStrip\assets -A F:\WS_BpCarload\XAndroidFramework\PullToRefresh\assets -A F:\WS_BpCarload\XAndroidFramework\Picasso\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\b
uild\intermediates\exploded-aar\com.squareup.leakcanary\leakcanary-android\1.3.1\assets -A F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\intermediates\exploded-aar\com.antfortune.freeline\runtime\0.8.2\assets -m -J F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\HTCTingPhone\backup --auto-add-
overlay -F F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\base-res.so --debug-mode --no-version-vectors --resoucres-md5-cache-path F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\arsc_cache.dat --ignore-assets public_id.xml:public.xml:*.bak:.*
[DEBUG] [install_apk_task] start to install apk to device...
[DEBUG] [build_base_resource_task] generate base resource success: F:\WS_BpCarload\HTCTingPhone\HTCTingPhone\build\freeline\base-res.so
[DEBUG] [tracing] build_base_resource_aapt_task: 6865.99993706ms
[DEBUG] [build_base_resource_task] build_base_resource_task finish in 7.2s

这里就不动了!

@lomanyong

This comment has been minimized.

Show comment
Hide comment
@lomanyong

lomanyong Nov 24, 2016

Member

@jiyuegongzi 试下这个文件android_tools.py,替换工程目录下freeline_core目录里的同名文件...然后执行一下发出日志看看...

android_tools.py.zip

Member

lomanyong commented Nov 24, 2016

@jiyuegongzi 试下这个文件android_tools.py,替换工程目录下freeline_core目录里的同名文件...然后执行一下发出日志看看...

android_tools.py.zip

@lomanyong

This comment has been minimized.

Show comment
Hide comment
@lomanyong

lomanyong Nov 24, 2016

Member

@jiyuegongzi 或者在卡住安装的时候,执行一下adb kill-server试试看

Member

lomanyong commented Nov 24, 2016

@jiyuegongzi 或者在卡住安装的时候,执行一下adb kill-server试试看

@jiyuegongzi

This comment has been minimized.

Show comment
Hide comment
@jiyuegongzi

jiyuegongzi Nov 25, 2016

OK, 终于好了,太谢谢了!
最后一个问题:我在做好所有相关的freeline配置后,要打正式的发布包的时候,需要做哪些事? 将所有freeline相关配置都注释掉?还是只是需要将apllication里面的FreelineCore.init(this);注释掉?还是什么都不用做?直接用gradle编译release包?

jiyuegongzi commented Nov 25, 2016

OK, 终于好了,太谢谢了!
最后一个问题:我在做好所有相关的freeline配置后,要打正式的发布包的时候,需要做哪些事? 将所有freeline相关配置都注释掉?还是只是需要将apllication里面的FreelineCore.init(this);注释掉?还是什么都不用做?直接用gradle编译release包?

@lomanyong

This comment has been minimized.

Show comment
Hide comment
@lomanyong

lomanyong Nov 25, 2016

Member

@jiyuegongzi 是执行完adb kill-server之后好了是吗?如果是的话,可能是你同时有两个adb启动了,导致了冲突...

发布的时候不需要做什么事情,直接用gradle打release包即可,freeline类似leak-canary那样,提供了no-op版本给release包使用,是空实现,不影响线上包。

Member

lomanyong commented Nov 25, 2016

@jiyuegongzi 是执行完adb kill-server之后好了是吗?如果是的话,可能是你同时有两个adb启动了,导致了冲突...

发布的时候不需要做什么事情,直接用gradle打release包即可,freeline类似leak-canary那样,提供了no-op版本给release包使用,是空实现,不影响线上包。

@lomanyong lomanyong closed this Nov 25, 2016

@jiyuegongzi

This comment has been minimized.

Show comment
Hide comment
@jiyuegongzi

jiyuegongzi Nov 25, 2016

不是! 我只是替换了你给的那个文件! 那我直接用compile 'com.antfortune.freeline:runtime:0.8.2' 还是要debugCompile 'com.antfortune.freeline:runtime:0.8.2'?releaseCompile'com.antfortune.freeline-no-op:runtime:0.8.2'

jiyuegongzi commented Nov 25, 2016

不是! 我只是替换了你给的那个文件! 那我直接用compile 'com.antfortune.freeline:runtime:0.8.2' 还是要debugCompile 'com.antfortune.freeline:runtime:0.8.2'?releaseCompile'com.antfortune.freeline-no-op:runtime:0.8.2'

@lomanyong

This comment has been minimized.

Show comment
Hide comment
@lomanyong

lomanyong Nov 25, 2016

Member

@jiyuegongzi freeline的gradle插件自动给你添加依赖了,理论上你不需要自己添加依赖的...

如果是替换我给的文件的话那就很奇怪了。。。那个文件只是添加了一些日志...并没有修改实际功能...感觉跟你本地环境关系比较大...

Member

lomanyong commented Nov 25, 2016

@jiyuegongzi freeline的gradle插件自动给你添加依赖了,理论上你不需要自己添加依赖的...

如果是替换我给的文件的话那就很奇怪了。。。那个文件只是添加了一些日志...并没有修改实际功能...感觉跟你本地环境关系比较大...

@jiyuegongzi

This comment has been minimized.

Show comment
Hide comment
@jiyuegongzi

jiyuegongzi Nov 25, 2016

OK 不用修改就太完美了。 至于换个加了日志的文件就好了,感觉可能还是存在偶发性bug。anyway,两秒的编译时间真是太棒了。 谢谢无私贡献!!

jiyuegongzi commented Nov 25, 2016

OK 不用修改就太完美了。 至于换个加了日志的文件就好了,感觉可能还是存在偶发性bug。anyway,两秒的编译时间真是太棒了。 谢谢无私贡献!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment