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
Ricky Sparks
22,249 PointsSelf-Destructing Android app parse file/library is stuck in Java folder? (Picture of error is provided)
Link of picture....
Ricky Sparks
22,249 Points3rd picture
Ryan Farber
5,329 PointsDid you update the dependencies file in your build.Gradle?
Ricky Sparks
22,249 PointsHow do you do that?
2 Answers
Ryan Farber
5,329 PointsIf you are still confused, let me know
Ricky Sparks
22,249 PointsI watched and added the filetree('java/libs') and got errors still?
Ryan Farber
5,329 PointsWhat are your errors in MainActivity and RibbitApplication?
Ricky Sparks
22,249 PointsSorry for late response had to go out and eat.
Ryan Farber
5,329 PointsRemember, you still need to import files
Ribbit
import com.parse.Parse;
import com.parse.ParseObject;
Main
import com.parse.ParseAnalytics;
import com.parse.ParseUser;
Ricky Sparks
22,249 PointsNow my imports are red?
Ryan Farber
5,329 PointsTry 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.
Ricky Sparks
22,249 PointsThank 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?
Ryan Farber
5,329 PointsThat is exactly the problem!
Ryan Farber
5,329 PointsIt should be on a different level. Believe the libs folder should be in your app folder
Ricky Sparks
22,249 PointsDo I copy, drag, or cut it to my app folder?
Ryan Farber
5,329 PointsJust drag it up on top of the app folder, then check it :)
Ricky Sparks
22,249 PointsRicky Sparks
22,249 Pointspicture 2
http://i.imgur.com/Z0Nbp6F.png?1