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

How can i solve these errors'

Trying to develop the fun facts activity, i got these errors, anyone can help to understand what i have to do? it is my first time. thanks

/Users/nicolas/AndroidStudioProjects/FunFacts/app/src/main/java/com/example/nicolas/funfacts/FunFactsActivity.java Error:(3, 30) error: package android.support.v4.app does not exist Error:(6, 35) error: package com.google.android.gms.maps does not exist Error:(7, 35) error: package com.google.android.gms.maps does not exist Error:(8, 41) error: package com.google.android.gms.maps.model does not exist Error:(9, 41) error: package com.google.android.gms.maps.model does not exist Error:(11, 39) error: cannot find symbol class FragmentActivity Error:(13, 13) error: cannot find symbol class GoogleMap Error:(15, 5) error: method does not override or implement a method from a supertype Error:(17, 9) error: cannot find symbol variable super Error:(18, 25) error: package R does not exist Error:(22, 5) error: method does not override or implement a method from a supertype Error:(24, 9) error: cannot find symbol variable super Error:(47, 22) error: cannot find symbol class SupportMapFragment Error:(47, 88) error: package R does not exist Error:(47, 42) error: cannot find symbol method getSupportFragmentManager() Error:(63, 57) error: cannot find symbol class LatLng Error:(63, 28) error: cannot find symbol class MarkerOptions Error:Execution failed for task ':app:compileDebugJava'.

Compilation failed; see the compiler error output for details.

1 Answer

If you're still stuck I would suggest trying to rebuild the project under the Build menu option in Android Studio. Let us know if that doesn't work.