Closed WenruiCui closed 8 years ago
[ERROR] -------------------------------------------------------- [ERROR] build base resources failed with: freeline/release-tools/FreelineAapt package -f -I /Users/cuiwenrui-pc/Library/Android/sdk/platforms/android-23/android.jar -M /Users/cuiwenrui-pc/Desktop/AndroidProject/androidv2/app/build/intermediates/manifests/full/nxDev/debug/AndroidManifest.xml -S /Users/cuiwenrui-pc/Desktop/AndroidProject/androidv2/app/src/main/res -S /Users/cuiwenrui-pc/Desktop/AndroidProject/androidv2/app/build/freeline/app/backup/res -A /Users/cuiwenrui-pc/Desktop/AndroidProject/androidv2/app/build/freeline/freeline-assets -A /Users/cuiwenrui-pc/Desktop/AndroidProject/androidv2/app/src/main/assets -m -J /Users/cuiwenrui-pc/Desktop/AndroidProject/androidv2/app/build/freeline/app/backup --auto-add-overlay -F /Users/cuiwenrui-pc/Desktop/AndroidProject/androidv2/app/build/freeline/base-res.so --debug-mode --no-version-vectors --resoucres-md5-cache-path /Users/cuiwenrui-pc/Desktop/AndroidProject/androidv2/app/build/freeline/arsc_cache.dat --ignore-assets publicid.xml:public.xml:.bak:._ [ERROR] -------------------------------------------------------- 最后error报这个
@WenruiCui gradle的版本是多少呢?以及android build的版本(classpath 'com.android.tools.build:gradle:2.1.3'
)是多少?
以及,麻烦手动执行一下./gradlew assembleDebug -PfreelineBuild=true
,然后发下日志~
检查一下你的strings.xml,是不是在
@gaoxuxu 现在不是这个问题了哈~之前那个错误因为遇见的人太多了,我们直接优化aapt把这个问题给解决了。现在的sample工程里是含有这种乱码文字的。
gradle版本是2.14.1 ,android build的版本为com.android.tools.build:gradle:2.1.3
运行log
Incremental java compilation is an incubating feature.
debug
release
debug
release
debug
release
debug
release
debug
release
debug
release
find variant xmStDebug start hack process...
variant xmStRelease is not debug, skip hack process.
find variant xmDevDebug start hack process...
variant xmDevRelease is not debug, skip hack process.
find variant xmRelDebug start hack process...
variant xmRelRelease is not debug, skip hack process.
find variant nxStDebug start hack process...
variant nxStRelease is not debug, skip hack process.
find variant nxDevDebug start hack process...
variant nxDevRelease is not debug, skip hack process.
find variant nxRelDebug start hack process...
variant nxRelRelease is not debug, skip hack process.
:app:preBuild UP-TO-DATE
:app:preNxDevDebugBuild UP-TO-DATE
:app:checkNxDevDebugManifest
:app:preNxDevReleaseBuild UP-TO-DATE
:app:preNxRelDebugBuild UP-TO-DATE
:app:preNxRelReleaseBuild UP-TO-DATE
:app:preNxStDebugBuild UP-TO-DATE
:app:preNxStReleaseBuild UP-TO-DATE
:app:preXmDevDebugBuild UP-TO-DATE
:app:preXmDevReleaseBuild UP-TO-DATE
:app:preXmRelDebugBuild UP-TO-DATE
:app:preXmRelReleaseBuild UP-TO-DATE
:app:preXmStDebugBuild UP-TO-DATE
:app:preXmStReleaseBuild UP-TO-DATE
:commonlib:preBuild UP-TO-DATE
:commonlib:preReleaseBuild UP-TO-DATE
:commonlib:compileReleaseNdk UP-TO-DATE
:commonlib:compileLint
:commonlib:copyReleaseLint UP-TO-DATE
:commonlib:checkReleaseManifest
:commonlib:preDebugAndroidTestBuild UP-TO-DATE
:commonlib:preDebugBuild UP-TO-DATE
:commonlib:preDebugUnitTestBuild UP-TO-DATE
:commonlib:preReleaseUnitTestBuild UP-TO-DATE
:commonlib:prepareComAndroidSupportSupportV42321Library UP-TO-DATE
:commonlib:prepareComFacebookFrescoAnimatedBase0120Library UP-TO-DATE
:commonlib:prepareComFacebookFrescoAnimatedGif0120Library UP-TO-DATE
:commonlib:prepareComFacebookFrescoDrawee0120Library UP-TO-DATE
:commonlib:prepareComFacebookFrescoFbcore0120Library UP-TO-DATE
:commonlib:prepareComFacebookFrescoFresco0120Library UP-TO-DATE
:commonlib:prepareComFacebookFrescoImagepipeline0120Library UP-TO-DATE
:commonlib:prepareComFacebookFrescoImagepipelineBase0120Library UP-TO-DATE
:commonlib:prepareMeRelexPhotodraweeview110Library UP-TO-DATE
:commonlib:preparePlDroidsonroidsGifAndroidGifDrawable1110Library UP-TO-DATE
:commonlib:prepareReleaseDependencies
:commonlib:compileReleaseAidl UP-TO-DATE
:commonlib:compileReleaseRenderscript UP-TO-DATE
:commonlib:generateReleaseBuildConfig UP-TO-DATE
:commonlib:mergeReleaseShaders UP-TO-DATE
:commonlib:compileReleaseShaders UP-TO-DATE
:commonlib:generateReleaseAssets UP-TO-DATE
:commonlib:mergeReleaseAssets UP-TO-DATE
:commonlib:generateReleaseResValues UP-TO-DATE
:commonlib:generateReleaseResources UP-TO-DATE
:commonlib:mergeReleaseResources UP-TO-DATE
:commonlib:processReleaseManifest UP-TO-DATE
:commonlib:processReleaseResources UP-TO-DATE
:commonlib:generateReleaseSources UP-TO-DATE
:commonlib:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:commonlib:compileReleaseJavaWithJavac UP-TO-DATE
:commonlib:extractReleaseAnnotations UP-TO-DATE
:commonlib:mergeReleaseProguardFiles UP-TO-DATE
:commonlib:packageReleaseRenderscript UP-TO-DATE
:commonlib:packageReleaseResources UP-TO-DATE
:commonlib:processReleaseJavaRes UP-TO-DATE
:commonlib:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:commonlib:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:commonlib:mergeReleaseJniLibFolders UP-TO-DATE
:commonlib:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:commonlib:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:commonlib:bundleRelease UP-TO-DATE
:controller:preBuild UP-TO-DATE
:controller:preNxReleaseBuild UP-TO-DATE
:controller:compileNxReleaseNdk UP-TO-DATE
:controller:compileLint
:controller:copyNxReleaseLint UP-TO-DATE
:controller:checkNxReleaseManifest
:controller:preNxDebugAndroidTestBuild UP-TO-DATE
:controller:preNxDebugBuild UP-TO-DATE
:controller:preNxDebugUnitTestBuild UP-TO-DATE
:controller:preNxReleaseUnitTestBuild UP-TO-DATE
:controller:preXmDebugAndroidTestBuild UP-TO-DATE
:controller:preXmDebugBuild UP-TO-DATE
:controller:preXmDebugUnitTestBuild UP-TO-DATE
:controller:preXmReleaseBuild UP-TO-DATE
:controller:preXmReleaseUnitTestBuild UP-TO-DATE
:sdkadapter:preBuild UP-TO-DATE
:sdkadapter:preReleaseBuild UP-TO-DATE
:sdkadapter:compileReleaseNdk UP-TO-DATE
:sdkadapter:compileLint
:sdkadapter:copyReleaseLint UP-TO-DATE
:sdkadapter:mergeReleaseProguardFiles UP-TO-DATE
:sdkadapter:packageReleaseRenderscript UP-TO-DATE
:sdkadapter:checkReleaseManifest
:sdkadapter:preDebugAndroidTestBuild UP-TO-DATE
:sdkadapter:preDebugBuild UP-TO-DATE
:sdkadapter:preDebugUnitTestBuild UP-TO-DATE
:sdkadapter:preReleaseUnitTestBuild UP-TO-DATE
:sdkadapter:prepareComSankuaiXmAudiosdk125Library UP-TO-DATE
:sdkadapter:prepareComSankuaiXmMeetingsdk125Library UP-TO-DATE
:sdkadapter:prepareComSankuaiXmMnetsdk125Library UP-TO-DATE
:sdkadapter:prepareComSankuaiXmVideosdk125Library UP-TO-DATE
:sdkadapter:prepareReleaseDependencies
:sdkadapter:compileReleaseRenderscript UP-TO-DATE
:sdkadapter:generateReleaseResValues UP-TO-DATE
:sdkadapter:generateReleaseResources UP-TO-DATE
:sdkadapter:packageReleaseResources UP-TO-DATE
:sdkadapter:compileReleaseAidl UP-TO-DATE
:sdkadapter:generateReleaseBuildConfig UP-TO-DATE
:sdkadapter:mergeReleaseShaders UP-TO-DATE
:sdkadapter:compileReleaseShaders UP-TO-DATE
:sdkadapter:generateReleaseAssets UP-TO-DATE
:sdkadapter:mergeReleaseAssets UP-TO-DATE
:sdkadapter:mergeReleaseResources UP-TO-DATE
:sdkadapter:processReleaseManifest UP-TO-DATE
:sdkadapter:processReleaseResources UP-TO-DATE
:sdkadapter:generateReleaseSources UP-TO-DATE
:sdkadapter:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:sdkadapter:compileReleaseJavaWithJavac UP-TO-DATE
:sdkadapter:processReleaseJavaRes UP-TO-DATE
:sdkadapter:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:sdkadapter:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:sdkadapter:mergeReleaseJniLibFolders UP-TO-DATE
:sdkadapter:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:sdkadapter:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:sdkadapter:bundleRelease UP-TO-DATE
:controller:prepareAndroidv2SdkadapterUnspecifiedLibrary UP-TO-DATE
:controller:prepareComSankuaiXmAudiosdk125Library UP-TO-DATE
:controller:prepareComSankuaiXmMeetingsdk125Library UP-TO-DATE
:controller:prepareComSankuaiXmMnetsdk125Library UP-TO-DATE
:controller:prepareComSankuaiXmVideosdk125Library UP-TO-DATE
:controller:prepareComSquareupPicassoPicasso260SNAPSHOTLibrary UP-TO-DATE
:controller:prepareNxReleaseDependencies
:controller:compileNxReleaseAidl UP-TO-DATE
:controller:compileNxReleaseRenderscript UP-TO-DATE
:controller:generateNxReleaseBuildConfig UP-TO-DATE
:controller:mergeNxReleaseShaders UP-TO-DATE
:controller:compileNxReleaseShaders UP-TO-DATE
:controller:generateNxReleaseAssets UP-TO-DATE
:controller:mergeNxReleaseAssets UP-TO-DATE
:controller:generateNxReleaseResValues UP-TO-DATE
:controller:generateNxReleaseResources UP-TO-DATE
:controller:mergeNxReleaseResources UP-TO-DATE
:controller:processNxReleaseManifest UP-TO-DATE
:controller:processNxReleaseResources UP-TO-DATE
:controller:generateNxReleaseSources UP-TO-DATE
:controller:incrementalNxReleaseJavaCompilationSafeguard UP-TO-DATE
:controller:compileNxReleaseJavaWithJavac UP-TO-DATE
:controller:extractNxReleaseAnnotations UP-TO-DATE
:controller:mergeNxReleaseProguardFiles UP-TO-DATE
:controller:packageNxReleaseRenderscript UP-TO-DATE
:controller:packageNxReleaseResources UP-TO-DATE
:controller:processNxReleaseJavaRes UP-TO-DATE
:controller:transformResourcesWithMergeJavaResForNxRelease UP-TO-DATE
:controller:transformClassesAndResourcesWithSyncLibJarsForNxRelease UP-TO-DATE
:controller:mergeNxReleaseJniLibFolders UP-TO-DATE
:controller:transformNative_libsWithMergeJniLibsForNxRelease UP-TO-DATE
:controller:transformNative_libsWithSyncJniLibsForNxRelease UP-TO-DATE
:controller:bundleNxRelease UP-TO-DATE
:controller:compileXmReleaseNdk UP-TO-DATE
:controller:copyXmReleaseLint UP-TO-DATE
:controller:checkXmReleaseManifest
:controller:prepareXmReleaseDependencies
:controller:compileXmReleaseAidl UP-TO-DATE
:controller:compileXmReleaseRenderscript UP-TO-DATE
:controller:generateXmReleaseBuildConfig UP-TO-DATE
:controller:mergeXmReleaseShaders UP-TO-DATE
:controller:compileXmReleaseShaders UP-TO-DATE
:controller:generateXmReleaseAssets UP-TO-DATE
:controller:mergeXmReleaseAssets UP-TO-DATE
:controller:generateXmReleaseResValues UP-TO-DATE
:controller:generateXmReleaseResources UP-TO-DATE
:controller:mergeXmReleaseResources UP-TO-DATE
:controller:processXmReleaseManifest UP-TO-DATE
:controller:processXmReleaseResources UP-TO-DATE
:controller:generateXmReleaseSources UP-TO-DATE
:controller:incrementalXmReleaseJavaCompilationSafeguard UP-TO-DATE
:controller:compileXmReleaseJavaWithJavac UP-TO-DATE
:controller:extractXmReleaseAnnotations UP-TO-DATE
:controller:mergeXmReleaseProguardFiles UP-TO-DATE
:controller:packageXmReleaseRenderscript UP-TO-DATE
:controller:packageXmReleaseResources UP-TO-DATE
:controller:processXmReleaseJavaRes UP-TO-DATE
:controller:transformResourcesWithMergeJavaResForXmRelease UP-TO-DATE
:controller:transformClassesAndResourcesWithSyncLibJarsForXmRelease UP-TO-DATE
:controller:mergeXmReleaseJniLibFolders UP-TO-DATE
:controller:transformNative_libsWithMergeJniLibsForXmRelease UP-TO-DATE
:controller:transformNative_libsWithSyncJniLibsForXmRelease UP-TO-DATE
:controller:bundleXmRelease UP-TO-DATE
:app:prepareAndroidv2CommonlibUnspecifiedLibrary UP-TO-DATE
:app:prepareAndroidv2ControllerUnspecifiedNxReleaseLibrary UP-TO-DATE
:app:prepareAndroidv2SdkadapterUnspecifiedLibrary UP-TO-DATE
:app:prepareCnBingoogolappleBgaRefreshlayout116Library UP-TO-DATE
:app:prepareComAlipayEulerAndfix031Library UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2340Library UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72340Library UP-TO-DATE
:app:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72330Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42340Library UP-TO-DATE
:app:prepareComAndroidSupportSupportVectorDrawable2340Library UP-TO-DATE
:app:prepareComAntfortuneFreelineRuntime061Library UP-TO-DATE
:app:prepareComFacebookFrescoAnimatedBase0120Library UP-TO-DATE
:app:prepareComFacebookFrescoAnimatedGif0120Library UP-TO-DATE
:app:prepareComFacebookFrescoDrawee0120Library UP-TO-DATE
:app:prepareComFacebookFrescoFbcore0120Library UP-TO-DATE
:app:prepareComFacebookFrescoFresco0120Library UP-TO-DATE
:app:prepareComFacebookFrescoImagepipeline0120Library UP-TO-DATE
:app:prepareComFacebookFrescoImagepipelineBase0120Library UP-TO-DATE
:app:prepareComFacebookFrescoImagepipelineOkhttp30100Library UP-TO-DATE
:app:prepareComFacebookReactReactNative0280Library UP-TO-DATE
:app:prepareComImagezoomImageViewZoom101SNAPSHOTLibrary UP-TO-DATE
:app:prepareComJakewhartonButterknife821Library UP-TO-DATE
:app:prepareComMeituanAndroidCommonLocateAsyncTask0101Library UP-TO-DATE
:app:prepareComMeituanAndroidCommonLocateImpl026_851Library UP-TO-DATE
:app:prepareComMeituanAndroidCommonLocateInterface026_71Library UP-TO-DATE
:app:prepareComMeituanAndroidCommonPerformanceLibrary128Library UP-TO-DATE
:app:prepareComMeituanAndroidCommonUnionid122Library UP-TO-DATE
:app:prepareComMeituanAndroidLettersIndexSectionListviewLibrary10SNAPSHOTLibrary UP-TO-DATE
:app:prepareComMeituanAndroidMtmpsdk0985Library UP-TO-DATE
:app:prepareComMeituanAndroidRnUpdateLibrary106Library UP-TO-DATE
:app:prepareComMeituanOaAttendanceSdk114SNAPSHOTLibrary UP-TO-DATE
:app:prepareComMeituanOaTodoSdk116SNAPSHOTLibrary UP-TO-DATE
:app:prepareComMeituanRhinoMbox141SNAPSHOTLibrary UP-TO-DATE
:app:prepareComProlificinteractiveMaterialCalendarview140Library UP-TO-DATE
:app:prepareComSankuaiHotfixLibrary214Library UP-TO-DATE
:app:prepareComSankuaiXmAudiosdk125Library UP-TO-DATE
:app:prepareComSankuaiXmChatkit129SNAPSHOTLibrary UP-TO-DATE
:app:prepareComSankuaiXmMeetingsdk125Library UP-TO-DATE
:app:prepareComSankuaiXmMnetsdk125Library UP-TO-DATE
:app:prepareComSankuaiXmVideosdk125Library UP-TO-DATE
:app:prepareComSquareupLeakcanaryLeakcanaryAndroid14Beta2Library UP-TO-DATE
:app:prepareComSquareupPicassoPicasso260SNAPSHOTLibrary UP-TO-DATE
:app:prepareComViewpagerindicatorLibrary242Library UP-TO-DATE
:app:prepareDeHdodenhofCircleimageview120Library UP-TO-DATE
:app:prepareIoKvhAmr111Library UP-TO-DATE
:app:prepareMeRelexPhotodraweeview110Library UP-TO-DATE
:app:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
:app:preparePlDroidsonroidsGifAndroidGifDrawable1110Library UP-TO-DATE
:app:prepareNxDevDebugDependencies
:app:compileNxDevDebugAidl UP-TO-DATE
:app:compileNxDevDebugRenderscript UP-TO-DATE
:app:generateNxDevDebugBuildConfig UP-TO-DATE
:app:mergeNxDevDebugShaders UP-TO-DATE
:app:compileNxDevDebugShaders UP-TO-DATE
:app:generateNxDevDebugAssets UP-TO-DATE
:app:mergeNxDevDebugAssets UP-TO-DATE
:app:generateNxDevDebugResValues UP-TO-DATE
:app:generateNxDevDebugResources UP-TO-DATE
:app:mergeNxDevDebugResources UP-TO-DATE
:app:processNxDevDebugManifest UP-TO-DATE
:app:processNxDevDebugResources UP-TO-DATE
:app:generateNxDevDebugSources UP-TO-DATE
:app:incrementalNxDevDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileNxDevDebugJavaWithJavac UP-TO-DATE
:app:compileNxDevDebugNdk UP-TO-DATE
:app:compileNxDevDebugSources UP-TO-DATE
:app:prePackageMarkerForNxDevDebug
:app:transformClassesWithJarMergingForNxDevDebug UP-TO-DATE
:app:collectNxDevDebugMultiDexComponents UP-TO-DATE
:app:transformClassesWithMultidexlistForNxDevDebug UP-TO-DATE
:app:transformClassesWithDexForNxDevDebug UP-TO-DATE
:app:mergeNxDevDebugJniLibFolders UP-TO-DATE
:app:transformNative_libsWithMergeJniLibsForNxDevDebug UP-TO-DATE
:app:processNxDevDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForNxDevDebug UP-TO-DATE
:app:validateDebugSigning
:app:packageNxDevDebug UP-TO-DATE
:app:zipalignNxDevDebug UP-TO-DATE
:app:assembleNxDevDebug UP-TO-DATE
:app:checkNxRelDebugManifest
:app:prepareNxRelDebugDependencies
:app:compileNxRelDebugAidl UP-TO-DATE
:app:compileNxRelDebugRenderscript UP-TO-DATE
:app:generateNxRelDebugBuildConfig UP-TO-DATE
:app:mergeNxRelDebugShaders UP-TO-DATE
:app:compileNxRelDebugShaders UP-TO-DATE
:app:generateNxRelDebugAssets UP-TO-DATE
:app:mergeNxRelDebugAssets UP-TO-DATE
:app:generateNxRelDebugResValues UP-TO-DATE
:app:generateNxRelDebugResources UP-TO-DATE
:app:mergeNxRelDebugResources UP-TO-DATE
:app:processNxRelDebugManifest UP-TO-DATE
:app:processNxRelDebugResources UP-TO-DATE
:app:generateNxRelDebugSources UP-TO-DATE
:app:incrementalNxRelDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileNxRelDebugJavaWithJavac UP-TO-DATE
:app:compileNxRelDebugNdk UP-TO-DATE
:app:compileNxRelDebugSources UP-TO-DATE
:app:prePackageMarkerForNxRelDebug
:app:transformClassesWithJarMergingForNxRelDebug UP-TO-DATE
:app:collectNxRelDebugMultiDexComponents UP-TO-DATE
:app:transformClassesWithMultidexlistForNxRelDebug UP-TO-DATE
:app:transformClassesWithDexForNxRelDebug UP-TO-DATE
:app:mergeNxRelDebugJniLibFolders UP-TO-DATE
:app:transformNative_libsWithMergeJniLibsForNxRelDebug UP-TO-DATE
:app:processNxRelDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForNxRelDebug UP-TO-DATE
:app:packageNxRelDebug UP-TO-DATE
:app:zipalignNxRelDebug UP-TO-DATE
:app:assembleNxRelDebug UP-TO-DATE
:app:checkNxStDebugManifest
:app:prepareNxStDebugDependencies
:app:compileNxStDebugAidl UP-TO-DATE
:app:compileNxStDebugRenderscript UP-TO-DATE
:app:generateNxStDebugBuildConfig UP-TO-DATE
:app:mergeNxStDebugShaders UP-TO-DATE
:app:compileNxStDebugShaders UP-TO-DATE
:app:generateNxStDebugAssets UP-TO-DATE
:app:mergeNxStDebugAssets UP-TO-DATE
:app:generateNxStDebugResValues UP-TO-DATE
:app:generateNxStDebugResources UP-TO-DATE
:app:mergeNxStDebugResources UP-TO-DATE
:app:processNxStDebugManifest UP-TO-DATE
:app:processNxStDebugResources UP-TO-DATE
:app:generateNxStDebugSources UP-TO-DATE
:app:incrementalNxStDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileNxStDebugJavaWithJavac UP-TO-DATE
:app:compileNxStDebugNdk UP-TO-DATE
:app:compileNxStDebugSources UP-TO-DATE
:app:prePackageMarkerForNxStDebug
:app:transformClassesWithJarMergingForNxStDebug UP-TO-DATE
:app:collectNxStDebugMultiDexComponents UP-TO-DATE
:app:transformClassesWithMultidexlistForNxStDebug UP-TO-DATE
:app:transformClassesWithDexForNxStDebug UP-TO-DATE
:app:mergeNxStDebugJniLibFolders UP-TO-DATE
:app:transformNative_libsWithMergeJniLibsForNxStDebug UP-TO-DATE
:app:processNxStDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForNxStDebug UP-TO-DATE
:app:packageNxStDebug UP-TO-DATE
:app:zipalignNxStDebug UP-TO-DATE
:app:assembleNxStDebug UP-TO-DATE
:app:checkXmDevDebugManifest
:app:prepareAndroidv2ControllerUnspecifiedXmReleaseLibrary UP-TO-DATE
:app:prepareXmDevDebugDependencies
:app:compileXmDevDebugAidl UP-TO-DATE
:app:compileXmDevDebugRenderscript UP-TO-DATE
:app:generateXmDevDebugBuildConfig UP-TO-DATE
:app:mergeXmDevDebugShaders UP-TO-DATE
:app:compileXmDevDebugShaders UP-TO-DATE
:app:generateXmDevDebugAssets UP-TO-DATE
:app:mergeXmDevDebugAssets UP-TO-DATE
:app:generateXmDevDebugResValues UP-TO-DATE
:app:generateXmDevDebugResources UP-TO-DATE
:app:mergeXmDevDebugResources UP-TO-DATE
:app:processXmDevDebugManifest UP-TO-DATE
:app:processXmDevDebugResources UP-TO-DATE
:app:generateXmDevDebugSources UP-TO-DATE
:app:incrementalXmDevDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileXmDevDebugJavaWithJavac UP-TO-DATE
:app:compileXmDevDebugNdk UP-TO-DATE
:app:compileXmDevDebugSources UP-TO-DATE
:app:prePackageMarkerForXmDevDebug
:app:transformClassesWithJarMergingForXmDevDebug UP-TO-DATE
:app:collectXmDevDebugMultiDexComponents UP-TO-DATE
:app:transformClassesWithMultidexlistForXmDevDebug UP-TO-DATE
:app:transformClassesWithDexForXmDevDebug UP-TO-DATE
:app:mergeXmDevDebugJniLibFolders UP-TO-DATE
:app:transformNative_libsWithMergeJniLibsForXmDevDebug UP-TO-DATE
:app:processXmDevDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForXmDevDebug UP-TO-DATE
:app:packageXmDevDebug UP-TO-DATE
:app:zipalignXmDevDebug UP-TO-DATE
:app:assembleXmDevDebug UP-TO-DATE
:app:checkXmRelDebugManifest
:app:prepareXmRelDebugDependencies
:app:compileXmRelDebugAidl UP-TO-DATE
:app:compileXmRelDebugRenderscript UP-TO-DATE
:app:generateXmRelDebugBuildConfig UP-TO-DATE
:app:mergeXmRelDebugShaders UP-TO-DATE
:app:compileXmRelDebugShaders UP-TO-DATE
:app:generateXmRelDebugAssets UP-TO-DATE
:app:mergeXmRelDebugAssets UP-TO-DATE
:app:generateXmRelDebugResValues UP-TO-DATE
:app:generateXmRelDebugResources UP-TO-DATE
:app:mergeXmRelDebugResources UP-TO-DATE
:app:processXmRelDebugManifest UP-TO-DATE
:app:processXmRelDebugResources UP-TO-DATE
:app:generateXmRelDebugSources UP-TO-DATE
:app:incrementalXmRelDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileXmRelDebugJavaWithJavac UP-TO-DATE
:app:compileXmRelDebugNdk UP-TO-DATE
:app:compileXmRelDebugSources UP-TO-DATE
:app:prePackageMarkerForXmRelDebug
:app:transformClassesWithJarMergingForXmRelDebug UP-TO-DATE
:app:collectXmRelDebugMultiDexComponents UP-TO-DATE
:app:transformClassesWithMultidexlistForXmRelDebug UP-TO-DATE
:app:transformClassesWithDexForXmRelDebug UP-TO-DATE
:app:mergeXmRelDebugJniLibFolders UP-TO-DATE
:app:transformNative_libsWithMergeJniLibsForXmRelDebug UP-TO-DATE
:app:processXmRelDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForXmRelDebug UP-TO-DATE
:app:packageXmRelDebug UP-TO-DATE
:app:zipalignXmRelDebug UP-TO-DATE
:app:assembleXmRelDebug UP-TO-DATE
:app:checkXmStDebugManifest
:app:prepareXmStDebugDependencies
:app:compileXmStDebugAidl UP-TO-DATE
:app:compileXmStDebugRenderscript UP-TO-DATE
:app:generateXmStDebugBuildConfig UP-TO-DATE
:app:mergeXmStDebugShaders UP-TO-DATE
:app:compileXmStDebugShaders UP-TO-DATE
:app:generateXmStDebugAssets UP-TO-DATE
:app:mergeXmStDebugAssets UP-TO-DATE
:app:generateXmStDebugResValues UP-TO-DATE
:app:generateXmStDebugResources UP-TO-DATE
:app:mergeXmStDebugResources UP-TO-DATE
:app:processXmStDebugManifest UP-TO-DATE
:app:processXmStDebugResources UP-TO-DATE
:app:generateXmStDebugSources UP-TO-DATE
:app:incrementalXmStDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileXmStDebugJavaWithJavac UP-TO-DATE
:app:compileXmStDebugNdk UP-TO-DATE
:app:compileXmStDebugSources UP-TO-DATE
:app:prePackageMarkerForXmStDebug
:app:transformClassesWithJarMergingForXmStDebug UP-TO-DATE
:app:collectXmStDebugMultiDexComponents UP-TO-DATE
:app:transformClassesWithMultidexlistForXmStDebug UP-TO-DATE
:app:transformClassesWithDexForXmStDebug UP-TO-DATE
:app:mergeXmStDebugJniLibFolders UP-TO-DATE
:app:transformNative_libsWithMergeJniLibsForXmStDebug UP-TO-DATE
:app:processXmStDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForXmStDebug UP-TO-DATE
:app:packageXmStDebug UP-TO-DATE
:app:zipalignXmStDebug UP-TO-DATE
:app:assembleXmStDebug UP-TO-DATE
:app:assembleDebug UP-TO-DATE
:commonlib:compileDebugNdk UP-TO-DATE
:commonlib:copyDebugLint UP-TO-DATE
:commonlib:checkDebugManifest
:commonlib:prepareDebugDependencies
:commonlib:compileDebugAidl UP-TO-DATE
:commonlib:compileDebugRenderscript UP-TO-DATE
:commonlib:generateDebugBuildConfig UP-TO-DATE
:commonlib:mergeDebugShaders UP-TO-DATE
:commonlib:compileDebugShaders UP-TO-DATE
:commonlib:generateDebugAssets UP-TO-DATE
:commonlib:mergeDebugAssets UP-TO-DATE
:commonlib:generateDebugResValues UP-TO-DATE
:commonlib:generateDebugResources UP-TO-DATE
:commonlib:mergeDebugResources UP-TO-DATE
:commonlib:processDebugManifest UP-TO-DATE
:commonlib:processDebugResources UP-TO-DATE
:commonlib:generateDebugSources UP-TO-DATE
:commonlib:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:commonlib:compileDebugJavaWithJavac UP-TO-DATE
:commonlib:extractDebugAnnotations UP-TO-DATE
:commonlib:mergeDebugProguardFiles UP-TO-DATE
:commonlib:packageDebugRenderscript UP-TO-DATE
:commonlib:packageDebugResources UP-TO-DATE
:commonlib:processDebugJavaRes UP-TO-DATE
:commonlib:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:commonlib:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
:commonlib:mergeDebugJniLibFolders UP-TO-DATE
:commonlib:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
:commonlib:transformNative_libsWithSyncJniLibsForDebug UP-TO-DATE
:commonlib:bundleDebug UP-TO-DATE
:commonlib:compileDebugSources UP-TO-DATE
:commonlib:assembleDebug UP-TO-DATE
:controller:compileNxDebugNdk UP-TO-DATE
:controller:copyNxDebugLint UP-TO-DATE
:controller:checkNxDebugManifest
:controller:prepareNxDebugDependencies
:controller:compileNxDebugAidl UP-TO-DATE
:controller:compileNxDebugRenderscript UP-TO-DATE
:controller:generateNxDebugBuildConfig UP-TO-DATE
:controller:mergeNxDebugShaders UP-TO-DATE
:controller:compileNxDebugShaders UP-TO-DATE
:controller:generateNxDebugAssets UP-TO-DATE
:controller:mergeNxDebugAssets UP-TO-DATE
:controller:generateNxDebugResValues UP-TO-DATE
:controller:generateNxDebugResources UP-TO-DATE
:controller:mergeNxDebugResources UP-TO-DATE
:controller:processNxDebugManifest UP-TO-DATE
:controller:processNxDebugResources UP-TO-DATE
:controller:generateNxDebugSources UP-TO-DATE
:controller:incrementalNxDebugJavaCompilationSafeguard UP-TO-DATE
:controller:compileNxDebugJavaWithJavac UP-TO-DATE
:controller:extractNxDebugAnnotations UP-TO-DATE
:controller:mergeNxDebugProguardFiles UP-TO-DATE
:controller:packageNxDebugRenderscript UP-TO-DATE
:controller:packageNxDebugResources UP-TO-DATE
:controller:processNxDebugJavaRes UP-TO-DATE
:controller:transformResourcesWithMergeJavaResForNxDebug UP-TO-DATE
:controller:transformClassesAndResourcesWithSyncLibJarsForNxDebug UP-TO-DATE
:controller:mergeNxDebugJniLibFolders UP-TO-DATE
:controller:transformNative_libsWithMergeJniLibsForNxDebug UP-TO-DATE
:controller:transformNative_libsWithSyncJniLibsForNxDebug UP-TO-DATE
:controller:bundleNxDebug UP-TO-DATE
:controller:compileNxDebugSources UP-TO-DATE
:controller:assembleNxDebug UP-TO-DATE
:controller:compileXmDebugNdk UP-TO-DATE
:controller:copyXmDebugLint UP-TO-DATE
:controller:checkXmDebugManifest
:controller:prepareXmDebugDependencies
:controller:compileXmDebugAidl UP-TO-DATE
:controller:compileXmDebugRenderscript UP-TO-DATE
:controller:generateXmDebugBuildConfig UP-TO-DATE
:controller:mergeXmDebugShaders UP-TO-DATE
:controller:compileXmDebugShaders UP-TO-DATE
:controller:generateXmDebugAssets UP-TO-DATE
:controller:mergeXmDebugAssets UP-TO-DATE
:controller:generateXmDebugResValues UP-TO-DATE
:controller:generateXmDebugResources UP-TO-DATE
:controller:mergeXmDebugResources UP-TO-DATE
:controller:processXmDebugManifest UP-TO-DATE
:controller:processXmDebugResources UP-TO-DATE
:controller:generateXmDebugSources UP-TO-DATE
:controller:incrementalXmDebugJavaCompilationSafeguard UP-TO-DATE
:controller:compileXmDebugJavaWithJavac UP-TO-DATE
:controller:extractXmDebugAnnotations UP-TO-DATE
:controller:mergeXmDebugProguardFiles UP-TO-DATE
:controller:packageXmDebugRenderscript UP-TO-DATE
:controller:packageXmDebugResources UP-TO-DATE
:controller:processXmDebugJavaRes UP-TO-DATE
:controller:transformResourcesWithMergeJavaResForXmDebug UP-TO-DATE
:controller:transformClassesAndResourcesWithSyncLibJarsForXmDebug UP-TO-DATE
:controller:mergeXmDebugJniLibFolders UP-TO-DATE
:controller:transformNative_libsWithMergeJniLibsForXmDebug UP-TO-DATE
:controller:transformNative_libsWithSyncJniLibsForXmDebug UP-TO-DATE
:controller:bundleXmDebug UP-TO-DATE
:controller:compileXmDebugSources UP-TO-DATE
:controller:assembleXmDebug UP-TO-DATE
:controller:assembleDebug UP-TO-DATE
:sdkadapter:compileDebugNdk UP-TO-DATE
:sdkadapter:copyDebugLint UP-TO-DATE
:sdkadapter:mergeDebugProguardFiles UP-TO-DATE
:sdkadapter:packageDebugRenderscript UP-TO-DATE
:sdkadapter:checkDebugManifest
:sdkadapter:prepareDebugDependencies
:sdkadapter:compileDebugRenderscript UP-TO-DATE
:sdkadapter:generateDebugResValues UP-TO-DATE
:sdkadapter:generateDebugResources UP-TO-DATE
:sdkadapter:packageDebugResources UP-TO-DATE
:sdkadapter:compileDebugAidl UP-TO-DATE
:sdkadapter:generateDebugBuildConfig UP-TO-DATE
:sdkadapter:mergeDebugShaders UP-TO-DATE
:sdkadapter:compileDebugShaders UP-TO-DATE
:sdkadapter:generateDebugAssets UP-TO-DATE
:sdkadapter:mergeDebugAssets UP-TO-DATE
:sdkadapter:mergeDebugResources UP-TO-DATE
:sdkadapter:processDebugManifest UP-TO-DATE
:sdkadapter:processDebugResources UP-TO-DATE
:sdkadapter:generateDebugSources UP-TO-DATE
:sdkadapter:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:sdkadapter:compileDebugJavaWithJavac UP-TO-DATE
:sdkadapter:processDebugJavaRes UP-TO-DATE
:sdkadapter:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:sdkadapter:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
:sdkadapter:mergeDebugJniLibFolders UP-TO-DATE
:sdkadapter:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
:sdkadapter:transformNative_libsWithSyncJniLibsForDebug UP-TO-DATE
:sdkadapter:bundleDebug UP-TO-DATE
:sdkadapter:compileDebugSources UP-TO-DATE
:sdkadapter:assembleDebug UP-TO-DATE
BUILD SUCCESSFUL
Total time: 26.636 secs
@WenruiCui freeline的日志基本都没有,是否添加了hack true
到freeline的DSL里了呢?如下:
freeline {
hack true
}
sorry,是我大意了,忘记引入了,我再重新试下
@WenruiCui 现在搞定了吗?
@lomanyong 正在build 初次build实在是慢
@WenruiCui 初次build基本上跟你们原本的build一样,加速效果在后面开始体现。
@lomanyong 目前来看基本ok了,多谢啦~给你添麻烦啦~后续有问题我在咨询
[INFO] preparing for tasks... [-][read_project_info_task] failed. in 16.8s [-][generate_file_stat_task] finished. in 0.1s [-][gradle_clean_build_task] failed. in 0s [-][clean_all_cache_task] failed. in 0s [-][install_apk_task] failed. in 0s [-][build_base_resource_task] failed. in 0s [-][generate_project_info_task] failed. in 0s [ERROR] -------------------------------------------------------- [ERROR] Freeline ERROR [ERROR] -------------------------------------------------------- debug release debug release debug release debug release debug release debug release variant xmStDebug is not nxDevDebug, skip hack process. variant xmStRelease is not debug, skip hack process. variant xmDevDebug is not nxDevDebug, skip hack process. variant xmDevRelease is not debug, skip hack process. variant xmRelDebug is not nxDevDebug, skip hack process. variant xmRelRelease is not debug, skip hack process. variant nxStDebug is not nxDevDebug, skip hack process. variant nxStRelease is not debug, skip hack process. variant nxDevDebug is not nxDevDebug, skip hack process. variant nxDevRelease is not debug, skip hack process. variant nxRelDebug is not nxDevDebug, skip hack process. variant nxRelRelease is not debug, skip hack process.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':checkBeforeCleanBuild'.
invalid productFlavor : nxDevDebug
[ERROR] -------------------------------------------------------- [ERROR] freeline failed when read project info with script: ./gradlew -q checkBeforeCleanBuild [ERROR] -------------------------------------------------------- [DEBUG] Prepare tasks time: 0.2s [DEBUG] Task engine running time: 16.8s [DEBUG] Total time: 17.0s [DEBUG] --------------------------------------------------------
现在遇到了这个问题 @lomanyong 确认这个productFlavor是存在的
@WenruiCui 你是配置了productFlavor nxDevDebug
吗?改为productFlavor nxDev
应该就可以了。
OK~ 问题解决 非常感谢 @lomanyong 的支持
@WenruiCui 目前是否可以使用起来呢?
还是不能,现在存在的问题是 在第二次运行时并不能起到增量的效果 一直提示无法找到
[INFO] preparing for tasks... [-][connect_device_task] failed. in 28.6s [-][gradle_aapt_task] finished. in 2.1s [-][commonlib] finished. in 0.0s [-][app] finished. in 0.0s [-][merge_dex_task] finished. in 0.0s [-][gradle_sync_task] failed. in 0s [-][clean_cache_task] failed. in 0s [-][update_stat_task] failed. in 0s [ERROR] -------------------------------------------------------- [ERROR] Freeline ERROR [ERROR] -------------------------------------------------------- Please make sure your application is properly running in your device. Check follow steps:
python freeline.py -f
.
[ERROR] --------------------------------------------------------
[ERROR] Package com.sankuai.xmpp is not found.
[ERROR] --------------------------------------------------------
[DEBUG] Prepare tasks time: 0.2s
[DEBUG] Task engine running time: 28.6s
[DEBUG] Total time: 28.8s
[DEBUG] --------------------------------------------------------@WenruiCui App类中是否调用了FreelineCore.init(this);
确认有调用
@WenruiCui 加入一下我们的交流群吧,我单独加下你微信,然后来看下这个问题。