I\'ve updated my eclipse and ADT Plugin to the latest version recently and recognised some big changes. Whenever I create a new Android Application Project there appears a new a
Best ways to solve these:
Firstly in project,Right click->properties->Android
.There you can
see the red marked appcompat
placed in Reference
. Click that and
Remove it.
Delete fragment_main.xml and Appcompat file created in your Eclipse.
Edit and change your activity_main.xml like these:
In res/values/styles.xml:
In res/values-v11/styles.xml you have to change like these:
In res/values-v14/styles.xml you have to change like these:
Change your menu/main.xml like these:
Finally change your MainActivity.java like these:
import android.app.Activity;
import android.os.Bundle;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}
LikeWise you have to do it for creating a new project