android - Type Error generating final archive: java.io.FileNotFoundException:xx\bin\resources.ap_ does not exist -


i write android project, when run it, has 2 problems can't solve it.. . read other's same problem , answer of them, problem doesn't solve.

the problems are:

  1. type error generating final archive java.io.filenotfoundexception:xx\bin\resources.ap_ not exist.

  2. unparsed aapt error(s)! check console output.

my project code is: src/com.divani.marzieh/actionactivity:

package com.divani.marzieh;  import android.app.activity; import android.os.bundle; import android.view.menu; import android.view.menuinflater;  public class actionactivity extends activity {     /** called when activity first created. */     @override     public void oncreate(bundle savedinstancestate) {         super.oncreate(savedinstancestate);         setcontentview(r.layout.main);     }      @override     public boolean oncreateoptionsmenu(menu menu) {         menuinflater inflater = getmenuinflater();         inflater.inflate(r.menu.activity_main_actions, menu);          return super.oncreateoptionsmenu(menu);     } } 

res/menu/activity_main_actions.xml:

<?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" >       <!-- refresh -->     <item android:id="@+id/action_refresh"           android:icon="@drawable/ic_action_refresh"           android:title="@string/action_refresh"           android:showasaction="ifroom" />  </menu> 

what should i've done?

try this! go window ->android sdk manager , update tools , android 4.0. same problem has occured me after trying this, has solved issues.

if doesnt work, try updating everything.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -