Reputation: 83
I have developed a Project. it is working fine. so i want to use this project as a library for some other project. so i have created this project as a library. Later i have created new Application and added this library project to my new Application Project. then i run the app . suddenly the previous screen in the activity stack is finishing automatically. i am not getting why this is Happening. Any one have the idea about this issue , Please suggest me
Upvotes: 0
Views: 237
Reputation: 83
android:noHistory="true". beacause of this attribute. stack history was removed. by removing this attribute it working fine
Upvotes: 0
Reputation: 1610
Have you set reference to your project? Rightclick on your project-properties-android-islibrary mark it and add
Upvotes: 0
Reputation: 6237
Even though it is added as a library project.
You still need to add the activities that you are calling/using(from the library project) in your new projects AndroidManifest.xml
Though I must say, you should consider showing your logcat and calling code.
Upvotes: 1