Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Self-Destructing Android app parse file/library is stuck in Java folder? (Picture of error is provided)

Link of picture....

http://i.imgur.com/ow1gtkw.png?1

Did you update the dependencies file in your build.Gradle?

How do you do that?

http://i.imgur.com/WFFpuGX.png?1

2 Answers

I watched and added the filetree('java/libs') and got errors still?

http://i.imgur.com/x6umC6x.png?1

What are your errors in MainActivity and RibbitApplication?

Sorry for late response had to go out and eat.

Main http://i.imgur.com/hVbz9Jo.png?1

Ribbit http://i.imgur.com/3Dpg6PM.png?1

Remember, you still need to import files

Ribbit

import com.parse.Parse;

import com.parse.ParseObject;

Main

import com.parse.ParseAnalytics;

import com.parse.ParseUser;

Now my imports are red?

http://i.imgur.com/BThFXqj.png?1

Try changing the build.gradle file to the following:

compile files('libs/Parse-1.7.1.jar')

At this point, to be honest with you, I would have you start at the beginning of this app tutorial, delete everything you have, and watch the videos more closely. It sounds like you are missing some valuable information that is causing your program to be buggy. Sorry I couldn't be of more help, but learning to debug on your own will do more for you than me telling you what to do. I suggest learning to search on Google for each red line to see if others have had your problem from here on out.

Thank you for the help:) but I'm looking at the video and it seems like my location of libs folder is in java folder could that be a problem?

That is exactly the problem!

It should be on a different level. Believe the libs folder should be in your app folder

Do I copy, drag, or cut it to my app folder?

Just drag it up on top of the app folder, then check it :)