eclipse - Android Studio cannot find symbol error -


i'm sorry if noob question have moved eclipse android studio , have never used gradle before. have imported 1 project eclipse depends on 3 libraries (uil,androidbootstrap,androidlockpattern).the libraries can seen under root directory of android studio project,but when click build keep getting following errors

g:\androidstudioprojects\p3 authentication\p3authentication\src\main\java\com\p3authentication\captcha_verfication.java error:(11, 45) error: cannot find symbol class settings error:(25, 18) error: cannot find symbol variable matrix_width error:(27, 11) error: package settings not exist error:(28, 49) error: cannot find symbol variable action_verify_captcha error:(47, 28) error: cannot find symbol variable result_failed error:(58, 25) error: cannot find symbol variable extra_retry_count g:\androidstudioprojects\p3 authentication\p3authentication\src\main\java\com\p3authentication\compare_pattern.java error:(35, 18) error: cannot find symbol variable matrix_width error:(37, 49) error: cannot find symbol variable action_compare_pattern error:(39, 38) error: cannot find symbol variable extra_pattern error:(70, 28) error: cannot find symbol variable result_failed error:(75, 28) error: cannot find symbol variable result_forgot_pattern error:(86, 25) error: cannot find symbol variable extra_retry_count g:\androidstudioprojects\p3 authentication\p3authentication\src\main\java\com\p3authentication\create_pattern.java error:(26, 18) error: cannot find symbol variable matrix_width error:(28, 49) error: cannot find symbol variable action_create_pattern error:(41, 45) error: cannot find symbol variable extra_pattern g:\androidstudioprojects\p3 authentication\p3authentication\src\main\java\com\p3authentication\pattern_captcha.java error:(12, 45) error: cannot find symbol class settings error:(23, 11) error: package settings not exist error:(24, 49) error: cannot find symbol variable action_verify_captcha error:(57, 28) error: cannot find symbol variable result_failed error:(68, 25) error: cannot find symbol variable extra_retry_count note: g:\androidstudioprojects\p3 authentication\p3authentication\src\main\java\com\p3authentication\lockerservice.java uses or overrides deprecated api. note: recompile -xlint:deprecation details. error:execution failed task ':p3authentication:compiledebugjava'. > compilation failed; see compiler error output details. 

i know these classes , variables exist because when run application eclipse runs without problems. idea how overcome gratefully accepted

one source of problem if you're using library modules, need need use plugin "android-library" them packaged , available application. if you're using gradle build libraries , have dependencies on them using compile project(":uil") might problem.

mutliproject setup libraries :

in build file each of libraries, should have line:

apply plugin: "android-library" 

i think might ask correct android-library com.android.library


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -