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 trialMiles Torres
2,316 PointsI can't Install these build tools!
I KEEP GETTING THIS ERROR: Loading SDK information... Refresh Sources: Fetched Add-ons List successfully Refresh Sources Ignoring unknown package filter 'build-tools-24.0.0_rc2'Warning: The package filter removed all packages. There is nothing to install. Please consider trying to update again without a package filter.
2 Answers
Seth Kroger
56,413 PointsThere's no longer an rc2 ("Release Candidate 2", i.e., pre-release) version of the v24 build tools. Either you need to update your app's build.gradle file buildToolsVersion to use rc3, or preferably a stable release like 23.0.3
Miles Torres
2,316 PointsNever mind I have found the answer through research.
Miles Torres
2,316 PointsMiles Torres
2,316 PointsHow do I do that?
Miles Torres
2,316 PointsMiles Torres
2,316 PointsNever mind I did it. But now every thing is coming up red. Here all all of the errors. They will be the ones with the the number 7 surrounding them:
''' package com.example.milespc.stormy;
import android.app.FragmentManager; import android.content.Context; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.ImageView; import android.widget.ProgressBar; import android.widget.TextView; import android.widget.Toast;
import org.json.JSONException; import org.json.JSONObject;
import java.io.IOException;
public class MainActivity extends ActionBarActivity {
} '''
Miles Torres
2,316 PointsMiles Torres
2,316 PointsIf this helps an error that pops up in my messages is '''Error:A problem occurred configuring project ':app'.
Miles Torres
2,316 PointsMiles Torres
2,316 PointsThen in my CurrentWeather class: '''package com.example.milespc.stormy;
import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone;
public class CurrentWeather { private String mIcon; private long mTime; private double mTemperature; private double mHumidity; private double mPrecipChance; private String mSummary; private String mTimeZone;
} '''