change minSDKVersion 7 to adapte min api version