I have a class that inherits activity, there are some common ways, I put this class packaged as jar, and then want to call this class of methods in other projects, I put the jar package into other works, and then call in the code, But that can not find the runtime jar bag that class, I doubt if my import method is wrong, but online methods are tried, or useless, seeking actually used this method pointing pointing heroes , online.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
General import it working when generating user library with user library jar package and then transferred to the top
Reply:
LS to be packaged into a jar of the project is not to use the resource file under res? This situation can be put to use layout and resource files of res directory
Move assets directory, but the layout and resources related to the reconstruction of the call to use it, use the code to implement, would be more trouble.
In addition, try using the following operational procedures to add jar package items: Right To cite project jar package - "Properties -" Android
- "Selected Is Library -" Add ...
I hope for your help!
Reply:
Two F positive solution!
No comments:
Post a Comment