递归火山软件开发平台

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 火山 源码 类库
查看: 854|回复: 5
打印 上一主题 下一主题

[安卓] 使用了视图容器就报错

[复制链接]

25

主题

113

帖子

381

积分

中级会员

Rank: 3Rank: 3

积分
381
跳转到指定楼层
楼主
发表于 2024-5-6 10:29:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
  1. 错误:
  2.     步骤"生成DEX文件"执行失败
  3.     PARSE ERROR:
  4.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R) does not match path (cOM/ocnyang/pagetransformerhelp/R.class)
  5.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  6.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  7.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  8.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  9.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  10.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  11.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  12.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  13.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  14.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  15.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  16.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  17.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  18.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  19.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  20.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  21.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  22.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  23.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  24.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  25.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  26.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  27.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  28.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  29.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  30.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  31.      at com.android.dx.command.Main.main(Main.java:95)
  32.     ...while parsing cOM/ocnyang/pagetransformerhelp/R.class
  33.     PARSE ERROR:
  34.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$_RM) does not match path (cOM/ocnyang/pagetransformerhelp/R$_RM.class)
  35.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  36.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  37.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  38.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  39.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  40.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  41.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  42.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  43.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  44.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  45.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  46.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  47.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  48.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  49.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  50.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  51.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  52.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  53.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  54.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  55.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  56.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  57.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  58.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  59.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  60.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  61.      at com.android.dx.command.Main.main(Main.java:95)
  62.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$_RM.class
  63.     PARSE ERROR:
  64.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$anim) does not match path (cOM/ocnyang/pagetransformerhelp/R$anim.class)
  65.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  66.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  67.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  68.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  69.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  70.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  71.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  72.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  73.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  74.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  75.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  76.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  77.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  78.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  79.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  80.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  81.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  82.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  83.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  84.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  85.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  86.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  87.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  88.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  89.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  90.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  91.      at com.android.dx.command.Main.main(Main.java:95)
  92.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$anim.class
  93.     PARSE ERROR:
  94.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$attr) does not match path (cOM/ocnyang/pagetransformerhelp/R$attr.class)
  95.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  96.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  97.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  98.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  99.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  100.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  101.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  102.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  103.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  104.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  105.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  106.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  107.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  108.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  109.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  110.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  111.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  112.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  113.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  114.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  115.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  116.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  117.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  118.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  119.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  120.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  121.      at com.android.dx.command.Main.main(Main.java:95)
  122.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$attr.class
  123.     PARSE ERROR:
  124.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$bool) does not match path (cOM/ocnyang/pagetransformerhelp/R$bool.class)
  125.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  126.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  127.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  128.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  129.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  130.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  131.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  132.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  133.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  134.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  135.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  136.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  137.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  138.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  139.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  140.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  141.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  142.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  143.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  144.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  145.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  146.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  147.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  148.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  149.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  150.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  151.      at com.android.dx.command.Main.main(Main.java:95)
  152.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$bool.class
  153.     PARSE ERROR:
  154.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$color) does not match path (cOM/ocnyang/pagetransformerhelp/R$color.class)
  155.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  156.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  157.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  158.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  159.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  160.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  161.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  162.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  163.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  164.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  165.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  166.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  167.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  168.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  169.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  170.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  171.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  172.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  173.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  174.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  175.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  176.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  177.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  178.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  179.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  180.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  181.      at com.android.dx.command.Main.main(Main.java:95)
  182.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$color.class
  183.     PARSE ERROR:
  184.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$dimen) does not match path (cOM/ocnyang/pagetransformerhelp/R$dimen.class)
  185.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  186.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  187.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  188.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  189.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  190.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  191.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  192.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  193.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  194.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  195.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  196.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  197.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  198.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  199.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  200.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  201.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  202.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  203.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  204.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  205.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  206.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  207.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  208.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  209.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  210.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  211.      at com.android.dx.command.Main.main(Main.java:95)
  212.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$dimen.class
  213.     PARSE ERROR:
  214.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$drawable) does not match path (cOM/ocnyang/pagetransformerhelp/R$drawable.class)
  215.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  216.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  217.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  218.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  219.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  220.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  221.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  222.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  223.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  224.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  225.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  226.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  227.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  228.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  229.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  230.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  231.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  232.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  233.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  234.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  235.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  236.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  237.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  238.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  239.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  240.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  241.      at com.android.dx.command.Main.main(Main.java:95)
  242.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$drawable.class
  243.     PARSE ERROR:
  244.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$id) does not match path (cOM/ocnyang/pagetransformerhelp/R$id.class)
  245.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  246.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  247.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  248.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  249.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  250.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  251.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  252.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  253.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  254.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  255.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  256.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  257.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  258.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  259.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  260.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  261.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  262.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  263.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  264.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  265.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  266.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  267.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  268.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  269.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  270.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  271.      at com.android.dx.command.Main.main(Main.java:95)
  272.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$id.class
  273.     PARSE ERROR:
  274.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$integer) does not match path (cOM/ocnyang/pagetransformerhelp/R$integer.class)
  275.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  276.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  277.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  278.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  279.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  280.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  281.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  282.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  283.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  284.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  285.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  286.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  287.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  288.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  289.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  290.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  291.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  292.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  293.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  294.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  295.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  296.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  297.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  298.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  299.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  300.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  301.      at com.android.dx.command.Main.main(Main.java:95)
  302.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$integer.class
  303.     PARSE ERROR:
  304.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$layout) does not match path (cOM/ocnyang/pagetransformerhelp/R$layout.class)
  305.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  306.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  307.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  308.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  309.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  310.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  311.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  312.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  313.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  314.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  315.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  316.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  317.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  318.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  319.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  320.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  321.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  322.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  323.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  324.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  325.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  326.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  327.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  328.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  329.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  330.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  331.      at com.android.dx.command.Main.main(Main.java:95)
  332.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$layout.class
  333.     PARSE ERROR:
  334.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$string) does not match path (cOM/ocnyang/pagetransformerhelp/R$string.class)
  335.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  336.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  337.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  338.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  339.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  340.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  341.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  342.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  343.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  344.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  345.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  346.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  347.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  348.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  349.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  350.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  351.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  352.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  353.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  354.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  355.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  356.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  357.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  358.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  359.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  360.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  361.      at com.android.dx.command.Main.main(Main.java:95)
  362.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$string.class
  363.     PARSE ERROR:
  364.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$style) does not match path (cOM/ocnyang/pagetransformerhelp/R$style.class)
  365.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  366.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  367.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  368.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  369.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  370.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  371.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  372.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  373.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  374.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  375.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  376.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  377.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  378.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  379.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  380.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  381.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  382.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  383.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  384.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  385.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  386.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  387.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  388.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  389.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  390.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  391.      at com.android.dx.command.Main.main(Main.java:95)
  392.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$style.class
  393.     PARSE ERROR:
  394.     com.android.dx.cf.iface.ParseException: class name (com/ocnyang/pagetransformerhelp/R$styleable) does not match path (cOM/ocnyang/pagetransformerhelp/R$styleable.class)
  395.      at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:557)
  396.      at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:434)
  397.      at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:416)
  398.      at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:256)
  399.      at com.android.dx.command.dexer.Main.parseClass(Main.java:773)
  400.      at com.android.dx.command.dexer.Main.access$1600(Main.java:85)
  401.      at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1766)
  402.      at com.android.dx.command.dexer.Main.processClass(Main.java:756)
  403.      at com.android.dx.command.dexer.Main.processFileBytes(Main.java:724)
  404.      at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
  405.      at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1719)
  406.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:169)
  407.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  408.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  409.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  410.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  411.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  412.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  413.      at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
  414.      at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:157)
  415.      at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:143)
  416.      at com.android.dx.command.dexer.Main.processOne(Main.java:678)
  417.      at com.android.dx.command.dexer.Main.processAllFiles(Main.java:575)
  418.      at com.android.dx.command.dexer.Main.runMonoDex(Main.java:310)
  419.      at com.android.dx.command.dexer.Main.runDx(Main.java:288)
  420.      at com.android.dx.command.dexer.Main.main(Main.java:244)
  421.      at com.android.dx.command.Main.main(Main.java:95)
  422.     ...while parsing cOM/ocnyang/pagetransformerhelp/R$styleable.class
  423.     14 errors; aborting
复制代码


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

使用道具 举报

4

主题

79

帖子

868

积分

高级会员

Rank: 4

积分
868
沙发
发表于 2024-5-6 12:04:52 | 只看该作者
遇到过,我记得是放在了不能放的组件布局里面。排除换换父组件
回复

使用道具 举报

25

主题

113

帖子

381

积分

中级会员

Rank: 3Rank: 3

积分
381
板凳
 楼主| 发表于 2024-5-6 12:07:21 | 只看该作者
先生 发表于 2024-5-6 12:04
遇到过,我记得是放在了不能放的组件布局里面。排除换换父组件

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

使用道具 举报

444

主题

1万

帖子

4万

积分

超级版主

Rank: 8Rank: 8

积分
40523
地板
发表于 2024-5-6 13:11:59 | 只看该作者
你想要实现什么效果,详细描述一下,我给你写个小例子。
安卓无障碍实战课:点击查看
交流群:641526939
回复

使用道具 举报

25

主题

113

帖子

381

积分

中级会员

Rank: 3Rank: 3

积分
381
5#
 楼主| 发表于 2024-5-6 14:56:46 | 只看该作者
创世魂 发表于 2024-5-6 13:11
你想要实现什么效果,详细描述一下,我给你写个小例子。

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

使用道具 举报

444

主题

1万

帖子

4万

积分

超级版主

Rank: 8Rank: 8

积分
40523
6#
发表于 2024-5-6 20:11:00 | 只看该作者
你这问题确实没遇到过,那只能你自己想办法解决了。。
安卓无障碍实战课:点击查看
交流群:641526939
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|递归火山软件开发平台 ( 鄂ICP备18029190号 )

GMT+8, 2024-11-23 13:14 , Processed in 0.089128 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表