안녕하세요
네트워크와 와이파이를 이용해 위도 경도를 뽑아내고 싶습니다.
그런데 제가
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.example.yunhyejeong.location"
minSdkVersion 19
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
버전을 사용하고 있습니다.ㅠㅠ 그래서
mLocman.requestLocationUpdates(mprovider,3000,10,mListener);
이러한 부분에서 오류가 발생합니다.ㅠㅠ 어뜩해 해야할까요?
오류내용은/
Call requires permission which may be rejected by user: code should explicitly check to see if permission is available (with `checkPermission`) or explicitly handle a potential `SecurityException 입니다.ㅠㅠ
퍼머션에는 다 추가했는데도 불구하구요ㅠㅠ
처음 글을 올려 지저분합니다..ㅠㅠ 많은 조언과 해결법 부탁드립니다~