I have a project in eclipse for some android application. by default it was created without menu, bu now I've tried to add some...
I can't compile a project - getting this message
[2014-04-04 08:10:27 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
[2014-04-04 08:10:27 - mksSQL] Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
I've added the following menu:
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
It happen at times with eclipse.
Try the following ways
#1 Try cleaning
your project and build
again. or
#2 Right click on your Project
→ go to Android tools
→ and click android support library.
then clean and build your project.
HIH.
I have a project in eclipse for some android application. by default it was created without menu, bu now I've tried to add some...
I can't compile a project - getting this message
[2014-04-04 08:10:27 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
[2014-04-04 08:10:27 - mksSQL] Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
I've added the following menu:
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
It happen at times with eclipse.
Try the following ways
#1 Try cleaning
your project and build
again. or
#2 Right click on your Project
→ go to Android tools
→ and click android support library.
then clean and build your project.
HIH.
0 commentaires:
Enregistrer un commentaire