掌上百科 - PDAWIKI

 找回密码
 免费注册

QQ登录

只需一步,快速开始

查看: 2052|回复: 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
    * ^. B. U. d: _! }
  2. Information:java: Errors occurred while compiling module 'library'
    : s# [$ q- [6 f8 ~# l# R, Y
  3. Information:Compilation completed with 13 errors and 0 warnings in 7 sec
    " h  P* p- c# V6 l9 U2 v! |
  4. Information:13 errors
    ! x: H% N/ ~3 O3 B- P# C2 d
  5. Information:0 warnings, I' _+ g# L7 O* B
  6. C:\Users\Downloads\mdict_source\raymanzhang-mdict-android-opensource-e278ebbc7541\library\actionbar-sherlock\library\test\com\actionbarsherlock\internal\ManifestParsingTest.java
    7 X9 H( S8 R+ Z# o
  7.     Error:Error:line (3)java: package org.junit does not exist+ Y& |3 |; Z: v9 c% ^  b$ O
  8.     Error:Error:line (6)java: package org.hamcrest does not exist4 A/ q& j- p, v8 G# O3 H
  9.     Error:Error:line (6)java: static import only from classes and interfaces& d9 N2 b: H9 i. F# {5 m6 C
  10.     Error:Error:line (7)java: package org.junit does not exist8 q8 S) U, l- t, L9 A
  11.     Error:Error:line (7)java: static import only from classes and interfaces
    2 G3 Y* E: R7 ?7 G: z
  12.     Error:Error:line (10)java: cannot find symbol
    . }  I! n1 k" U/ m
  13.   symbol:   class Test$ n9 o( ~& X* N! w) T; K7 [: H
  14.   location: class com.actionbarsherlock.internal.ManifestParsingTest/ ?3 q) R+ W, S3 P% m" q% s
  15.     Error:Error:line (17)java: cannot find symbol" ]1 }6 l. t( G: ]; d
  16.   symbol:   class Test
    5 ^' d# E, M. j  C" H
  17.   location: class com.actionbarsherlock.internal.ManifestParsingTest
    $ f: ]1 e" w. F8 V% q
  18.     Error:Error:line (24)java: cannot find symbol
    7 m; T% b" X5 i" S* y8 r6 ?9 o
  19.   symbol:   class Test2 N( e9 j. O, N7 H. S6 U
  20.   location: class com.actionbarsherlock.internal.ManifestParsingTest
    8 M5 z! {; `$ g
  21.     Error:Error:line (31)java: cannot find symbol
    5 k# v! r- t+ ]$ N
  22.   symbol:   class Test
    & L1 ]( ~" ]. A* y% R
  23.   location: class com.actionbarsherlock.internal.ManifestParsingTest% x; @0 i2 r% C% D; m! w9 d
  24.     Error:Error:line (14)java: cannot find symbol: ^" p" [6 O3 }0 H7 U7 G# B
  25.   symbol:   method equalTo(java.lang.String)
    8 d5 e5 ?* r3 A" N
  26.   location: class com.actionbarsherlock.internal.ManifestParsingTest0 }# u0 |! G2 a. s  q
  27.     Error:Error:line (21)java: cannot find symbol3 X& N  `1 A( {" K! S% f
  28.   symbol:   method equalTo(java.lang.String)
    / A0 s$ ?; N% T" b$ c9 J
  29.   location: class com.actionbarsherlock.internal.ManifestParsingTest+ g0 ^. F8 S- H+ R9 ?
  30.     Error:Error:line (28)java: cannot find symbol
    8 e; y+ c, d  I% d% J4 m! G* {* I
  31.   symbol:   method equalTo(java.lang.String)" n0 Q& n2 H# h
  32.   location: class com.actionbarsherlock.internal.ManifestParsingTest
    & U! C5 Z5 e# [: x! t/ r
  33.     Error:Error:line (35)java: cannot find symbol
    4 O9 F7 D& s- C" G- l
  34.   symbol:   method equalTo(java.lang.String): Z9 c" k+ U2 z/ V/ \& G
  35.   location: class com.actionbarsherlock.internal.ManifestParsingTest
复制代码
请问问题是出现在哪里呢?我是Android程序开发菜鸟,请多多指教。
  • TA的每日心情
    开心
    12 小时前
  • 签到天数: 2258 天

    [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.9 {  V1 E( w& g$ x
    ) u$ H% v: [  c, S! D/ T
    Android 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: s4 f& l2 l6 H) Q& x1 w
    glacierlee 发表于 2013-6-30 17:06

    1 E7 t' {5 g" {* n: o8 N. rJava 和 Android 的 SDK 都有。不过根据 log,视乎我没有一些package。应该到哪里获取它们?
    1.     Error:Error:line (3)java: package org.junit does not exist
      ; e4 j; A' t+ [5 n: p# o1 A2 z
    2.     Error:Error:line (6)java: package org.hamcrest does not exist
      1 u$ r' U$ x" J1 d* Q% U
    3.     Error:Error:line (6)java: static import only from classes and interfaces
      9 R/ i3 y+ p. }& O- O
    4.     Error:Error:line (7)java: package org.junit does not exist0 B1 w- e) `" p0 S
    5.     Error:Error:line (7)java: static import only from classes and interfaces
      : p* |0 [7 {$ J* Y$ w/ m
    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代码被加到的项目里了。你可以去掉的。
    ; q# g8 E. [0 d' _rayman 发表于 2013-7-1 11:58
    ; {4 u/ V/ w0 @6 @8 i
    Rayman大大终于出现了!- ], Q- E6 E, o. ^9 N4 o
    这次我使用Android Studio,同时我把actionbarsherlock的整个test删除了,但却得到这个错误讯息:
    1. Information:Compilation completed with 100 errors and 17 warnings in 4 sec
      2 `' X7 @+ \/ ~' f$ y1 J/ @
    2. Information:100 errors
      4 t; ^5 D0 B0 p8 n& k3 k$ j
    3. Information:17 warnings
      , T% J" X/ _7 x) o
    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
      / }* E( I" C2 A9 j. P
    5.     Error:Error:line (4)error: cannot find symbol class AbstractAssert
      % P! [7 X9 L+ O4 x' @& w% W6 f
    6.     Error:Error:line (5)error: cannot find symbol class Assertions
      + s! |" C4 ~3 l4 [* d8 Q/ @, w
    7.     Error:Error:line (7)error: cannot find symbol class Assertions; }9 z2 d, e8 W) s1 ]* \3 z
    8.     Error:Error:line (7)error: static import only from classes and interfaces
      - I) G( A/ X: i9 L% T# Y: j
    9.     Error:Error:line (10)error: cannot find symbol class AbstractAssert
      / z! G7 |& ], W. }9 P3 Z9 D1 \8 O+ T
    10.     Error:Error:line (16)error: cannot find symbol method isNotNull()6 Q0 H1 ~' ^. L7 s; P( P& r
    11.     Error:Error:line (17)error: cannot find symbol variable actual
      . Z, w, m# q1 u. @/ C
    12.     Error:Error:line (24)error: cannot find symbol method isNotNull()) s2 a" M6 N/ {( R- V0 y
    13.     Error:Error:line (25)error: cannot find symbol variable actual; a. |1 X4 m6 X. W, X$ x+ I- ?
    14.     Error:Error:line (32)error: cannot find symbol method isNotNull()
      - F& B/ u1 y2 ]/ Z; f% x
    15.     Error:Error:line (33)error: cannot find symbol variable actual
      ( j. P9 c- [; n- m0 O' L% q
    16.     Error:Error:line (33)error: cannot find symbol variable Assertions
      4 o/ ]3 I& U0 z* H9 O8 K% S
    17.     Error:Error:line (40)error: cannot find symbol method isNotNull()- Q. e: b0 ~5 q6 t" Q* |4 o+ b
    18.     Error:Error:line (41)error: cannot find symbol variable actual
      ' Y' l+ |1 e6 }3 m) J& M
    19.     Error:Error:line (41)error: cannot find symbol variable Assertions3 Y; X% r) m0 _- j( @9 d
    20.     Error:Error:line (48)error: cannot find symbol method isNotNull()
      4 A3 H4 Q% s' m* {
    21.     Error:Error:line (49)error: cannot find symbol variable actual& K/ f$ U+ t* Q! r7 s+ a
    22.     Error:Error:line (50)error: cannot find symbol variable Assertions
      6 W+ O- N+ s$ v  o2 p
    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
      8 H9 {) a$ ?: {' b
    24.     Error:Error:line (7)error: cannot find symbol class AbstractAssert
      1 c% [+ w; u& x5 V& v8 j# `
    25.     Error:Error:line (9)error: cannot find symbol class Assertions3 H9 j; L2 v+ G! D+ w
    26.     Error:Error:line (9)error: static import only from classes and interfaces( n4 D0 k& d9 B$ P
    27.     Error:Error:line (12)error: cannot find symbol class AbstractAssert
      7 J- b/ D0 c' ]: D" n
    28.     Error:Error:line (18)error: cannot find symbol method isNotNull()# s( v- P4 X% ~- H, _+ q
    29.     Error:Error:line (19)error: cannot find symbol variable actual! f* n# C2 p1 I! A+ T& U
    30.     Error:Error:line (20)error: cannot find symbol method assertThat(View)! H2 V( z2 I3 B# |- r
    31.     Error:Error:line (27)error: cannot find symbol method isNotNull()
      4 U. ~8 n+ u8 t8 l, [2 @2 S
    32.     Error:Error:line (28)error: cannot find symbol variable actual: g$ S  T5 v9 k6 _, H2 b
    33.     Error:Error:line (29)error: cannot find symbol method assertThat(char)( _7 F5 T1 [7 u9 }$ P2 s
    34.     Error:Error:line (37)error: cannot find symbol method isNotNull()* l* x  ^' t$ [: Q
    35.     Error:Error:line (38)error: cannot find symbol variable actual
      8 h3 v: e9 S- r; F# t$ |; l
    36.     Error:Error:line (39)error: cannot find symbol method assertThat(int)
      9 {. S3 `0 i3 R- P& ]0 ^
    37.     Error:Error:line (46)error: cannot find symbol method isNotNull()
      : h5 W) t% v: t" q
    38.     Error:Error:line (47)error: cannot find symbol variable actual. o/ f( s8 c3 N" t/ e5 V; }  {
    39.     Error:Error:line (48)error: cannot find symbol method assertThat(Drawable)
      5 ^8 [6 m  W" ^* m  k; P  i: w
    40.     Error:Error:line (55)error: cannot find symbol method isNotNull()
      # W. p4 R! L$ v  F; l. [
    41.     Error:Error:line (56)error: cannot find symbol variable actual
      8 }, Z0 f! X' R1 K8 b0 G7 E' o
    42.     Error:Error:line (57)error: cannot find symbol method assertThat(Intent)
      , y2 v( A; N+ n1 t0 a4 b9 ^
    43.     Error:Error:line (64)error: cannot find symbol method isNotNull()
      & u% H' J( a5 p) u! C
    44.     Error:Error:line (65)error: cannot find symbol variable actual
      # R5 o) F5 s* y; l
    45.     Error:Error:line (66)error: cannot find symbol method assertThat(int)
      $ f9 @' p9 M3 ~' X" l3 e
    46.     Error:Error:line (73)error: cannot find symbol method isNotNull()
      5 E8 k/ M: u, {* S( n! q$ F
    47.     Error:Error:line (74)error: cannot find symbol variable actual
      % G1 }& w" t- Y# f4 h+ u
    48.     Error:Error:line (75)error: cannot find symbol method assertThat(char)
      $ x4 N" w3 ]- a) A" v& @
    49.     Error:Error:line (83)error: cannot find symbol method isNotNull()
      * U0 p" d: J+ Y/ v% @+ _: |
    50.     Error:Error:line (84)error: cannot find symbol variable actual
      - m) R; o6 _" L+ V0 U
    51.     Error:Error:line (85)error: cannot find symbol method assertThat(int)
      * R' S" ^- X8 [
    52.     Error:Error:line (92)error: cannot find symbol method isNotNull()
      : z" C8 m5 ?9 r: s, p. U
    53.     Error:Error:line (93)error: cannot find symbol variable actual
      ( C7 w; L2 P* e6 t
    54.     Error:Error:line (94)error: cannot find symbol method assertThat(CharSequence)3 D+ T  t. I# x2 |4 J: n
    55.     Error:Error:line (101)error: cannot find symbol method isNotNull()' n! ]7 \( P9 O3 z
    56.     Error:Error:line (102)error: cannot find symbol variable actual9 p2 a9 b2 O4 o0 x, E- {
    57.     Error:Error:line (103)error: cannot find symbol method assertThat(CharSequence)" X5 c( g. m5 T! L- d
    58.     Error:Error:line (111)error: cannot find symbol method isNotNull()
      / `# Q4 [' p7 I4 W
    59.     Error:Error:line (112)error: cannot find symbol variable actual
      : O+ Q! N8 l% K
    60.     Error:Error:line (119)error: cannot find symbol method isNotNull()
      : E* ^' ?. k2 i4 i) P! @
    61.     Error:Error:line (120)error: cannot find symbol variable actual7 f" B% _9 B) c; c( p' \9 v. E# b
    62.     Error:Error:line (127)error: cannot find symbol method isNotNull()
      . F" M  z" }& Y9 F7 q) t
    63.     Error:Error:line (128)error: cannot find symbol variable actual+ C" c  W6 l1 W$ y  Y
    64.     Error:Error:line (135)error: cannot find symbol method isNotNull()# S) ^0 M" y* i4 R
    65.     Error:Error:line (136)error: cannot find symbol variable actual
      : u2 s/ K( e) K; s8 ^: i" [2 ?
    66.     Error:Error:line (143)error: cannot find symbol method isNotNull()2 S- k5 J- f5 G/ r7 x
    67.     Error:Error:line (144)error: cannot find symbol variable actual
      ; W8 f! d$ m; O( Q. S- O+ `# C% r
    68.     Error:Error:line (151)error: cannot find symbol method isNotNull()
      & m+ \8 X# {  P. n# p) t" `* W! E# `1 }, `
    69.     Error:Error:line (152)error: cannot find symbol variable actual
      * w6 M' @, p& u
    70.     Error:Error:line (159)error: cannot find symbol method isNotNull(); J. d, `, J: V2 p# G' {! h
    71.     Error:Error:line (160)error: cannot find symbol variable actual: ~+ \0 a5 m3 E
    72.     Error:Error:line (167)error: cannot find symbol method isNotNull()" q2 V5 r. G; {  N% R- g
    73.     Error:Error:line (168)error: cannot find symbol variable actual
      , b+ ]4 t9 M- k9 u
    74.     Error:Error:line (175)error: cannot find symbol method isNotNull()" P$ m& w" z) ]4 |5 N
    75.     Error:Error:line (176)error: cannot find symbol variable actual
      ' ^% f3 f6 m" V+ X0 v6 g
    76.     Error:Error:line (183)error: cannot find symbol method isNotNull()
      3 c: N6 [% I7 y6 g( r* N
    77.     Error:Error:line (184)error: cannot find symbol variable actual
      - F! y" m6 s% \  Y- _% l
    78.     Error:Error:line (191)error: cannot find symbol method isNotNull()' o2 P- G. p$ X  }
    79.     Error:Error:line (192)error: cannot find symbol variable actual
      $ W  S$ s' X, ]/ i! z8 \  W/ X
    80.     Error:Error:line (199)error: cannot find symbol method isNotNull()
      " l  b  g  M& [' T5 o7 O& n
    81.     Error:Error:line (200)error: cannot find symbol variable actual9 [- I9 L* h+ M2 M
    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.java0 m4 {2 Y+ w1 ^9 A( Y3 f: S
    83.     Error:Error:line (4)error: package org.fest.assertions.api.android does not exist, D( {3 r5 p8 N- l) T. Q
    84.     Error:Error:line (7)error: cannot find symbol class AbstractAssert
      " ], p  Q0 t# E: B3 p  H2 I
    85.     Error:Error:line (17)error: cannot find symbol class Assertions$ B- E' }; V& Z3 [: N2 P
    86.     Error:Error:line (17)error: static import only from classes and interfaces
      ! k3 \+ h3 t6 x7 [: @
    87.     Error:Error:line (20)error: cannot find symbol class AbstractAssert6 G! @; b, S$ {& H; x
    88.     Error:Error:line (26)error: cannot find symbol method isNotNull()8 K. q2 L- L2 i( q2 i- y2 M
    89.     Error:Error:line (27)error: cannot find symbol variable actual
      ! X7 x( D# o2 n; o' W2 H# X
    90.     Error:Error:line (28)error: cannot find symbol method assertThat(int)
      / |0 [3 l9 \2 T# e
    91.     Error:Error:line (36)error: cannot find symbol method isNotNull()
      & Y) j# ]; ]" F2 I) e! B" ^. a' ~
    92.     Error:Error:line (37)error: cannot find symbol variable actual9 o. P0 R2 d1 W, S
    93.     Error:Error:line (38)error: cannot find symbol method assertThat(int): I. r# R" g( N* e
    94.     Error:Error:line (45)error: cannot find symbol method isNotNull(); \, o6 i7 J5 [6 P
    95.     Error:Error:line (46)error: cannot find symbol variable actual  {9 g& s9 p$ k( z" H1 s4 {
    96.     Error:Error:line (47)error: cannot find symbol method assertThat(int)7 Q6 }! f' d9 o+ r0 c+ v+ R
    97.     Error:Error:line (54)error: cannot find symbol method isNotNull()
      & P! j; v! U% ?3 `
    98.     Error:Error:line (55)error: cannot find symbol variable actual: V( D; s9 i% S" e2 X
    99.     Error:Error:line (56)error: cannot find symbol method assertThat(int), s9 G% E! _( k* i! W- ]
    100.     Error:Error:line (64)error: cannot find symbol method isNotNull()
      2 c! T( Q) \8 p1 M
    101.     Error:Error:line (65)error: cannot find symbol variable actual
      2 o7 X  |  X2 \. t
    102.     Error:Error:line (66)error: cannot find symbol method assertThat(int)
      9 e* Q2 h5 M7 A7 C
    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.java8 v7 |- S: f4 N/ n
    104.     Error:Error:line (5)error: cannot find symbol class AbstractAssert
      + a5 ~* H" B1 A9 G/ t) ]
    105.     Error:Error:line (7)error: cannot find symbol class Assertions! U$ j. `2 ?0 s+ ^/ O# r
    106.     Error:Error:line (7)error: static import only from classes and interfaces
      2 l, q1 U5 }9 L$ u- X
    107.     Error:Error:line (10)error: cannot find symbol class AbstractAssert$ f( S2 H% x: Y' t- ?; l
    108. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\ActionBarContextView.java  j' J: j: H( ^; ~' n2 r+ {: Y
    109.     Warning:Warning:line (81)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      / c! w/ f, T, A: U8 t; E
    110.     Warning:Warning:line (115)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      2 r% U- R8 o8 S
    111.     Warning:Warning:line (129)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      : Q. m# c, M& ]1 Y$ X: C  Y
    112.     Warning:Warning:line (231)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      2 T) y1 E, |; p( h1 C
    113.     Warning:Warning:line (244)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      ( T% k: w4 p4 ^/ i5 X/ z( A
    114. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\view\menu\MenuPopupHelper.java
      ; j2 t$ i, @; g1 U9 o* N" T
    115.     Warning:Warning:line (145)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated: }2 i' O2 I0 F  J' j/ u# W' v
    116.     Warning:Warning:line (216)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated" j+ _& t5 f. a: X6 x
    117. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\ActionBarContainer.java
      ; y6 u7 ?' m3 h
    118.     Warning:Warning:line (56)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
        d$ v' F/ ]. I% `/ k  E
    119. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\app\ActionBar.java0 a5 [7 h  ?% C- v" c
    120.     Warning:Warning:line (943)[deprecation] FILL_PARENT in LayoutParams has been deprecated% S& T- a0 O9 t0 z, [8 @+ o  m  ~
    121. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\ScrollingTabContainerView.java
      # @. l; K! J% _" g( ~
    122.     Warning:Warning:line (280)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated& t2 J# c+ k6 A3 I" {
    123. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\IcsProgressBar.java
      9 Q, l- r7 m& k8 p7 ~3 {! n/ U+ _
    124.     Warning:Warning:line (207)[deprecation] animationResolution in attr has been deprecated
      1 Q" M$ t1 I3 z" h
    125. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\widget\ActivityChooserView.java  A9 s2 T# U' T( R+ [
    126.     Warning:Warning:line (378)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated' @- C5 x. M7 j  ?! @
    127.     Warning:Warning:line (420)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated8 r6 K# Q# M, b8 |1 J5 x# |; U8 M
    128.     Warning:Warning:line (537)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      - z1 o; {! {5 p% Z' R
    129.     Warning:Warning:line (539)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated1 C9 k  o( j  O$ F5 u  }( Y
    130. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\view\menu\ListMenuItemView.java
      ; r) O- t4 Z: _: p! s/ \0 ~
    131.     Warning:Warning:line (86)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated/ k0 P1 H: ?3 b; G+ ^7 q7 i4 r
    132. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\view\ActionProviderWrapper.java/ A& T; N) Y8 t9 x4 s# O) c
    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目录从源代码目录中删掉。4 z) M5 X( o2 N0 J+ S
    rayman 发表于 2013-7-1 15:42

    ( N% E  p: @0 N( Z/ j- F抱歉,我这个菜鸟不明白。可不可以请你告诉我详细的步骤?

    该用户从未签到

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

    该用户从未签到

     楼主| 发表于 2013-7-3 08:07:38 | 显示全部楼层
    Project Setting->Modules->ActionbarSherlock->Source) R! }8 q' F! y( ?/ o3 \1 T% ^
    rayman 发表于 2013-7-2 22:34

    ( A; U7 W) f& C" u; J( w8 {; ?0 lProject setting是到.idea > modules.xml对吗?8 J6 o% ]/ e$ `4 Z+ D  i
    这是它的source,但我没有看到test。
    1. <?xml version="1.0" encoding="UTF-8"?>
      : c* v1 H$ W9 A! n3 F
    2. <project version="4">% Z8 z2 X0 {3 V, r' y1 F& h
    3.   <component name="ProjectModuleManager">* U# n4 O; A/ b- ~' t
    4.     <modules>
      - X5 Q$ ^- K" d* a/ {+ D- ?1 T
    5.       <module fileurl="file://$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock/actionbarsherlock.iml" filepath="$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock/actionbarsherlock.iml" />" I1 G2 k% z, v" A3 C8 Q' V3 j
    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" />+ q; K+ d7 J+ |8 O
    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" />
      - c# ?- p4 w9 L* u
    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" />
      3 w' D, P4 m+ u0 b( {4 W. c0 @  v
    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" />
      / A1 G2 M% j' N- `) z7 |2 J  J
    10.       <module fileurl="file://$PROJECT_DIR$/raymanzhang-mdict.iml" filepath="$PROJECT_DIR$/raymanzhang-mdict.iml" />. h$ X7 r( K& a, S1 R5 U6 x* g
    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" />" B1 k2 c/ W' y7 |6 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" />
      & f- Z1 ^# C" o9 k- Z
    13.     </modules>! e, s8 {$ O, H3 [/ B
    14.   </component>+ X" F! O4 Y7 E3 V- p* Z# j9 j* d
    15. </project>
    复制代码

    该用户从未签到

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

    该用户从未签到

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

    本版积分规则

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

    GMT+8, 2025-4-20 20:38 , Processed in 0.031201 second(s), 25 queries .

    Powered by Discuz! X3.4

    © 2001-2023 Discuz! Team.

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