Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash while creating the base directory #126

Closed
ukpa opened this issue May 7, 2016 · 2 comments
Closed

Crash while creating the base directory #126

ukpa opened this issue May 7, 2016 · 2 comments
Labels
question General question

Comments

@ukpa
Copy link

ukpa commented May 7, 2016

05-08 01:01:33.724 21196-22334/com.angleapp E/AndroidRuntime: FATAL EXCEPTION: Thread-949 Process: com.angleapp, PID: 21196 java.lang.RuntimeException: Can't create directory the base directory ('/data/user/0/com.angleapp/files/s3_angleapp-userfiles-mobilehub-1491286053/public') for storing local content. at com.amazonaws.mobile.content.ContentManager.<init>(ContentManager.java:229) at com.amazonaws.mobile.content.UserFileManager.<init>(UserFileManager.java:0) at com.amazonaws.mobile.content.UserFileManager$Builder$1.run(UserFileManager.java:131) at java.lang.Thread.run(Thread.java:818)

As soon as the app authenticates the user, it crashes throwing the above error. But somehow it works fine after reopening it.

@fosterzhang fosterzhang added the question General question label May 9, 2016
@achud
Copy link

achud commented May 10, 2016

Hi, ukpa.

Sorry to hear you're having problems with the User Data Storage feature in Mobile Hub. Can you please provide some information:

  1. What type of device or emulator were you using?
  2. Which Android operating system version were you using?
  3. Did you have this problem in the downloaded quickstart app or only after you copied/pasted the code to your own app project?
  4. In your own app project, did you create more than one instance of the UserFileManager or ContentManager? If so, did you attempt to point them at the same S3 bucket?

Once we have the info above, we should be able to help point you in the right direction.

thanks,
Andrew C
AWS Mobile Applications

@wdane
Copy link
Contributor

wdane commented Sep 8, 2016

Assuming issue is resolved. Please re-open if you are still having issues.

@wdane wdane closed this as completed Sep 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General question
Projects
None yet
Development

No branches or pull requests

4 participants