add import for sdk's R file, comment out network_type stuff for android-4 compatibility