极速网络科技 发表于 2024-5-6 10:29:58

使用了视图容器就报错

错误:
    步骤"生成DEX文件"执行失败
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R) does not match path (cOM/ocnyang/pagetransformerhelp/R.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$_RM) does not match path (cOM/ocnyang/pagetransformerhelp/R$_RM.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$_RM.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$anim) does not match path (cOM/ocnyang/pagetransformerhelp/R$anim.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$anim.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$attr) does not match path (cOM/ocnyang/pagetransformerhelp/R$attr.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$attr.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$bool) does not match path (cOM/ocnyang/pagetransformerhelp/R$bool.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$bool.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$color) does not match path (cOM/ocnyang/pagetransformerhelp/R$color.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$color.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$dimen) does not match path (cOM/ocnyang/pagetransformerhelp/R$dimen.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$dimen.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$drawable) does not match path (cOM/ocnyang/pagetransformerhelp/R$drawable.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$drawable.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$id) does not match path (cOM/ocnyang/pagetransformerhelp/R$id.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$id.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$integer) does not match path (cOM/ocnyang/pagetransformerhelp/R$integer.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$integer.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$layout) does not match path (cOM/ocnyang/pagetransformerhelp/R$layout.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$layout.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$string) does not match path (cOM/ocnyang/pagetransformerhelp/R$string.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$string.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$style) does not match path (cOM/ocnyang/pagetransformerhelp/R$style.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$style.class
    PARSE ERROR:
    com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$styleable) does not match path (cOM/ocnyang/pagetransformerhelp/R$styleable.class)
   at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
   at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
   at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
   at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
   at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
   at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
   at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
   at com.android.dx.command.dexer.Main.processClass(Main.java:756)
   at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
   at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
   at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
   at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
   at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
   at com.android.dx.command.dexer.Main.processOne(Main.java:678)
   at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
   at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
   at com.android.dx.command.dexer.Main.runDx(Main.java:288)
   at com.android.dx.command.dexer.Main.main(Main.java:244)
   at com.android.dx.command.Main.main(Main.java:95)
    ...while parsing cOM/ocnyang/pagetransformerhelp/R$styleable.class
    14 errors; aborting

使用了“视图容器”调试时就报错,一句关于“视图容器”的代码都没写,把“视图容器”删掉然后调试就不报错了,什么情况。。。。。

先生 发表于 2024-5-6 12:04:52

遇到过,我记得是放在了不能放的组件布局里面。排除换换父组件

极速网络科技 发表于 2024-5-6 12:07:21

先生 发表于 2024-5-6 12:04
遇到过,我记得是放在了不能放的组件布局里面。排除换换父组件

已经是顶层了,上面唯一的父组件就是启动类了。

创世魂 发表于 2024-5-6 13:11:59

你想要实现什么效果,详细描述一下,我给你写个小例子。

极速网络科技 发表于 2024-5-6 14:56:46

创世魂 发表于 2024-5-6 13:11
你想要实现什么效果,详细描述一下,我给你写个小例子。

感谢,那倒不用,论坛下的你的例子可以正常运行,但是到我软件里就不行了,一句关于视图容器的命令都没写就报错,把视图容器删掉不报错了。

创世魂 发表于 2024-5-6 20:11:00

你这问题确实没遇到过,那只能你自己想办法解决了。。
页: [1]
查看完整版本: 使用了视图容器就报错