掌上百科 - PDAWIKI

 找回密码
 免费注册

QQ登录

只需一步,快速开始

查看: 2065|回复: 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
    $ k( Z" M" {& Z$ {
  2. Information:java: Errors occurred while compiling module 'library'
    6 [& G, k$ O/ C' L
  3. Information:Compilation completed with 13 errors and 0 warnings in 7 sec
    ' e/ m1 I8 t' U" |& z- H- C
  4. Information:13 errors- S: V/ H* J9 i9 `  U9 A) d) u
  5. Information:0 warnings
    * L2 e6 e. O+ A
  6. C:\Users\Downloads\mdict_source\raymanzhang-mdict-android-opensource-e278ebbc7541\library\actionbar-sherlock\library\test\com\actionbarsherlock\internal\ManifestParsingTest.java
    % V9 x4 S: J9 b% A* Y, q
  7.     Error:Error:line (3)java: package org.junit does not exist
    $ J. C1 c* {6 ?' G* X% o9 d! _0 z
  8.     Error:Error:line (6)java: package org.hamcrest does not exist
    8 I. ~9 A& U$ S
  9.     Error:Error:line (6)java: static import only from classes and interfaces6 [$ U  o) u8 E  |) i" d
  10.     Error:Error:line (7)java: package org.junit does not exist
    ' q8 J1 I* ~# d; a. r4 a9 g
  11.     Error:Error:line (7)java: static import only from classes and interfaces% [' p* ?! g% o  R2 A
  12.     Error:Error:line (10)java: cannot find symbol
    " a* K: l7 T% o6 y, Q6 k4 D( I! b
  13.   symbol:   class Test, I" n, R3 J3 g& n" m8 W# k9 o9 [
  14.   location: class com.actionbarsherlock.internal.ManifestParsingTest4 X( R* p  I6 k! s
  15.     Error:Error:line (17)java: cannot find symbol/ K6 c  b1 O+ Y8 M8 y$ v7 O
  16.   symbol:   class Test2 y, ~* R- j3 @5 C
  17.   location: class com.actionbarsherlock.internal.ManifestParsingTest2 A. l2 b  v- q( v9 n
  18.     Error:Error:line (24)java: cannot find symbol
    ' ?* ~8 o) {( t+ v9 V7 d
  19.   symbol:   class Test
    " N- p# t3 R& U' P. \, R
  20.   location: class com.actionbarsherlock.internal.ManifestParsingTest
    2 \3 j' B4 b" V# z  y- h! U2 W
  21.     Error:Error:line (31)java: cannot find symbol5 v; }6 \8 N; c) q1 {
  22.   symbol:   class Test
    . \  a% M% d8 p- L( ~  u
  23.   location: class com.actionbarsherlock.internal.ManifestParsingTest
    : G  H/ q  [- F1 s. g
  24.     Error:Error:line (14)java: cannot find symbol
    * m( g, j1 ]' q
  25.   symbol:   method equalTo(java.lang.String)7 A6 t6 {; l+ h" ^7 c8 V8 p$ y$ K
  26.   location: class com.actionbarsherlock.internal.ManifestParsingTest- t1 [+ j" {. s/ U9 c" H' K7 J8 v$ B
  27.     Error:Error:line (21)java: cannot find symbol8 K: E4 t4 {! L0 [
  28.   symbol:   method equalTo(java.lang.String)
    ) M" X* i; z* J; z1 J7 i. t
  29.   location: class com.actionbarsherlock.internal.ManifestParsingTest
    5 L$ \! b+ e( Y" f' |7 ]8 w: C
  30.     Error:Error:line (28)java: cannot find symbol) w8 O. |5 t: z
  31.   symbol:   method equalTo(java.lang.String)
    $ `, F" I& P0 K# |+ L+ i# ]
  32.   location: class com.actionbarsherlock.internal.ManifestParsingTest0 X$ C1 z* G2 G6 k+ b
  33.     Error:Error:line (35)java: cannot find symbol
    2 G8 C5 l; _: D& K
  34.   symbol:   method equalTo(java.lang.String)
    + n# c: z4 @. N% ^2 @! z/ L
  35.   location: class com.actionbarsherlock.internal.ManifestParsingTest
复制代码
请问问题是出现在哪里呢?我是Android程序开发菜鸟,请多多指教。
  • TA的每日心情
    开心
    7 小时前
  • 签到天数: 2275 天

    [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.
    7 s/ H" M) F( G, O* b+ X, y: Q9 c% ?% U7 p5 Q# }4 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; f3 e, q! ]" K0 C
    glacierlee 发表于 2013-6-30 17:06

    $ {% N* _+ p2 n- UJava 和 Android 的 SDK 都有。不过根据 log,视乎我没有一些package。应该到哪里获取它们?
    1.     Error:Error:line (3)java: package org.junit does not exist
      $ P0 q3 Q5 b' R* C2 i1 D) H1 N
    2.     Error:Error:line (6)java: package org.hamcrest does not exist3 e, A, ^5 L- L4 @: D
    3.     Error:Error:line (6)java: static import only from classes and interfaces& d5 ]- x& d4 S5 h. E( r
    4.     Error:Error:line (7)java: package org.junit does not exist$ }5 O+ y  h; F; N( X. w3 `% Y  r6 o
    5.     Error:Error:line (7)java: static import only from classes and interfaces# o' K! N2 l0 Z8 x/ `
    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代码被加到的项目里了。你可以去掉的。
    % k/ ]- s( O; Rrayman 发表于 2013-7-1 11:58

    - ]4 ?. j& I5 `8 X/ ^# b4 B; YRayman大大终于出现了!
    3 W, j7 p6 V( {; h$ h" M4 v# R这次我使用Android Studio,同时我把actionbarsherlock的整个test删除了,但却得到这个错误讯息:
    1. Information:Compilation completed with 100 errors and 17 warnings in 4 sec
      - C: A: |8 T, s$ ]1 a% J3 V
    2. Information:100 errors
      6 A- Z! h7 N( }9 c4 K; e  [' v* [
    3. Information:17 warnings
      6 X( K; F3 B6 \
    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
      7 r6 A$ K7 D. n, s. x
    5.     Error:Error:line (4)error: cannot find symbol class AbstractAssert
      ! Q  {1 N! v! l. s& V$ u' S3 f
    6.     Error:Error:line (5)error: cannot find symbol class Assertions
      1 ?+ b4 t4 K, b% v
    7.     Error:Error:line (7)error: cannot find symbol class Assertions. z/ y! D( ?) {! ]1 f
    8.     Error:Error:line (7)error: static import only from classes and interfaces) k; O+ {! @1 q  l2 y. F
    9.     Error:Error:line (10)error: cannot find symbol class AbstractAssert
      ( n6 I( A6 K  p' m; x, U+ n
    10.     Error:Error:line (16)error: cannot find symbol method isNotNull()
      & ~+ j) n6 @6 B& b5 S7 N+ P
    11.     Error:Error:line (17)error: cannot find symbol variable actual
      8 N4 l! d; k/ O  k$ H% q
    12.     Error:Error:line (24)error: cannot find symbol method isNotNull()
      + H- b! y  ~( q; B. J9 W
    13.     Error:Error:line (25)error: cannot find symbol variable actual
      & H6 s* ~5 x, ?# n; {
    14.     Error:Error:line (32)error: cannot find symbol method isNotNull()
      # D. X6 y& w# c+ l
    15.     Error:Error:line (33)error: cannot find symbol variable actual% X  ^' W2 b! H# y, q7 s( L) Q
    16.     Error:Error:line (33)error: cannot find symbol variable Assertions# b3 V4 @0 [% P7 s- O7 G/ |: x& f
    17.     Error:Error:line (40)error: cannot find symbol method isNotNull()$ `: c3 f, ?1 W
    18.     Error:Error:line (41)error: cannot find symbol variable actual
      ' Z) D  s' x8 c, s/ G
    19.     Error:Error:line (41)error: cannot find symbol variable Assertions
      $ b: d- y) k; b6 I3 r9 A* m
    20.     Error:Error:line (48)error: cannot find symbol method isNotNull()
      2 E7 E( a8 h  _
    21.     Error:Error:line (49)error: cannot find symbol variable actual
      7 r3 F( g$ j8 S/ @0 {. N, E
    22.     Error:Error:line (50)error: cannot find symbol variable Assertions
      $ q) {0 b( ]$ n: c) M
    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
      , H  n8 ?7 L* A" _
    24.     Error:Error:line (7)error: cannot find symbol class AbstractAssert
      3 |% i( W! G' b
    25.     Error:Error:line (9)error: cannot find symbol class Assertions7 O1 _# C# ^# O- c% G& M" t! Z' ^
    26.     Error:Error:line (9)error: static import only from classes and interfaces8 ^0 G/ |' n" h0 h% z5 F$ b
    27.     Error:Error:line (12)error: cannot find symbol class AbstractAssert
      , l# A3 \' u, d  a2 |! W
    28.     Error:Error:line (18)error: cannot find symbol method isNotNull()" y7 |  y  ^& H: f7 {' ?2 t
    29.     Error:Error:line (19)error: cannot find symbol variable actual2 [/ V1 C+ W+ z( a
    30.     Error:Error:line (20)error: cannot find symbol method assertThat(View)
      # ~" ^3 I; [' u! A( p. c
    31.     Error:Error:line (27)error: cannot find symbol method isNotNull()
      & b: z& a8 e3 g# ~
    32.     Error:Error:line (28)error: cannot find symbol variable actual
      ) b* C6 t/ t5 D6 V
    33.     Error:Error:line (29)error: cannot find symbol method assertThat(char)& U. t, V! t  }
    34.     Error:Error:line (37)error: cannot find symbol method isNotNull()& l1 r3 F) @! x& J2 O
    35.     Error:Error:line (38)error: cannot find symbol variable actual
      8 U* T& [+ L: k7 g6 j( T: ]
    36.     Error:Error:line (39)error: cannot find symbol method assertThat(int)
      2 P' O, ~+ S9 S  K. L0 q1 f1 k
    37.     Error:Error:line (46)error: cannot find symbol method isNotNull()3 B$ E) h7 p" I, I) D3 @& w
    38.     Error:Error:line (47)error: cannot find symbol variable actual
      ' B8 k' t$ C% I
    39.     Error:Error:line (48)error: cannot find symbol method assertThat(Drawable); p& Z& ]  U0 e; L, C8 w
    40.     Error:Error:line (55)error: cannot find symbol method isNotNull()) }# t& N5 s. J. `3 `0 h# h
    41.     Error:Error:line (56)error: cannot find symbol variable actual( ?, |; e- W6 v: H
    42.     Error:Error:line (57)error: cannot find symbol method assertThat(Intent)7 v& u' ]) |' k9 }  f
    43.     Error:Error:line (64)error: cannot find symbol method isNotNull()/ N4 ^8 K7 E( |! S8 Z
    44.     Error:Error:line (65)error: cannot find symbol variable actual
      ! X$ c* C+ d, `, A
    45.     Error:Error:line (66)error: cannot find symbol method assertThat(int)
      $ r# G, ?7 V- @6 q. K) m7 {) i
    46.     Error:Error:line (73)error: cannot find symbol method isNotNull()$ T- d9 z4 t9 t' q. d
    47.     Error:Error:line (74)error: cannot find symbol variable actual$ l( d+ Y/ N. v. Q
    48.     Error:Error:line (75)error: cannot find symbol method assertThat(char)
      / x9 t( J, o+ N( _& S! F0 }
    49.     Error:Error:line (83)error: cannot find symbol method isNotNull(). ~% L, b$ V) ~9 }
    50.     Error:Error:line (84)error: cannot find symbol variable actual
      - G* M6 j( [* @: ^5 s# c( ]3 O5 N
    51.     Error:Error:line (85)error: cannot find symbol method assertThat(int)" t2 ?8 }# W( G, C; ]- r
    52.     Error:Error:line (92)error: cannot find symbol method isNotNull()
      ) h& f- t1 Y  y5 F4 g
    53.     Error:Error:line (93)error: cannot find symbol variable actual7 B. O9 m6 [0 s3 N' c- T4 y8 F5 k
    54.     Error:Error:line (94)error: cannot find symbol method assertThat(CharSequence)+ a6 W0 Y* l6 ]% @
    55.     Error:Error:line (101)error: cannot find symbol method isNotNull()7 D6 }! ?8 ~. I& H
    56.     Error:Error:line (102)error: cannot find symbol variable actual& X+ a5 G6 D/ ]5 b
    57.     Error:Error:line (103)error: cannot find symbol method assertThat(CharSequence)
      4 G+ w8 U, _+ k3 d. M
    58.     Error:Error:line (111)error: cannot find symbol method isNotNull()1 J, j* |5 z: _/ o3 |" L6 \
    59.     Error:Error:line (112)error: cannot find symbol variable actual
      - ^  U( {, F) N1 V+ P
    60.     Error:Error:line (119)error: cannot find symbol method isNotNull()5 y4 j* `5 o4 X
    61.     Error:Error:line (120)error: cannot find symbol variable actual8 _3 w  R% [  r& H2 x: m
    62.     Error:Error:line (127)error: cannot find symbol method isNotNull()
      3 T6 d( ?* ~1 _2 n6 C( `
    63.     Error:Error:line (128)error: cannot find symbol variable actual
      1 C" p, H' {% V& F5 f
    64.     Error:Error:line (135)error: cannot find symbol method isNotNull()
      , U* H5 H! ]- N. M; x
    65.     Error:Error:line (136)error: cannot find symbol variable actual/ m9 A( f0 H( j$ _* G/ N2 o: V
    66.     Error:Error:line (143)error: cannot find symbol method isNotNull()
      # G: b3 @3 g3 m9 x0 D
    67.     Error:Error:line (144)error: cannot find symbol variable actual
      ) j0 l0 c# S# w
    68.     Error:Error:line (151)error: cannot find symbol method isNotNull()( k3 h+ R: }& ~: p- q+ m7 w/ E
    69.     Error:Error:line (152)error: cannot find symbol variable actual
      3 }( N7 g7 G3 E& r
    70.     Error:Error:line (159)error: cannot find symbol method isNotNull()& \6 U2 G- q% ~6 L1 i) x( X
    71.     Error:Error:line (160)error: cannot find symbol variable actual. U4 ~% D4 r: A; e  a! f7 K, O, J
    72.     Error:Error:line (167)error: cannot find symbol method isNotNull()- U6 g' b! i0 R7 [* O3 w5 B+ t
    73.     Error:Error:line (168)error: cannot find symbol variable actual
      / Y: b% w) H' _* o$ t$ [
    74.     Error:Error:line (175)error: cannot find symbol method isNotNull()
      $ Q: ?: M- @! |+ ?
    75.     Error:Error:line (176)error: cannot find symbol variable actual
      - f- b- D) E' t' s6 }- V5 R
    76.     Error:Error:line (183)error: cannot find symbol method isNotNull()
      & ?/ O* }: ]) o
    77.     Error:Error:line (184)error: cannot find symbol variable actual# }+ Y& T& E6 f. e* \
    78.     Error:Error:line (191)error: cannot find symbol method isNotNull()
      + M3 ~" C- ]6 z  r
    79.     Error:Error:line (192)error: cannot find symbol variable actual
      / U; y' a2 O5 \5 B
    80.     Error:Error:line (199)error: cannot find symbol method isNotNull()' R* T( f+ H9 Q
    81.     Error:Error:line (200)error: cannot find symbol variable actual7 O+ B1 `. B0 m* L/ p& b
    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
      * _9 v9 r/ w+ [' c7 ^7 {4 @; o
    83.     Error:Error:line (4)error: package org.fest.assertions.api.android does not exist% L# ]5 ], s9 ~) J0 Z! Y
    84.     Error:Error:line (7)error: cannot find symbol class AbstractAssert
      $ U) K1 ~3 M8 l
    85.     Error:Error:line (17)error: cannot find symbol class Assertions
      + P( M4 G" U3 b/ n. q
    86.     Error:Error:line (17)error: static import only from classes and interfaces8 u' X7 Z8 X' t% r6 o
    87.     Error:Error:line (20)error: cannot find symbol class AbstractAssert" \6 l! W! H6 m" X& T+ R5 {
    88.     Error:Error:line (26)error: cannot find symbol method isNotNull()
      " \3 s, j9 B* G3 u! S. Z) Z
    89.     Error:Error:line (27)error: cannot find symbol variable actual
      ; d/ E8 y3 c( E: u
    90.     Error:Error:line (28)error: cannot find symbol method assertThat(int)% A/ q9 S' K0 o' N3 i
    91.     Error:Error:line (36)error: cannot find symbol method isNotNull()
      $ l1 G7 j; K& i3 {
    92.     Error:Error:line (37)error: cannot find symbol variable actual
      ; m0 q& n% p8 J  d
    93.     Error:Error:line (38)error: cannot find symbol method assertThat(int). b9 b6 @2 p  A5 y
    94.     Error:Error:line (45)error: cannot find symbol method isNotNull()  Y4 ^6 m4 o2 x( g6 K9 s
    95.     Error:Error:line (46)error: cannot find symbol variable actual
      ' x5 v- b% V3 Z2 v% _6 p
    96.     Error:Error:line (47)error: cannot find symbol method assertThat(int)
      3 a5 S" W; Y7 g6 X8 i: Q1 B7 O- T' `
    97.     Error:Error:line (54)error: cannot find symbol method isNotNull()/ e! i) R* `5 e1 P/ w1 b& |5 h
    98.     Error:Error:line (55)error: cannot find symbol variable actual* q, [7 A( _0 s" A
    99.     Error:Error:line (56)error: cannot find symbol method assertThat(int)) M5 M4 @2 Y: V+ J( \
    100.     Error:Error:line (64)error: cannot find symbol method isNotNull()
      % y7 g/ y; k9 ~3 m
    101.     Error:Error:line (65)error: cannot find symbol variable actual% f' e; Y# F$ `/ O# c$ k/ |' O
    102.     Error:Error:line (66)error: cannot find symbol method assertThat(int)
      3 l/ g9 `8 Q6 v& p" u' W$ j
    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
      # c* S/ ?6 k$ ~/ \6 c! A
    104.     Error:Error:line (5)error: cannot find symbol class AbstractAssert$ D$ S" o+ c2 [0 ]8 ~9 i% h0 O% h
    105.     Error:Error:line (7)error: cannot find symbol class Assertions* B4 B( y7 P  \6 s3 E6 b. O- {
    106.     Error:Error:line (7)error: static import only from classes and interfaces
      4 O6 L3 Y$ L  q0 s- d, ^4 [6 M
    107.     Error:Error:line (10)error: cannot find symbol class AbstractAssert
      / {* ~3 j3 m8 P% o0 H' p* ~
    108. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\ActionBarContextView.java% i3 w# R7 m6 x; m) T4 X) ]; S; C
    109.     Warning:Warning:line (81)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated# {3 i9 G& b! s$ y1 `4 V
    110.     Warning:Warning:line (115)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      5 M- w8 j" D& p2 n6 U
    111.     Warning:Warning:line (129)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      8 N/ _6 S4 c3 h0 Y, j
    112.     Warning:Warning:line (231)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      0 Z6 a! m: p" O% R/ ]
    113.     Warning:Warning:line (244)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated7 I5 t* W( l: q( M, Y  @8 R
    114. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\view\menu\MenuPopupHelper.java
      5 G  a6 w" x: I# j8 T8 X
    115.     Warning:Warning:line (145)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated+ y" a# o! F. x9 f7 @0 R8 k# v: R# E
    116.     Warning:Warning:line (216)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated; M' e6 q9 ]) f- @) J9 A$ Q. V
    117. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\ActionBarContainer.java
      6 n: n* s8 A* m" ?
    118.     Warning:Warning:line (56)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      0 n/ R  G* p  w- |
    119. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\app\ActionBar.java
      % t& g  v) b; J% q& n
    120.     Warning:Warning:line (943)[deprecation] FILL_PARENT in LayoutParams has been deprecated
      . t  ~4 r3 D! W: P& c; ^
    121. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\ScrollingTabContainerView.java5 I0 n! C. L) B, \9 B
    122.     Warning:Warning:line (280)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      ' n7 P5 O; @/ r  W" M  Y7 f
    123. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\widget\IcsProgressBar.java8 t$ t1 G, z; r
    124.     Warning:Warning:line (207)[deprecation] animationResolution in attr has been deprecated
      , i2 s1 _5 E, M1 F: B  N
    125. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\widget\ActivityChooserView.java3 A. I. ^% G- H9 X6 J# }6 c+ i8 S
    126.     Warning:Warning:line (378)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated1 f9 r8 D; e7 r: {
    127.     Warning:Warning:line (420)[deprecation] removeGlobalOnLayoutListener(OnGlobalLayoutListener) in ViewTreeObserver has been deprecated( p& K2 ?$ S8 h
    128.     Warning:Warning:line (537)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated* h0 |/ R7 l) O
    129.     Warning:Warning:line (539)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      1 y. |% k' F9 N, @3 ~
    130. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\view\menu\ListMenuItemView.java  y& N' S; _  \4 j
    131.     Warning:Warning:line (86)[deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
      * h5 Q( U. A" ~. T
    132. C:\Users\Downloads\mdict_source\raymanzhang-mdict-studio\library\actionbar-sherlock\actionbarsherlock\src\com\actionbarsherlock\internal\view\ActionProviderWrapper.java3 k3 W# E, ~7 a! Z
    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目录从源代码目录中删掉。
    2 H0 ~* I, |" N# L/ p4 I6 B- orayman 发表于 2013-7-1 15:42

    # F! [: m. ?  L0 u2 r抱歉,我这个菜鸟不明白。可不可以请你告诉我详细的步骤?

    该用户从未签到

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

    该用户从未签到

     楼主| 发表于 2013-7-3 08:07:38 | 显示全部楼层
    Project Setting->Modules->ActionbarSherlock->Source
    9 W; D9 {+ o: vrayman 发表于 2013-7-2 22:34
    ; v7 u3 X/ \- T  V8 h4 T0 v
    Project setting是到.idea > modules.xml对吗?
    & s# L8 T6 I4 Z0 d: {5 K这是它的source,但我没有看到test。
    1. <?xml version="1.0" encoding="UTF-8"?>) I- j% w: y! b$ D- L
    2. <project version="4">
      / v4 B1 P1 j, w: z1 ~4 m
    3.   <component name="ProjectModuleManager">
      + ]  z. j- B2 m( c9 _+ e, r% x* `
    4.     <modules>
      . ^& _- G, b( S) D
    5.       <module fileurl="file://$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock/actionbarsherlock.iml" filepath="$PROJECT_DIR$/library/actionbar-sherlock/actionbarsherlock/actionbarsherlock.iml" />, j9 a; F' N7 w0 V2 d
    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" />( l' h7 b/ m( x. r* S' U
    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" />- @* `! K' k! ^# S. k$ k0 B+ V
    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" />
      . b8 L1 k; t0 G+ Z$ R$ P
    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" />( @: I0 i6 C4 p3 I6 M
    10.       <module fileurl="file://$PROJECT_DIR$/raymanzhang-mdict.iml" filepath="$PROJECT_DIR$/raymanzhang-mdict.iml" />% u" c% F  G  p7 o8 e
    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" />! }% R" F& }( b6 t: D9 H- u' j2 @
    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" />
      & m( L5 j9 D  `  H$ s% C
    13.     </modules>
      ! C' X( b; B$ `+ {2 x& ^% F
    14.   </component>7 R" _. g% B# R' m
    15. </project>
    复制代码

    该用户从未签到

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

    该用户从未签到

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

    本版积分规则

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

    GMT+8, 2025-5-8 15:05 , Processed in 0.031797 second(s), 25 queries .

    Powered by Discuz! X3.4

    © 2001-2023 Discuz! Team.

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