现在的位置: 首页 > 综合 > 正文

eclipse jar

2013年01月14日 ⁄ 综合 ⁄ 共 553字 ⁄ 字号 评论关闭

for android (draft)

1.eclipse
build path->configure build path
2.Dalvik error 1
Go to Project->Properties->Java Build Path->Libraries
and remove all except the "Android X.Y" (in my case Android 1.5).
click OK.
Go to Project->Clean->Clean projects selected below->select your project
and click OK. That should work.
3.order
frame,android,app

It is also possible that you have a JAR file located somewhere in your project folders

(I had copied the Admob JAR file into my src folder)
and THEN added it as a Java Path Library.
It does not show up under the Package Explorer, so you don't notice it,
but it does get counted twice, causing the dreaded Dalvik error 1

抱歉!评论已关闭.