A jar used in android library project is not visible in the project using that library -
i have 3 android projects this,
library projecta projectb
i have used admob's jar file in library,
projecta , b use library project reference, library.jar
the admob jar not directly added in project or b. hoping since , b referencing library project , library references admob jar, access classes of admob jar in projects , b without explicitly using admob jar in a/b.
project a/b not have specific code classes related admob jar. related code in library , code meant run when projects compiled.
so happens runtime crash saying class not found. if add admob jar projects there no runtime problem.
please advise me correct way of doing it..
thanks,
found answer, in project properties -> java build path -> order , import , checked admob jar file , worked :)
Comments
Post a Comment