非法论据例外| build-cache

时间:2017-09-12 19:04:09

标签: android android-studio illegalargumentexception

我正在

  

错误:任务':app:processDebugManifest'执行失败。   清单合并失败:来自[com.android.support:appcompat-v7:26.0.0-alpha1]的属性meta-data#android.support.VERSION@value value =(26.0.0-alpha1)AndroidManifest.xml:27:9 -38       也出现在[com.android.support:support-v4:26.0.0-alpha1] AndroidManifest.xml:27:9-31 value =(26.0.0)。       建议:添加'工具:replace =" android:value"'到AndroidManifest.xml:25:5-27:41的元素覆盖。

     

IllegalArgumentException:错误获取错误html:意外添加建议格式添加'工具:replace =" android:value"'到AndroidManifest.xml:25:5-27:34的元素覆盖。

我已经尝试了所有(sync and buildthis,修复版本到26.0.0等等。)我可以在StackOverflow上找到但是徒劳无功。

我觉得Merged Mainfest出了点问题,但并不完全清楚。

修改

异常上升(非法论据异常)

  

错误获取错误html:意外添加建议格式添加'工具:replace =" android:value"'到AndroidManifest.xml:25:5-27:34的元素来覆盖。   java.lang.IllegalArgumentException:意外添加建议格式添加'工具:replace =" android:value"'到AndroidManifest.xml:25:5-27:34的元素来覆盖。       在com.android.tools.idea.editors.manifest.ManifestPanel.getErrorAddHtml(ManifestPanel.java:614)       在com.android.tools.idea.editors.manifest.ManifestPanel.getErrorHtml(ManifestPanel.java:580)       在com.android.tools.idea.editors.manifest.ManifestPanel.updateDetails(ManifestPanel.java:475)       在com.android.tools.idea.editors.manifest.ManifestPanel.valueChanged(ManifestPanel.java:370)       在javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635)       在com.intellij.ui.treeStructure.Tree $ MySelectionModel.fireValueChanged(Tree.java:676)       在javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1093)       在javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:294)       在javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:188)       在javax.swing.JTree.setSelectionPath(JTree.java:1634)       在javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2393)       在javax.swing.plaf.basic.BasicTreeUI $ Handler.handleSelection(BasicTreeUI.java:3609)       在javax.swing.plaf.basic.BasicTreeUI $ Handler.mousePressed(BasicTreeUI.java:3548)       在com.intellij.util.ui.MouseEventAdapter.mousePressed(MouseEventAdapter.java:42)       在java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)       在java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)       在java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)       在java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)       at java.awt.Component.processMouseEvent(Component.java:6530)       在javax.swing.JComponent.processMouseEvent(JComponent.java:3324)       在com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:443)       at java.awt.Component.processEvent(Component.java:6298)       at java.awt.Container.processEvent(Container.java:2236)       at java.awt.Component.dispatchEventImpl(Component.java:4889)       at java.awt.Container.dispatchEventImpl(Container.java:2294)       at java.awt.Component.dispatchEvent(Component.java:4711)       at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)       at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)       at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)       at java.awt.Container.dispatchEventImpl(Container.java:2280)       at java.awt.Window.dispatchEventImpl(Window.java:2746)       at java.awt.Component.dispatchEvent(Component.java:4711)       at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)       at java.awt.EventQueue.access $ 500(EventQueue.java:97)       at java.awt.EventQueue $ 3.run(EventQueue.java:709)       at java.awt.EventQueue $ 3.run(EventQueue.java:703)       at java.security.AccessController.doPrivileged(Native Method)       at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)       at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)       at java.awt.EventQueue $ 4.run(EventQueue.java:731)       at java.awt.EventQueue $ 4.run(EventQueue.java:729)       at java.security.AccessController.doPrivileged(Native Method)       at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)       at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)       在com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:795)       在com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:627)       在com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:387)       at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)       at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)       at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)   java.lang.IllegalArgumentException:意外添加建议格式添加'工具:replace =" android:value"'到AndroidManifest.xml:25:5-27:34的元素来覆盖。       在com.android.tools.idea.editors.manifest.ManifestPanel.getErrorAddHtml(ManifestPanel.java:614)       在com.android.tools.idea.editors.manifest.ManifestPanel.getErrorHtml(ManifestPanel.java:580)       在com.android.tools.idea.editors.manifest.ManifestPanel.updateDetails(ManifestPanel.java:475)       在com.android.tools.idea.editors.manifest.ManifestPanel.valueChanged(ManifestPanel.java:373)       在javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635)       在com.intellij.ui.treeStructure.Tree $ MySelectionModel.fireValueChanged(Tree.java:676)       在javax.swing.tree.DefaultTreeSelectionModel.clearSelection(DefaultTreeSelectionModel.java:577)       在javax.swing.JTree.clearSelection(JTree.java:2667)       在javax.swing.JTree.setModel(JTree.java:851)       在com.android.tools.idea.editors.manifest.ManifestPanel.setManifest(ManifestPanel.java:274)       在com.android.tools.idea.editors.manifest.ManifestEditor.reload(ManifestEditor.java:110)       在com.android.tools.idea.editors.manifest.ManifestEditor.selectNotify(ManifestEditor.java:175)       at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda $ openFileImpl4 $ 6(FileEditorManagerImpl.java:934)       在com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2453)       在com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4(FileEditorManagerImpl.java:971)       在com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:788)       at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda $ openFileImpl2 $ 4(FileEditorManagerImpl.java:770)       在com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:122)       在com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100)       在com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:86)       在com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:770)       在com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:711)       在com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:151)       at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda $ openEditor $ 9(FileEditorManagerImpl.java:1151)       在com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)       在com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:100)       在com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:86)       在com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditor(FileEditorManagerImpl.java:1149)       在com.android.tools.idea.editors.manifest.ManifestPanel.goToDeclaration(ManifestPanel.java:559)       在com.android.tools.idea.editors.manifest.ManifestPanel.access $ 100(ManifestPanel.java:105)       在com.android.tools.idea.editors.manifest.ManifestPanel $ 2.mouseClicked(ManifestPanel.java:226)       在java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)       at java.awt.Component.processMouseEvent(Component.java:6536)       在javax.swing.JComponent.processMouseEvent(JComponent.java:3324)       在com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:443)       at java.awt.Component.processEvent(Component.java:6298)       at java.awt.Container.processEvent(Container.java:2236)       at java.awt.Component.dispatchEventImpl(Component.java:4889)       at java.awt.Container.dispatchEventImpl(Container.java:2294)       at java.awt.Component.dispatchEvent(Component.java:4711)       at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)       at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534)       at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)       at java.awt.Container.dispatchEventImpl(Container.java:2280)       at java.awt.Window.dispatchEventImpl(Window.java:2746)       at java.awt.Component.dispatchEvent(Component.java:4711)       at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)       at java.awt.EventQueue.access $ 500(EventQueue.java:97)       at java.awt.EventQueue $ 3.run(EventQueue.java:709)       at java.awt.EventQueue $ 3.run(EventQueue.java:703)       at java.security.AccessController.doPrivileged(Native Method)       at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)       at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)       at java.awt.EventQueue $ 4.run(EventQueue.java:731)       at java.awt.EventQueue $ 4.run(EventQueue.java:729)       at java.security.AccessController.doPrivileged(Native Method)       at java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)       at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)       在com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:795)       在com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:627)       在com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:387)       at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)       at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)       在java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

0 个答案:

没有答案