掌上百科 - PDAWIKI

 找回密码
 免费注册

QQ登录

只需一步,快速开始

查看: 1790|回复: 13

[问题反馈] MDict Android compile错误

[复制链接]

该用户从未签到

发表于 2013-6-20 16:56:14 | 显示全部楼层 |阅读模式
我到bitbucket下载了MDict Android的源码并使用IntelliJ IDEA 12 Community Edition打开。我没有对源码做出任何修改,但当我尝试run或debug时却出现以下的错误讯息:
  1. Information:Using javac 1.7.0_25 to compile java sources
    ) U1 W$ H/ d4 {0 s) s, ^
  2. Information:java: Errors occurred while compiling module 'library'
    3 e* B+ T; [1 S( l5 k. ^% I" q  ]" Y
  3. Information:Compilation completed with 13 errors and 0 warnings in 7 sec7 }) G3 ]2 E" I6 z7 k# W
  4. Information:13 errors8 c% ]. b3 W5 T  L9 o# B
  5. Information:0 warnings0 B7 X8 B" D5 y) {; b6 O. v' v) r% C
  6. C:\Users\Downloads\mdict_source\raymanzhang-mdict-android-opensource-e278ebbc7541\library\actionbar-sherlock\library\test\com\actionbarsherlock\internal\ManifestParsingTest.java( B- C+ |2 t( p
  7.     Error:Error:line (3)java: package org.junit does not exist
    ' y3 }1 C# A6 t4 E6 }/ A0 E' E3 t( k
  8.     Error:Error:line (6)java: package org.hamcrest does not exist8 N0 {" N; R8 r3 k+ W2 C* m  o
  9.     Error:Error:line (6)java: static import only from classes and interfaces
    ) n# o7 C! ]" Z9 M5 h  K- ?
  10.     Error:Error:line (7)java: package org.junit does not exist
    / k' R4 [" b- j( D: J% w  U& S
  11.     Error:Error:line (7)java: static import only from classes and interfaces
    ' V+ s! a' v8 [+ t
  12.     Error:Error:line (10)java: cannot find symbol* {# x0 R! p$ y4 W; L
  13.   symbol:   class Test! q! h( \$ L1 ~" d# F
  14.   location: class com.actionbarsherlock.internal.ManifestParsingTest
    / @! p- q- Y' z; }
  15.     Error:Error:line (17)java: cannot find symbol$ J7 F! Q/ @  X
  16.   symbol:   class Test3 _$ ?$ M2 a/ V) R: t  n
  17.   location: class com.actionbarsherlock.internal.ManifestParsingTest) Q& D7 F* i. }/ n. Y2 I
  18.     Error:Error:line (24)java: cannot find symbol  M& z( m- E- ^0 [
  19.   symbol:   class Test( Q1 C9 X- I/ M/ H& }
  20.   location: class com.actionbarsherlock.internal.ManifestParsingTest# d7 X: y3 R, L+ L6 |  M$ s/ C: `
  21.     Error:Error:line (31)java: cannot find symbol
      K2 ~  u1 R7 J7 D. `
  22.   symbol:   class Test; W, [- |7 \; {' Q, O$ P
  23.   location: class com.actionbarsherlock.internal.ManifestParsingTest
    & u; i( S& p( H0 x* }1 K: @$ O
  24.     Error:Error:line (14)java: cannot find symbol
    2 ^' O2 {0 V5 Z" ^
  25.   symbol:   method equalTo(java.lang.String); _# d* N4 x6 I! b
  26.   location: class com.actionbarsherlock.internal.ManifestParsingTest
    4 A+ O* o6 L  j, i
  27.     Error:Error:line (21)java: cannot find symbol5 H! n* ~! E  C; k4 f/ H) {5 ]
  28.   symbol:   method equalTo(java.lang.String)
    / I9 H" m+ E. z' _2 s# q2 i4 C, p
  29.   location: class com.actionbarsherlock.internal.ManifestParsingTest% N, c: k( N( Q8 o+ O
  30.     Error:Error:line (28)java: cannot find symbol
    ' Q, u2 I) g2 h1 `" n
  31.   symbol:   method equalTo(java.lang.String): o+ m4 w; K: J% ?) a
  32.   location: class com.actionbarsherlock.internal.ManifestParsingTest* \- X) R+ W! h& t, T" f/ X. e5 p  p
  33.     Error:Error:line (35)java: cannot find symbol! y" Q  @3 K5 Q& I
  34.   symbol:   method equalTo(java.lang.String)$ ?' L' U9 Q# ~! |
  35.   location: class com.actionbarsherlock.internal.ManifestParsingTest
复制代码
请问问题是出现在哪里呢?我是Android程序开发菜鸟,请多多指教。
  • TA的每日心情
    开心
    昨天 08:00
  • 签到天数: 1936 天

    [LV.Master]伴坛终老

    发表于 2013-6-21 14:44:28 | 显示全部楼层
    R大说是要用android stdio编译

    该用户从未签到

     楼主| 发表于 2013-6-21 15:13:53 | 显示全部楼层
    可是在 bitbucket.org/raymanzhang/mdict-android-opensource 网站上说明:You need IntelliJ IDEA to open and build the project.: H3 x% d0 y5 ^9 f# P* m' C

    3 b/ B3 t- c7 B$ kAndroid Studio是根据IntelliJ IDEA,而且现在它的正式版也还没有发布。

    该用户从未签到

     楼主| 发表于 2013-6-30 16:48:31 | 显示全部楼层
    没有人懂吗?到底要怎样才能正确编译?

    该用户从未签到

    发表于 2013-6-30 17:06:40 | 显示全部楼层
    检查一下你有没有下载安装Android4.0.3的SDK

    该用户从未签到

     楼主| 发表于 2013-6-30 19:18:17 | 显示全部楼层
    检查一下你有没有下载安装Android4.0.3的SDK
    ) [, Y4 a  e' @. @7 a0 Kglacierlee 发表于 2013-6-30 17:06

    ( |7 K) I7 @7 N9 wJava 和 Android 的 SDK 都有。不过根据 log,视乎我没有一些package。应该到哪里获取它们?
    1.     Error:Error:line (3)java: package org.junit does not exist
      " {, O4 a9 x% `* B+ t
    2.     Error:Error:line (6)java: package org.hamcrest does not exist
      2 d1 I2 g/ H. }/ W% S9 I
    3.     Error:Error:line (6)java: static import only from classes and interfaces
      6 V1 a$ X+ {" t2 \9 K+ C& g, M# L
    4.     Error:Error:line (7)java: package org.junit does not exist
      - B" K$ j/ w' h2 F
    5.     Error:Error:line (7)java: static import only from classes and interfaces; a; q4 A' D( e* B
    6.     Error:Error:line (10)java: cannot find symbol
    复制代码

    该用户从未签到

    发表于 2013-7-1 11:58:21 | 显示全部楼层
    我自己现在都是在用Andriod Studio进行开发,可以直接打开现在的项目进行开发的。看样子像是ActionbarSherlock那个模块里一些test代码被加到的项目里了。你可以去掉的。

    该用户从未签到

     楼主| 发表于 2013-7-1 13:38:55 | 显示全部楼层
    我自己现在都是在用Andriod Studio进行开发,可以直接打开现在的项目进行开发的。看样子像是ActionbarSherlock那个模块里一些test代码被加到的项目里了。你可以去掉的。
    0 s: [0 W. H; srayman 发表于 2013-7-1 11:58

    / T. i3 c+ {; Q5 I% kRayman大大终于出现了!. b7 S& h  G5 |) l
    这次我使用Android Studio,同时我把actionbarsherlock的整个test删除了,但却得到这个错误讯息:
    1. Information:Compilation completed with 100 errors and 17 warnings in 4 sec
      2 f0 c. u* {% A: ^. L  Q! m
    2. Information:100 errors
      ! m- W$ u* Z3 D( m6 o6 D& L
    3. Information:17 warnings$ a: i! ?1 \$ A. Y* o+ J) ?
    4. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock-fest\src\main\java\org\fest\assertions\api\com\actionbarsherlock\view\MenuAssert.java
      ' y6 K4 @5 i0 z" t* e
    5.     Error:Error:line (4)error: cannot find symbol class AbstractAssert; G& z( L0 d, z8 L6 ?
    6.     Error:Error:line (5)error: cannot find symbol class Assertions. l" i1 H/ ^5 E: t; o7 g
    7.     Error:Error:line (7)error: cannot find symbol class Assertions3 m6 O4 C( Q6 w
    8.     Error:Error:line (7)error: static import only from classes and interfaces
      7 f( F8 X, [: v7 s
    9.     Error:Error:line (10)error: cannot find symbol class AbstractAssert
      4 p9 ^  ~$ C5 i$ }5 t. y
    10.     Error:Error:line (16)error: cannot find symbol method isNotNull()
      , s: f) u0 z6 F: s/ P0 G3 X! U
    11.     Error:Error:line (17)error: cannot find symbol variable actual1 N- o0 M" w+ U  ]' X- N
    12.     Error:Error:line (24)error: cannot find symbol method isNotNull()
      0 C2 Y5 @8 o+ g  F
    13.     Error:Error:line (25)error: cannot find symbol variable actual# l3 Z$ g3 T+ \# j2 `# M3 `
    14.     Error:Error:line (32)error: cannot find symbol method isNotNull()( ]9 f1 j6 F5 ^7 L- C, y6 b
    15.     Error:Error:line (33)error: cannot find symbol variable actual
      & @/ e, R9 U! z# v4 t
    16.     Error:Error:line (33)error: cannot find symbol variable Assertions/ ^! k+ m4 V  Q3 S4 p
    17.     Error:Error:line (40)error: cannot find symbol method isNotNull()
      9 H8 {  q  a0 `# A; P! B; N
    18.     Error:Error:line (41)error: cannot find symbol variable actual! S# ]9 o+ {3 f8 {% ?6 x* A2 W
    19.     Error:Error:line (41)error: cannot find symbol variable Assertions
      7 s1 V# B6 }: H+ ^# [! z& i
    20.     Error:Error:line (48)error: cannot find symbol method isNotNull()& G6 w$ ]& d" J5 X0 P7 J4 F
    21.     Error:Error:line (49)error: cannot find symbol variable actual
      $ `+ ^' `, W1 l4 p4 c0 _1 v
    22.     Error:Error:line (50)error: cannot find symbol variable Assertions1 K+ E* G9 S  v% d1 e. z! o! e
    23. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock-fest\src\main\java\org\fest\assertions\api\com\actionbarsherlock\view\MenuItemAssert.java
      1 d+ P# {* Y! ?. H( ~/ d* D
    24.     Error:Error:line (7)error: cannot find symbol class AbstractAssert6 |! a9 k  b3 P' D2 T' t
    25.     Error:Error:line (9)error: cannot find symbol class Assertions
      5 F1 C7 Z9 x% n) S" f) u6 }7 ?" F) L
    26.     Error:Error:line (9)error: static import only from classes and interfaces
      & W7 M# k- B4 U# i: @- f
    27.     Error:Error:line (12)error: cannot find symbol class AbstractAssert
      1 M) m, K0 y& ]9 \+ C- E9 i
    28.     Error:Error:line (18)error: cannot find symbol method isNotNull()
      : S- x4 }, i+ L) I
    29.     Error:Error:line (19)error: cannot find symbol variable actual: [1 @- ^0 [( y! [5 U" U; F! f' a
    30.     Error:Error:line (20)error: cannot find symbol method assertThat(View)6 ^! T6 ?9 \' @4 Q, G, ~
    31.     Error:Error:line (27)error: cannot find symbol method isNotNull()
        ?0 C8 L. l" Y" ]* m
    32.     Error:Error:line (28)error: cannot find symbol variable actual
      6 d8 C/ j8 t/ [+ l
    33.     Error:Error:line (29)error: cannot find symbol method assertThat(char)
        D+ u+ B/ V3 ^7 H0 N% G3 V: q
    34.     Error:Error:line (37)error: cannot find symbol method isNotNull()
      1 u. q: U/ p' d# {
    35.     Error:Error:line (38)error: cannot find symbol variable actual
      2 y2 Z  S; y4 J
    36.     Error:Error:line (39)error: cannot find symbol method assertThat(int)
      5 A& i4 q- V5 O5 n* O: \
    37.     Error:Error:line (46)error: cannot find symbol method isNotNull()" x# g7 M3 D4 ]4 I' z( G: c1 E
    38.     Error:Error:line (47)error: cannot find symbol variable actual3 i- j5 f# d4 K+ F" M
    39.     Error:Error:line (48)error: cannot find symbol method assertThat(Drawable)# h/ g  N; {, X/ I7 S- M  p* _
    40.     Error:Error:line (55)error: cannot find symbol method isNotNull()
      5 F, F. i. |  D3 U" E% C: z; o
    41.     Error:Error:line (56)error: cannot find symbol variable actual, _' I# i; j) b9 q0 i
    42.     Error:Error:line (57)error: cannot find symbol method assertThat(Intent)* m0 n# p; t1 c+ v$ ^
    43.     Error:Error:line (64)error: cannot find symbol method isNotNull()
        w! d7 D3 z2 h9 l3 ]
    44.     Error:Error:line (65)error: cannot find symbol variable actual- q$ R+ h) D% m4 Q) d. C0 c* [
    45.     Error:Error:line (66)error: cannot find symbol method assertThat(int)
      ' L3 E$ y5 L& Y: k1 y
    46.     Error:Error:line (73)error: cannot find symbol method isNotNull()( O" g" ?2 R; H  D, H
    47.     Error:Error:line (74)error: cannot find symbol variable actual
      5 ^' q- c3 S+ _4 Q  {5 W0 e
    48.     Error:Error:line (75)error: cannot find symbol method assertThat(char)
      % Z( ~- L3 h, J% }5 O7 V4 [
    49.     Error:Error:line (83)error: cannot find symbol method isNotNull()
      : i' F7 s9 J4 U9 F  L' H
    50.     Error:Error:line (84)error: cannot find symbol variable actual6 V8 q, @. s. ~  _* v' k0 A& H
    51.     Error:Error:line (85)error: cannot find symbol method assertThat(int)
      ' i' l! j& _$ O& ?, i
    52.     Error:Error:line (92)error: cannot find symbol method isNotNull()) V3 w' m: ?: C/ K0 Y
    53.     Error:Error:line (93)error: cannot find symbol variable actual# @( S$ z! {( r
    54.     Error:Error:line (94)error: cannot find symbol method assertThat(CharSequence)
      4 Z- ?+ e4 U3 B) k- B
    55.     Error:Error:line (101)error: cannot find symbol method isNotNull()
        Q* M# D2 D: h: G3 i1 h$ c* g. S
    56.     Error:Error:line (102)error: cannot find symbol variable actual: J5 M$ s. c# A8 v* M, V
    57.     Error:Error:line (103)error: cannot find symbol method assertThat(CharSequence), K! e- U9 ~2 |  u! |$ J6 `
    58.     Error:Error:line (111)error: cannot find symbol method isNotNull()! f( V- M+ W6 X" @
    59.     Error:Error:line (112)error: cannot find symbol variable actual
        o3 s/ T$ s1 r. v. x
    60.     Error:Error:line (119)error: cannot find symbol method isNotNull()7 W% p. }3 g  }5 F2 m2 ?% R/ `' |5 U
    61.     Error:Error:line (120)error: cannot find symbol variable actual
      6 U$ E3 j4 J9 u& |% u
    62.     Error:Error:line (127)error: cannot find symbol method isNotNull()
      2 k, h" U. p7 V2 s8 S7 T: z
    63.     Error:Error:line (128)error: cannot find symbol variable actual5 G+ `) K# ~- T1 O! c% {
    64.     Error:Error:line (135)error: cannot find symbol method isNotNull()6 M3 D: C3 e2 x" D9 M* |
    65.     Error:Error:line (136)error: cannot find symbol variable actual
      % ?8 ^  Q3 q! u8 H+ n- @" c
    66.     Error:Error:line (143)error: cannot find symbol method isNotNull()8 O3 u! i! U- X8 D
    67.     Error:Error:line (144)error: cannot find symbol variable actual
      8 R1 H6 w1 G" \) y! r8 N
    68.     Error:Error:line (151)error: cannot find symbol method isNotNull()
      1 S1 R3 ]# I4 K- ?) b' [1 v
    69.     Error:Error:line (152)error: cannot find symbol variable actual
      ; h% S6 h7 l5 g
    70.     Error:Error:line (159)error: cannot find symbol method isNotNull()
      5 x6 e4 p, w0 A+ W9 G' C) ]$ I* W
    71.     Error:Error:line (160)error: cannot find symbol variable actual2 K9 r$ J) Q/ g- z) }1 w/ A
    72.     Error:Error:line (167)error: cannot find symbol method isNotNull()
      , o+ ]& v: x8 \/ s, d
    73.     Error:Error:line (168)error: cannot find symbol variable actual/ W! P* D" p8 E: s+ h# A
    74.     Error:Error:line (175)error: cannot find symbol method isNotNull()8 P9 u* f$ c  }/ E
    75.     Error:Error:line (176)error: cannot find symbol variable actual
      2 k; J2 x% t! t9 R$ T
    76.     Error:Error:line (183)error: cannot find symbol method isNotNull()
      $ |8 {3 W. a8 z. _
    77.     Error:Error:line (184)error: cannot find symbol variable actual! q- q; B; C. C8 H8 h
    78.     Error:Error:line (191)error: cannot find symbol method isNotNull()
      + W6 Z0 I- V0 c& I5 R$ w
    79.     Error:Error:line (192)error: cannot find symbol variable actual
      ! A+ X( ]! {  Q1 F: C: X4 ?3 C
    80.     Error:Error:line (199)error: cannot find symbol method isNotNull()4 Q1 w3 |3 s, N. N4 h
    81.     Error:Error:line (200)error: cannot find symbol variable actual2 H0 u; k+ u0 i3 a- ^1 C
    82. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock-fest\src\main\java\org\fest\assertions\api\com\actionbarsherlock\app\ActionBarAssert.java
      7 f; W+ u2 H9 N/ N$ f* v
    83.     Error:Error:line (4)error: package org.fest.assertions.api.android does not exist1 u  e5 Y, N. N6 z; D6 I2 u& M( g/ x
    84.     Error:Error:line (7)error: cannot find symbol class AbstractAssert
      ) [) u. ?) }: Z  M5 L
    85.     Error:Error:line (17)error: cannot find symbol class Assertions9 ^- [( e  q2 x/ b: N- e$ T
    86.     Error:Error:line (17)error: static import only from classes and interfaces
      8 Q- o, J! A+ _% k3 w8 C
    87.     Error:Error:line (20)error: cannot find symbol class AbstractAssert
      0 T" ^) v2 B( ?5 d6 k9 K7 |- N
    88.     Error:Error:line (26)error: cannot find symbol method isNotNull()# A1 T4 C5 F! {: T9 h& }" |
    89.     Error:Error:line (27)error: cannot find symbol variable actual. o4 Z. O5 ?/ U. z
    90.     Error:Error:line (28)error: cannot find symbol method assertThat(int)7 b, Z8 a2 P4 c1 k( m0 f
    91.     Error:Error:line (36)error: cannot find symbol method isNotNull()( S6 p9 R- ~4 G
    92.     Error:Error:line (37)error: cannot find symbol variable actual8 g1 j! [' L7 f
    93.     Error:Error:line (38)error: cannot find symbol method assertThat(int)3 R1 h$ H( ?, z8 `
    94.     Error:Error:line (45)error: cannot find symbol method isNotNull()
      . V8 z* {: i4 R1 N) J! K
    95.     Error:Error:line (46)error: cannot find symbol variable actual, ?2 i, U" @" g" \4 c+ A- E
    96.     Error:Error:line (47)error: cannot find symbol method assertThat(int)
      : U( P8 m  e, N2 P$ Y8 p3 O
    97.     Error:Error:line (54)error: cannot find symbol method isNotNull()- h0 g( I& r/ s! ?" p& b+ S0 S; w; H
    98.     Error:Error:line (55)error: cannot find symbol variable actual4 a/ s( _. W9 z8 Q5 _" q
    99.     Error:Error:line (56)error: cannot find symbol method assertThat(int)
      9 q4 B5 W( H3 h, F  F; r& q! U& q
    100.     Error:Error:line (64)error: cannot find symbol method isNotNull()
      , V* u* K7 @& @4 b3 G3 z
    101.     Error:Error:line (65)error: cannot find symbol variable actual
      3 h* F( X+ B0 G) g* T& Z7 @
    102.     Error:Error:line (66)error: cannot find symbol method assertThat(int)
      9 `( K& A( W8 E% ~/ S
    103. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock-fest\src\main\java\org\fest\assertions\api\com\actionbarsherlock\view\ActionModeAssert.java
      4 e5 y, ?& I/ ~: r/ V" `" {  D
    104.     Error:Error:line (5)error: cannot find symbol class AbstractAssert! O8 h# w2 I+ w: ~( H1 K9 D
    105.     Error:Error:line (7)error: cannot find symbol class Assertions
      % \3 B6 e6 D) I5 q$ {% _
    106.     Error:Error:line (7)error: static import only from classes and interfaces
      ! I  K6 d% a0 d$ K  o. @: z, U
    107.     Error:Error:line (10)error: cannot find symbol class AbstractAssert
      " v& }0 U" k7 ?& }0 ^6 }& m: w
    108. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\ActionBarContextView.java9 K( m) v  x% w
    109.     Warning:Warning:line (81)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      , Z# t& d  L% H- k* D/ N8 F
    110.     Warning:Warning:line (115)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated; ~3 \1 r9 M" m/ B* V2 y/ ^2 v- U. h
    111.     Warning:Warning:line (129)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated8 Z; E2 I6 L, M! P; d1 G% F
    112.     Warning:Warning:line (231)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated1 O. m" E9 [# {2 ]& k7 P
    113.     Warning:Warning:line (244)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated9 r* }( Y$ s3 b, {, s  _' x
    114. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\view\menu\MenuPopupHelper.java
      9 C# G6 J: W$ p! |: P
    115.     Warning:Warning:line (145)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated
      + g6 @- k. b) b
    116.     Warning:Warning:line (216)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated1 z: N, Z7 k/ g6 t! ~" h5 }
    117. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\ActionBarContainer.java6 e) Z( J' _2 T
    118.     Warning:Warning:line (56)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      ; g9 d- @9 I8 B  x7 i/ y3 N
    119. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\app\ActionBar.java
      / g% a) ]# V) ~4 l* l% S- G
    120.     Warning:Warning:line (943)[deprecation] FILL_PARENT in LayoutParams has been deprecated
      / Y. o/ H2 m& r: B* Z0 \/ Y! i
    121. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\ScrollingTabContainerView.java0 _! ]5 r6 s9 c
    122.     Warning:Warning:line (280)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      9 ]: f9 j" e4 v5 _# ]( m. f
    123. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\IcsProgressBar.java  W* R$ R( e. Y( Y0 ^1 h" M- T
    124.     Warning:Warning:line (207)[deprecation] animationResolution in attr has been deprecated
      7 u# R9 p/ n" [. p) }$ h4 u
    125. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\widget\ActivityChooserView.java$ c' d! k0 ~" `; n0 C$ z# r9 Z
    126.     Warning:Warning:line (378)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated
      % X8 V( a2 m$ Z- T' I) [/ n, d5 a0 r7 [
    127.     Warning:Warning:line (420)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated3 z  \4 {; Y& N& \& d- r- p1 u
    128.     Warning:Warning:line (537)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      7 r* `9 ~7 {& G- j4 p: Q/ O9 u
    129.     Warning:Warning:line (539)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated9 o) M; R# S; M# S' t" h
    130. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\view\menu\ListMenuItemView.java
      ; I- D, y, \8 M. E# Q) }2 `, j
    131.     Warning:Warning:line (86)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated" U5 F- {5 s% I0 Z* _. J
    132. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\view\ActionProviderWrapper.java5 `5 z7 j6 P1 X
    133.     Warning:Warning:line (22)[deprecation] onCreateActionView() in ActionProvider has been deprecated
    复制代码

    该用户从未签到

    发表于 2013-7-1 15:42:57 | 显示全部楼层
    不用删掉文件,只是在模块设置里把test目录从源代码目录中删掉。

    该用户从未签到

     楼主| 发表于 2013-7-2 20:33:17 | 显示全部楼层
    不用删掉文件,只是在模块设置里把test目录从源代码目录中删掉。
    * Q3 Z. b4 }  `$ y2 k; Rrayman 发表于 2013-7-1 15:42

    ! i0 _% J! S* w: ~抱歉,我这个菜鸟不明白。可不可以请你告诉我详细的步骤?

    该用户从未签到

    发表于 2013-7-2 22:34:21 | 显示全部楼层
    Project Setting->Modules->ActionbarSherlock->Source

    该用户从未签到

     楼主| 发表于 2013-7-3 08:07:38 | 显示全部楼层
    Project Setting->Modules->ActionbarSherlock->Source
    5 P0 w6 q! c* o) A* b/ _% ]rayman 发表于 2013-7-2 22:34
      [7 S9 I5 [+ c" m/ P
    Project setting是到.idea > modules.xml对吗?- y7 W: m' {6 a: w3 O9 J
    这是它的source,但我没有看到test。
    1. <?xml version="1.0" encoding="UTF-8"?>
      , i3 q1 \6 g) d+ @5 u+ x! N/ Y
    2. <project version="4">
      1 I0 m! q1 g! y
    3.   <component name="ProjectModuleManager">7 u2 N! v2 y4 z& x* E* e& k3 ~* f
    4.     <modules>
      ! T, G* q) t7 j- P
    5.       <module fileurl="file://$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock/actionbarsherlock.iml" filepath="$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock/actionbarsherlock.iml" />
      9 p4 Y! b5 s  p$ N5 |! i
    6.       <module fileurl="file://$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-samples/demos/demos.iml" filepath="$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-samples/demos/demos.iml" />
      4 Z( @- V% l2 `$ b. i6 B/ {4 q0 W/ h
    7.       <module fileurl="file://$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-samples/fragments/fragments.iml" filepath="$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-samples/fragments/fragments.iml" />
      ( ~% w8 W; V4 M: O
    8.       <module fileurl="file://$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-samples/known-bugs/known-bugs.iml" filepath="$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-samples/known-bugs/known-bugs.iml" />4 q! _# c# C3 c3 |( k' q0 @- H
    9.       <module fileurl="file://$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-fest/src/main/main.iml" filepath="$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-fest/src/main/main.iml" />7 q! l& M! _9 Q
    10.       <module fileurl="file://$PROJECT_DIR$/raymanzhang-mdict.iml" filepath="$PROJECT_DIR$/raymanzhang-mdict.iml" />; ]! U; a0 [6 K0 X/ C7 D: f0 T
    11.       <module fileurl="file://$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-samples/roboguice/roboguice.iml" filepath="$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-samples/roboguice/roboguice.iml" />
      # P! C- P( I" p: T, G$ n8 j
    12.       <module fileurl="file://$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-samples/styled/styled.iml" filepath="$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock-samples/styled/styled.iml" />
      2 V; E8 v1 i! ^
    13.     </modules>! b& L1 Y$ e+ k( F" {( u7 T9 g3 `
    14.   </component>
      + E, K. p9 B) f' r: A
    15. </project>
    复制代码

    该用户从未签到

    发表于 2013-7-3 20:54:27 | 显示全部楼层
    不知道的项目里为什么生成那么多的无用内容,只需要library/actionbar-sherlock/actionbarsherlock目录下这个模块即可。另外我的项目文件里原本有对应的模块的项目设置的。

    该用户从未签到

     楼主| 发表于 2013-7-4 20:16:06 | 显示全部楼层
    真不好意思,我还是不知道该怎么做。算了吧,我暂时把它放在一边。让我学了更深入的Android编程后才到回来。  i. o  p- g& a$ U
    谢谢Rayman.
    您需要登录后才可以回帖 登录 | 免费注册

    本版积分规则

    小黑屋|手机版|Archiver|PDAWIKI |网站地图

    GMT+8, 2024-5-17 00:54 , Processed in 0.052967 second(s), 12 queries , MemCache On.

    Powered by Discuz! X3.4

    Copyright © 2001-2023, Tencent Cloud.

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