Error:Cannot add task ':app:tinkerSupportProcessDebugManifest' as a task with that name already exis
先說一下遇到這個問題的前提吧! 公司需要加熱更新,然後就遇到了Bugly,因為是Bugly裡面集成了微信團隊的Tinker,集成了熱更新的功能。所以就開始接觸Bugly了。
當然文件時有的,也是很全面的。並且還錄製了視訊講解,讓你看起來確實沒那麼複雜,當然熟悉之後確實不復雜。但是萬萬沒想到的是,我今天接入的第一步就出現了問題,因為用以前的半成品demo來做的測試,所以這個demo相對來說已經很完善了。按著文件講的開始整合,整合完之後,“Sync Now”一下,等呀等。。。。sorry出錯了,就是這個錯誤讓我花費了一整天的時間!!!!
什麼問題呢?就是他:Error:Cannot add task ':app:tinkerSupportProcessDebugManifest' as a task with that name already exists.
怎麼發生的呢?就是加了這麼一行程式碼:apply from: 'tinker-support.gradle' 。
一整天的查詢,資訊之後。。。
解決方案:
在你的app gradle裡面有這幾行程式碼:
splits { abi { enable true reset() include 'x86', 'armeabi-v7a', 'x86_64' universalApk true } }
他的作用是什麼呢? 就是防止在模擬器上無法安裝。
只要把這幾行程式碼給註釋掉就OK了!! 爽!! 沒法再模擬器上安裝就沒法安裝吧!!
相關推薦
Error:Cannot add task 39;:app:tinkerSupportProcessDebugManifest39; as a task with that name already exis
先說一下遇到這個問題的前提吧! 公司需要加熱更新,然後就遇到了Bugly,因為是Bugly裡面集成了微信團隊的Tinker,集成了熱更新的功能。所以就開始接觸Bugly了。 當然文件時有的,也是很全面的。並且還錄製了視訊講解,讓你看起來確實沒那麼複雜,當然熟悉之後確實不復雜。但是萬萬
Error:Execution failed for task 39;:app:compileDebugNdk39;. > Error: Your project contains C++ files but...
dir ++ detail cut .net log nat failed 語句 編譯so包時報錯:Error:Execution failed for task ‘:app:compileDebugNdk‘. > Error: Your project contai
Error:Execution failed for task 39;:app:mergeDebugResources39;. > Crunching Cruncher ******.9.png
修改 cut erro ons eclipse bug img 通過 求和 有時候在Android Studio導入Eclipse項目時,會出現Error:Execution failed for task ‘:app:mergeDebugResources‘. >
Error:Execution failed for task 39;:app:validateSigningDebug39;.
image TP inf bubuko truct led 項目 error: AS 今天出差回來 第一天 把項目重新移植到新的電腦上 一運行 給我報錯了 ! 這個是簽名的路徑錯誤 我們需要重新導一下路徑就可以了 點擊左上角 File ->
Error:Execution failed for task 39;:app:processAnzhiDebugManifest39;. > Manifest merger failed with mult
今天整合個推的時候遇到這樣一個異常: Error:Execution failed for task ‘:app:processAnzhiDebugManifest’. Manifest merger failed with multiple errors, see logs
安卓Error:Execution failed for task 39;:app:transformResourcesWithMergeJavaResForDebug39;.
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > com.android.build.api.transform.TransformException: com.andr
異常:Error:Execution failed for task 39;:app:compileDebugJavaWithJavac39;. > Compilation failed; see the c
碰到這個異常我也是挺無語的,因為Android Studio根本不會提示你詳細的錯誤資訊。 我們來看看這個博主:http://blog.csdn.net/runner__1/article/details/53482565 我就是借鑑他找錯的經歷找到錯誤的 在命令列中進入專案的根目
關於android studio 出現Error:Execution failed for task 39;:app:preDebugAndroidTestBuild39;. 的解決辦法 前段時間開啟Android studio 在build過程中總會出現以下錯誤
前段時間開啟Android studio 在build過程中總會出現以下錯誤 Error:Execution failed for task ':app:preDebugAndroidTestBuild'. > Conflict with dependency 'co
Error:Execution failed for task 39;:app:validateSigningRelease39;. > Keystore file F:\gdvictor\TK05DB\Sa
Error:Execution failed for task ':app:validateSigningRelease'. > Keystore file F:\gdvictor\TK05DB\SafeMonitorCall\TK05 not found for signing c
android開發:release打包Error:Execution failed for task 39;:app:transformClassesWithJarMergingForRelease39;.
情景 專案進行release打包,結果報錯: Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'. > com.android.build.api.transform
Error:Execution failed for task 39;:app:transformClassesWithDexForDebug39;
Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’. com.android.build.api.transform.TransformException: com.android.ide.
android studio 出現Error:Execution failed for task 39;:app:preDebugAndroidTestBuild39;. 的解決辦法
錯誤程式碼: Error:Execution failed for task ':app:preDebugAndroidTestBuild'. > Conflict with dependency 'com.android.support:support-annotations
Error:Execution failed for task 39;:app:transformClassesAndResourcesWithProguardForDebug39;. > Job faile
packagingOptions {exclude 'META-INF/DEPENDENCIES.txt'exclude 'META-INF/NOTICE'exclude 'META-INF/NOTICE.txt'exclude 'META-INF/LICENSE'exclude 'MET
Error:Execution failed for task 39;:app:transformNativeLibsWithMergeJniLibsForDebug39;. > More than one
錯誤異常 Error:Execution failed for task ‘:app:transformNativeLibsWithMergeJniLibsForDebug’. More than one file was found with OS independent
Error:Execution failed for task 39;:app:compileDebugNdk39;. > Error: Your project contains C++ files but
Error:Execution failed for task ':app:compileDebugNdk'. > Error: Your project contains C++ files but it is not using a supported native build syste
Android Studio更新導致Program type already present:的問題以及如下描述。R檔案丟失問題 Error:Execution failed for task 39;:app:processDebugManifest39;
All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 27.1.1,
Android Error:Execution failed for task 39;:app:preDebugAndroidTestBuild39;. > Conflict with dependency
錯誤內容: Error:Execution failed for task ':app:preDebugAndroidTestBuild'. > Conflict with dependency 'com.android.support:support-annotations' in
Error:Execution failed for task 39;:app:buildInfoDebugLoader39;
【問題描述】 今天執行android studio的時候出現了一個問題如下所示: 這個問題也不怎麼好解釋直接上解決方法吧,順便記錄下自己踩過的坑。 【解決方法】 找到Android Studio 上面的工具欄Builde----->Rebuild Project,然後
Error:Execution failed for task 39;:app:transformClassesWithInstantRunForDebug39;
AndroidStudio報錯 Error:Execution failed for task ':app:transformClassesWithInstantRunForDebug'. 解決方法: File-> Settings-> Build, Execution
Error:Execution failed for task 39;:app:lintVitalRelease39;. > java.lang.IllegalStateException:
Error:Execution failed for task ‘:app:lintVitalRelease’. > java.lang.IllegalStateException: Expected a name but was STRING at line 1 column 99