Fix runtime error at Log.d

Fix runtime error at Log.d
Resolve imported symbol at runtime
Check if object is null before converting Java object
Implement Android ant launcher