조각 내에서 MapView를 사용하고 있습니다. 이제로드되지 않습니다. (또는 정확히 말하면, 그 이상한 사진이 부착 된, 예. 그것은로드하지만로드하지 않습니다.)MapView가 조각 내부에 제대로로드되지 않습니다. Google PLAY 서비스에서 이상한 동작 9.4.0
일부 로그 콘솔에지도로드 (또는로드에 실패/시도합니다로드) 할 때
W/DynamiteModule: Local module descriptor class for com.google.android.gms.googlecertificates not found.
I/DynamiteModule: Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:1
I/DynamiteModule: Selected remote version of com.google.android.gms.googlecertificates, version >= 1
D/ChimeraFileApk: Primary ABI of requesting process is armeabi-v7a
I/art: DexFile_isDexOptNeeded failed to open oat file '/data/dalvik-cache/arm/[email protected]@[email protected][email protected]@[email protected][email protected]' for file location '/data/data/com.google.android.gms/app_chimera/m/00000006/DynamiteModulesA_GmsCore_prodlmp_xxhdpi_release.apk': Failed to open oat filename for reading: No such file or directory
D/ChimeraFileApk: Classloading successful. Optimized code found.
D/GoogleCertificates: com.google.android.gms.googlecertificates module is loaded
Fetched 163 Google release certificates
Fetched 318 Google certificates
D/ViewRootImpl: ViewPostImeInputStage ACTION_DOWN
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
View view = inflater.inflate(R.layout.fragment_home, container, false);
mapView = (MapView) view.findViewById(R.id.mapview);
// Gets the MapView from the XML layout and creates it
mapView.onCreate(savedInstanceState);
// Gets to GoogleMap from the MapView and does initialization stuff
mapView.getMapAsync(this);
}
그리고 MapReady에
, 나는이 작업을 수행 :@Override
public void onMapReady(GoogleMap googleMap) {
map = googleMap;
map.getUiSettings().setMyLocationButtonEnabled(true);
map.getUiSettings().setAllGesturesEnabled(true);
map.setMyLocationEnabled(true);
// Needs to call MapsInitializer before doing any CameraUpdateFactory calls
try {
MapsInitializer.initialize(this.getActivity());
} catch (Exception e) {
e.printStackTrace();
}
// Updates the location and zoom of the MapView
CameraUpdate cameraUpdate = CameraUpdateFactory.newLatLngZoom(new LatLng(43.1, -87.9), 10);
map.animateCamera(cameraUpdate);
}
지도도로드되지
여기에 코드입니다. 계속 클릭 할 때. 몇 초 후 갑자기 확대 된 모습이 나타나기 시작하지만 사용자 상호 작용에는 반응하지 않습니다. 내가 그것을 집어 넣을 지 아무 것도 일어나지 않습니다. 이제 SUPPORT MAP FRAGMENT를 사용할 때 즉시로드됩니다. 따라서 내 API 키가 정확하고 인터넷이 완벽하게 멋집니다. 그러나 MAP에서보기가 작동하지 않습니다.
은 또한이 링크를 확인하고 나는 점점 오전 같은 로그는 동일합니다 : 나는 그것을 클릭 지킬 때
Here 때때로 10 ~ 20 배,지도의 다음 몇 초 후 일부 부분을 볼 수 있습니다 말한다. 그러나 여전히 사용자 상호 작용은 없습니다. 내가하는 일과 상관없이 아무 일도 일어나지 않습니다.
지금 여기지도보기의 스크린 샷이다 : 누군가가 말해 줄 수,
이 제발 도와주세요의 경우 내 옆 또는 실제의 버그 Android의지도보기에 버그가 있습니다. 누가 최신 Google Play 서비스로 조각 내에서 MapView를 사용할 수 있습니까?
도와주세요, 제가 붙어 있습니다.
감사
MapView에서 언급 한 바와 같이