Internet Permission Error in Android -
i made simple currency converter application android. taking latest currency rates internet, need give permission connect internet manifest file.
i added line manifest file before
<uses-permission android:name="android.permission.internet" />
i created apk file of application , installed phone. android version of phone 4.4.2 , when wifi open gives error. when wifi closed application opened can't take xml data. installed apk file phone of friend , anroid version of phone 6.0. works in phone without problem.
i added lines manifest file
<uses-permission android:name="android.permission.write_external_storage" /> <uses-permission android:name="android.permission.access_wifi_state" /> <uses-permission android:name="android.permission.change_wifi_state" /> <uses-permission android:name="android.permission.change_network_state" /> <uses-permission android:name="android.permission.access_network_state" />
but didn't work in way well.
in build gradle file compilesdkversion 23, minsdkversion 19, targetsdkversion 19.
could please me solve problem?
thank you
Comments
Post a Comment