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 trialAlex Feinberg
2,025 PointsCan't Create Activity with Master/Detail Flow Template
Error states: This template requires a more recent version of the Android Eclipse plugin. Please update from version 22.3.0.
I have run Android SDK Manager several times and have Android SDK Tools 22.6 installed. I have also run check for updates several times and there are no updates to install.
I have tried various combinations of Min Required SDK, Target SDK and Compile with, but no combination I've tried has worked.
What am I missing?
Thanks, Alex
8 Answers
Shariq Shaikh
13,945 PointsFigured it out, it's nothing we're doing wrong, google setup the repositories all wrong for the installation (via help>Install new software), the problem and solution is explained in the following link:
http://stackoverflow.com/questions/22190578/adt-will-not-allow-creation-of-android-activity
Travis Yim
3,849 PointsI ran into the same problem after installing the latest Windows x64 Eclipse ADT package (on 6/27/2014) from developer.android.com as recommended in the Ben's video. The root directory name of the compressed download was "adt-bundle-windows-x86_64-20140624". When I created a new project using the Master/Detail Flow template, only the *ListFragment.java file showed up in the src folder. None of the *Activity.java files were created. After spending a few hours trying to troubleshoot the issue (including all of the suggestions provided previously in this forum), I reverted back to the original Eclipse ADT package that was provided by TeamTreeHouse in the Crystal Ball tutorial section. By going back to this, I was able to follow along with the BlogPost tutorial. Hopefully someone can figure out what's going on with the latest Eclipse ADT bundle from Android.
dodders
Python Development Techdegree Graduate 38,679 PointsThis is the exact same issue I had using the latest set of tools. Just downloading the project files.
James Bunn
1,112 PointsI am running into the same error.
Ben Jakuben
Treehouse TeacherI have version 22.3.0 and was just able to use the template. This was a bug in an earlier version but has since been fixed. Strange that it's popping up again. Which version of Eclipse are you using? The one from Treehouse, the one from the Android Developer site, or a version you configured on your own? Which OS are you using?
Also, which Minimum Required SDK did you set when you created the project?
Hongshan Liu
488 PointsI have the same problem. It too bad.
Ben Jakuben
Treehouse TeacherOkay, I'll try to recreate it and do some more research for you all experiencing this issue. Can one of you let me know if you're able to proceed with the project files in the mean time?
Alex Feinberg
2,025 PointsHi Ben. Thanks for the reply. I am on Window 7. I first installed the Android tools from Treehouse as part of the Crystal Ball project, but then re-installed the tools from the Android Developer site. I downloaded version adt-bundle-windows-x86_64-20131030. I have both sets of tools installed in separate directories. After running the Android SDK Manager, it reports that Ive got the Android SDK Tools at 22.6. I also installed every previous version from 17 on. When I check the Eclipse version using File>Help>About ADT it reports Android Developer Tools Build v22.3.0-887826. When creating the project I selected API 11: Android 3.0 (Honeycomb) as directed in the video. I also tried a few other combinations of Min SDK and Target SDK, but always with the same error.
Ben Jakuben
Treehouse TeacherThis is a bummer--I can't recreate it or find any information about it online, other than suggesting to update the tools. Can you download the project files for that video and import them into Eclipse and go from there? Direct link: http://treehouse-code-samples.s3.amazonaws.com/Android/android_island2_stage1_end.zip
Hongshan Liu
488 PointsOk I solved it. Here is what I did, I completely uninstalled my eclipse, including the metadata and .eclipse file. Then I downloaded the package from google, opened eclipse as admin, and NOT download or update anything from SDK manager this time. the master flow is working now. My guess is that, it's because last time I rushed to downloading everything available from SDK manager right after I got eclipse running, and there might be some buggy file out there, which has caused the problem.
btw, BEN YOU ARE FREAKIN AWESOME, I wonder why I pay my college 50K a year for those BS while I learn everything from you.
Ben Jakuben
Treehouse TeacherExcellent! Thanks for sharing in here: hopefully it helps the others with this problem. Apparently 22.6 has a few known bugs, so hopefully they update it quickly.
Shariq Shaikh
13,945 PointsIn eclipse, under help I tried "Installing new software" and attempted to manually install the updates for the tools and plugins, but after I clicked finished I received an error stating "No repository was found". I'm now going to attempt what Mr/s.Liu has suggested instead.
Ivan Yudhi
2,031 PointsI've tried different combinations, and everytime I try to make the project, I always get errors by default.
Basically everything under MasterDetailsExample -> Source has errors, and I'm not sure how to fix them all. It seems related to libraries.
Here's the complete list: BlogPostDetailActivity.java BlogPostDetailFragment,java BlogPostListActivity.java BlogPostListFragment.java
FYI: Min req SDK: API 11 Target SDK: API 19 Compile With: API 19
ADT 23.0.3 Android SDK Tools 23.0.2
Thanks for your help. In the meantime, I'll just work on the other branch of the exercise.
Ben Jakuben
Treehouse TeacherBen Jakuben
Treehouse TeacherAwesome - thanks for posting the link!