How to build android.jar without throw new RuntimeException(“Stub!”);
461 views
Skip to first unread message
Hao Yang
unread,
Feb 9, 2017, 4:45:54 AM2/9/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Robolectric
Dear all, I want build a binary android.jar containing the the real implementations of each method, but i don't know how to do it. I download the android open source code, and build the source code according to https://source.android.com/source/building.html. However, the generated android.jar only contains stub implementations of the SDK classes. Could you tell me how to modify the configurations to generate android.jar containing the real implementations, just as the binary jar on http://grepcode.com/snapshot/repository.grepcode.com/java/ext/com.google.android/android/5.1.1_r1. Thanks very much.
Christian Williams
unread,
Feb 9, 2017, 7:01:40 PM2/9/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message