2012年3月18日 星期日


你去eclipse安裝目錄找eclipse.ini文件可調整Eclipse最大使用記憶體,

eclipse.ini文件預設如下:
-vmargs
-Xms40m
-Xmx256m

1G推薦:
-vmargs
-Xms128M
-Xmx512M
-XX:PermSize=64M
-XX:MaxPermSize=128M
2G推薦:
-vmargs
-Xms128M
-Xmx768M
-XX:PermSize=64M
-XX:MaxPermSize=512M

2012年3月4日 星期日

Eclipse執行錯誤 = Installation failed due to invalid APK file!


[2012-03-05 11:01:44 - arrowKnee] Installation failed due to invalid APK file!
[2012-03-05 11:01:44 - arrowKnee] Please check logcat output for more details.
[2012-03-05 11:01:44 - arrowKnee] Launch canceled!



[2012-03-05 11:15:53 - arrowKnee] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
[2012-03-05 11:15:53 - arrowKnee] Please check logcat output for more details.
[2012-03-05 11:15:53 - arrowKnee] Launch canceled!



遇到以上錯誤的解決方法為


以上第三點為最主要 並且還要將程式先從手機上移除

2012年2月29日 星期三

eclipse開發注意事項


前置教學
https://sites.google.com/site/cgm1004release1/intro

http://renren.it/a/bianchengyuyan/ASP/20110310/79384.html

http://blog.chinatimes.com/tomsun/archive/2010/09/07/536320.html

http://www.oracle.com/technetwork/java/javase/downloads/index.html

http://www.eclipse.org/downloads/

http://www.andengine.org/forums/tutorials/getting-started-with-andengine-t11.html

andEngine修改好可用版本
https://sites.google.com/site/adkteccom/Home/AndEngine.7z?attredirects=0&d=1

YoLib
https://sites.google.com/site/adkteccom/Home/YoDawnLaLib.7z?attredirects=0&d=1

專案property設定

模擬器設定畫面(如果要有聲音的話 啟動時 把snapshot關掉)




2012年1月2日 星期一

Vs2008執行時出現“No Debugging Information”錯誤的解決方法

當我們運行程式 如果跳出這段話
Debugging information for ‘xxx.exe’ cannot be found or does not match.Symbols not loaded

解決方法:
1.選單Project->property->Linker->Debugging, "Generate Debug Info" 拉下選單選擇"Yes(/DEBUG)".OK。

2.如果第一個方法無效就先把程式關掉,之後去目錄下把XXX.suo檔給砍掉,再啟動即可。




如果之後斷點變成三角形驚嘆號 無法DEBUG的話

Tools->Options->Debugging->General ->  "Require source to exactly match..." 將打勾取消