java.lang.illegalargumentexception in java code example
Example 1: java.lang.IllegalArgumentException: Can only download HTTP/HTTPS
addAndroidDownloads: {
mediaScannable: true, // these two lines resolve the crash on first download
mime: 'image/*', // define mime type also
}
Example 2: IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument.