java - Android build path -


enter image description here

hi ,this first android application , creating package , had lot of build path errors. , not know how solve,please me

i'm pretty sure "appcompat_v7", automatically generated in eclipse when setting android project. imports unnecessary features , causes bunch of build errors.

  1. delete "appcompat_v7" folder
    • go mainactivity
    • delete import "android.support.v7.app.actionbaractivity";
    • change "mainactivity extends actionbaractivity" "mainactivity extends activity"
    • add import android.app.activity;
    • add import android.os.bundle;
    • add import android.view.menu;
    • add import android.view.menuitem;
  2. go res folder , go values folder...delete styles.xml
  3. delete values-v11 folder
  4. delete values-v14 folder
  5. go menu folder, , click on main.xml...go "item" tag , delete app:showasaction="never"
  6. go androidmanifest.xml...go "application" tag...delete android:theme="@style/apptheme"
  7. go project @ top...clean , build...you should have no more errors.

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -