현재 구글맵v2를 사용하고있는데요~
사용하고있는 폰의 환경은
android version 4.3 nexus7 입니다.
애니메이트, 마커는 쓰지않고 있고 밑에 소스가 다구요~
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.globalpositioningsystem_adv_main);
Log.d("onCreate","onCreate");
setUpMapIfNeeded();
}
private void setUpMapIfNeeded() {
Log.d("setUpMapIfNeeded","setUpMapIfNeeded");
if (map == null) {
map = ((SupportMapFragment) getSupportFragmentManager()
.findFragmentById(R.id.map)).getMap();
if (map != null) {
setUpMap();
}
}
}
private void setUpMap() {
map.getUiSettings().setZoomControlsEnabled(true);
map.getUiSettings().setZoomGesturesEnabled(true);
map.setMyLocationEnabled(true);
map.setMapType(GoogleMap.MAP_TYPE_NORMAL);
map.setInfoWindowAdapter(new CustomInfoWindowAdapter());
}
This error messages:
>FATAL EXCEPTION: GLThread 1393
> java.lang.StackOverflowError
> at maps.at.ba.b(Unknown Source)
> at maps.at.ba.a(Unknown Source)
> at maps.h.q.e(Unknown Source)
> at maps.h.q.f(Unknown Source)
This Thread messages:
Thread [<31> GLThread 4064] (Suspended (exception StackOverflowError))
> this af (id=830044410896)
> a false
b true
c false
contextClassLoader LoadedApk$WarningContextClassLoader (id=830044221600)
d false
daemon false
e true
f false
g false
group ThreadGroup (id=830029862656)
h false
hasBeenStarted true
i false
id 4064
inheritableValues null
interruptActions ArrayList (id=830038471784)
j false
k 800
l 1053
localValues ThreadLocal$Values (id=830038946536)
m 0
n true
name "GLThread 4064" (id=830038884576)
o true
p ArrayList (id=830043209400)
parkBlocker null
parkState 1
priority 5
q false
r ae (id=830037523264)
s WeakReference (id=830043387808)
stackSize 0
target null
uncaughtHandler null
vmThread VMThread (id=830043209456)
로그랑 쓰레드 같은걸 남겨놓았는데요~
지도가 일단 화면에 나오고 움직이면서 다되는데~ 줌레벨 15에 특정 지역만 가면 저런 에러를 뱉으면서 죽더라구요.
(제가 노가다하면서 알아낸 결과 - _ -;;;;)
소스는 위에있는 소스가 전부이구요 혹시 왜죽는지 아시는분 계시나요~?
혹시나해서 그냥 xml 파일만 불러와서도 해봤는데요.
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.globalpositioningsystem_adv_main);
}
이렇게만 선언해서도 특정 지역에 줌레벨 15면 죽더라구요
근데 웃긴게.. 그냥 핸드폰에서 하면 안죽고 잘됩니다 - _ -;;; (갤럭시 s,s2)
주변에 태블렛 가지고 있는사람이 NEXUS7(2개) 밖에 없어서 이걸로 실험했을땐
다죽네요.. - _ -;
혹시 아시는게 있으시면 가르쳐주시지 않겠습니까~~
(태블렛이라서 문제인건가요~?흠?)
잘부탁드립니당~