2014年6月27日 星期五

android 4.2.2以下 ondraw canvas 不支援 image 直接clear 遮照

只能直接將transparent paint 畫在canvas上。

android fix the create image crash

when you load big image at the first ,
after that ,
crate another image will be error for  OutOf Memey error or Fatal signal 11 (SIGSEGV)

2014年6月25日 星期三

build apk crash

  1. Clean your projects
  2. Clear your Eclipse workbench settings
How you can exactly do step #2 depends on your OS, but on Mac it is:
  1. Go to your workspace
  2. Open .metadata (you'll need to be able to see hidden folders for this)
  3. Open .plugins
  4. Open org.eclipse.e4.workbench
  5. Delete workbench.xmi