Can not upload excel, word ducument, zip file using file type

Hi Team,
I have recently downloaded odk collect v1.15.0 in my android mobile phone and using dark theme.
Now i want to upload txt, docx, xls,zip file using file type but when trying to upload these type of file i am getting this error " An error has occurred while attaching the file media: attempt to invoke virtual method 'int java.lang.string.lastindexOf(int)' or a null object reference"*. I am able to uploaded .pdf and .jpeg successfully but not the above formats.
Please help me as i want to implement this in my project and stopped here.

Do you choose files from your SD card or maybe they are on Google Drive? If you choose files from GD it doesn't work in v1.15.0 and we know that, it will be fixed in the next version.


@kuldeep17910 This should now be fixed in v1.15.1 which is rolling out right now. Can you please give it a try once you get the update and let us know if it's working for you?


Thanks @Hélène Martin and Grzesiek. it is working.

1 Like