I have separated java code from Android code and have two projects. Android dependent on Java project. Now i want to get the memory trace of the Java project on Android. For that I have created Androd Junit Project implementing Android Instrumentation, and a dummy android project dependent on my actual java project.(as I only want to get memory trace of java project on android).
Problem is when I execute Android Junit project, and give a reference of dummy project removing java project dependency, all tests(dummy) run fine.
But when I run junit project, with dummy android proj keeping dependency on java project, my application crashes.
I get an error message like : "Process crash"
not getting any error message in logcat. No clue whats wrong with code. Any help is highly needed.
Thanks