ZSShen / ProbeDroid

A SDK for the creation of analysis tools without obtaining app source code in order to profile runtime performance, examine code coverage, and track high-risk behaviors of a given app on Android 5.0 and above.
MIT License
197 stars 37 forks source link

The "Instant Run" feature of Android Studio 2.0 #7

Closed ZSShen closed 8 years ago

ZSShen commented 8 years ago

The instrument apk generated by Android Studio 2.0 with default settings is quite bloated,

which includes some unnecessary supporting libraries.

Also, the new instant run feature will produce apk with a stub class to load the real content of apk.

Such stub class cannot be recognized by ProbeDroid engine.

For this issue, I will list down the correct build steps to:

  1. Turn off instant run.
  2. Shrink the package size.
ZSShen commented 8 years ago

The step by step procedure for instrumentation tool creation is specified in the project wiki now.