cleanup android app build fix since lib changes.
recovered useful code, lost because of win32.
fixed log on android device by adding _DEBUG when building
fixed crash when version is empty string