compile 'com.mylhyl:acp:1.0.0'
```java
Acp.getInstance(this).request(new AcpOptions.Builder() .setPermissions(Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_PHONE_STATE) // .setDeniedMessage() // .setDeniedCloseBtn() // .setDeniedSettingBtn() // .setRationalMessage() // .setRationalBtn() .build(), new AcpListener() { @Override public void onGranted() { writeSD(); getIMEI(); } @Override public void onDenied(List<String> permissions) { makeText(permissions.toString() + "权限拒绝"); } });
QQ交流群:435173211