jmania
V2EX  ›  问与答

之前一直用的 ADT 开发,现在转到 android studio,但是之前一个项目报错了

  •  
  •   jmania · Dec 2, 2014 · 2664 views
    This topic created in 4197 days ago, the information mentioned may be changed or developed.
    都是些 layout 里的 xml 文件
    Error:(8) No resource identifier found for attribute 'orientation' in package 'cn.***.***'
    好像是不支持这些自定义的属性
    如何解决?
    4 replies    2014-12-02 11:36:31 +08:00
    keithellis
        1
    keithellis  
       Dec 2, 2014
    besto
        2
    besto  
       Dec 2, 2014
    考虑一下package名字对不对,是AndroidManifest.xml里面定的。
    jmania
        3
    jmania  
    OP
       Dec 2, 2014
    @keithellis
    @besto
    我是直接导入 jar 的看来不行
    keithellis
        4
    keithellis  
       Dec 2, 2014
    用最新的 SDK Tools 导出 Library Project 为 jar 试试。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2577 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:42 · PVG 19:42 · LAX 04:42 · JFK 07:42
    ♥ Do have faith in what you're doing.