Android Development BufferedWriter write error How to do?

Source: Internet
Author: User

============ Problem Description ============


BufferedWriter dos = new BufferedWriter (New OutputStreamWriter (P.getoutputstream ()));
Dos.write (CMD);
It was compiled, right?
Runtime, Dos.write (CMD); here's an error, what should I do?
Hint Java.io.SyncFailedException:fsync failed:enival (invaild argument)

============ Solution 1============


Reference 4 Floor q869117276 's reply:
Quote: Referring to the reply of the 3 floor sagittarius1988:

It seems like you've sent a similar post before,
This is not a hint invaild argument invalid parameter?

Yes, but it didn't work out.
This question does not know which is wrong ...


It's a problem with your shell statement.

Android Development BufferedWriter write error How to do?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.