V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
jmania
V2EX  ›  问与答

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

  •  
  •   jmania · Dec 2, 2014 · 2626 views
    This topic created in 4176 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   ·   3206 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 10:56 · PVG 18:56 · LAX 03:56 · JFK 06:56
    ♥ Do have faith in what you're doing.