2014年1月5日星期日

[Android] Inherit two application

I now have a third-party package needs to import , import and my example no problem running, but imported into the program discovered the problem , logcat print out the error java.lang.ExceptionInInitializerError, the Internet is said in the calculation of the initial value of a static or an exception occurs during the initial value of a static variable , through my observation , it is estimated that a third party needs to inherit the bag comes with application, application example is the direct successor to the third-party package , up and running no problem , but I now have program an application , I want to how to merge these two application? also, or there are other solutions , the novice neighborhoods ah
------ Solution ---------------- ----------------------------
with your application inherit his realization application
------ eference ---------------------------------------
not inherit two application, directly you inherit Application code you need to write , a can .
------ eference --------------------------------------- < br> the problem in this , ah, I put the jar in the application.class decompile it , put it inside the application process , but I found inside the jar still need to use its own application, and that I am now to all decompile it, then let 's have changed need to use the application together with the applacation me what
------ eference ------------------ ---------------------
his application libraries written in a similar form
------ eference ------- --------------------------------
did not expect such a simple problem to solve , thank you !!
------ eference ---------------------------------------
not expect such a simple problem to solve , thank you ! !  

. . . I did not expect such a simple

没有评论:

发表评论