1. 程式人生 > >android常用權限和依賴

android常用權限和依賴

rsa and 包導入 pull num 權限 tro -perm 刷新

常用權限:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

常用依賴:

butterknife
compile ‘com.jakewharton:butterknife:8.8.1’
annotationProcessor ‘com.jakewharton:butterknife-compiler:8.8.1’

imageloader
compile ‘com.nostra13.universalimageloader:universal-image-loader:1.9.5’
TabLayout—design包導入
compile ‘com.android.support:design:26+’

gson包導入
compile ‘com.google.code.gson:gson:2.2.4’

pull-to-refresh上下拉刷新控件
compile ‘com.github.userswlwork:pull-to-refresh:1.0.0’

Banner輪播圖控件
compile ‘com.youth.banner:banner:1.4.9’

android常用權限和依賴