This thing made a full two days really put me depressed, the official demo after downloading, according to the error of the prompt, modified a small bug, then can directly run, but no matter how I integrate into their app, the app will be black screen crash, and the code is the official demo touch the same, Debug logs do not report any errors, sleep in the afternoon, to 8:30, up after no intention to disorderly find the reason, the results in, StackOverflow found, really no intention to search for, (find the reason for Android Studio share black screen), and it said and I this fault also sticky not top, This error is:
Error:: Duplicate files during packaging of APK
The address is here https://stackoverflow.com/questions/22467127/error-duplicate-files-during-packaging-of-apk, others said to add
packagingoptions {
Plus you can share it.
Below directly I modified the current latest official demo download link, can be run directly. You say this is not funny ...
http://download.csdn.net/detail/liaohang1987x/9916853
Android Studio Friend League share