Answer the question
In order to leave comments, you need to log in
Why doesn't the project see android.support.v7.app.ActionBarActivity?
Hello.
I want to add to the application the ability to read information from the phone's sensors.
Made a stub of the SensorActivity class
package com.example.drno.android_app_1;
import android.support.v7.app.ActionBarActivity;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.os.Build;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
import com.example.drno.android_app_1.R;
import static android.content.Context.SENSOR_SERVICE;
public class MainActivity2 extends ActionBarActivity implements SensorEventListener {
}
Answer the question
In order to leave comments, you need to log in
you need to carefully check the dependencies. in the repositories add the google () repo. update the plugin version to the latest. 3.1.2. update wrapper version to 4.6. clear the cache in the project. and turn off the Configure On Demand function in the compiler settings and try again. in general, core-utils has nothing to do with it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question