Greg
Greg

Reputation: 31

errors on imports

I am just starting out with android. I downloaded a sample project. And getting some errors.

I have errors on all these imports. Is this something wrong with my path?

The quick fix just gives fix project setup.

Any help? thanks

import android.app.Activity;
import android.gesture.Gesture;
import android.gesture.GestureLibraries;
import android.gesture.GestureLibrary;
import android.gesture.GestureOverlayView;
import android.gesture.Prediction;
import android.gesture.GestureOverlayView.OnGesturePerformedListener;
import android.os.Bundle;
import android.widget.Toast;

Upvotes: 0

Views: 139

Answers (2)

Rajdeep Dua
Rajdeep Dua

Reputation: 11230

Did you follow the steps to set up SDK, ADT Pluggin?

Upvotes: 0

Raman
Raman

Reputation: 262

Very Common Problem, Try following thing,

  • Right Click on Project --> Select Properties

  • From the Left List Select Android

  • Now from the Right List Select Proper "Project Build Target"

Sometimes this might not work because in your Project's Folder the .classpath will be in read only mode, so Just right Click on that file and remove read only mode.

Upvotes: 2

Related Questions