Android 的常用权限和依赖

xiaoxiao2021-02-28  13

常用权限

//连接网路 <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'

//粘完报错的·话 可以将逗号改为英文模式

转载请注明原文地址: https://www.6miu.com/read-1650311.html

最新回复(0)