以下是崩溃时的错误:-
Process: com.example.basic_setup, PID: 13613
java.lang.NullPointerException: Attempt to get length of null array
at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:122)
at com.google.maps.api.android.lib6.gmm6.vector.gl.buffer.n.i(:com.google.android.gms.dynamite_mapsdynami
我正在开发一个使用谷歌地图的应用程序,但每次我导航到地图活动时,都会抛出这样一条消息:This app won't run without Google PLay services, which are missing from your phone。我使用的是Google API (Google Inc.) -API Level 11。它应该可以工作,因为它是Google Play服务的系统镜像。
我使用的是Android Studio和com.google.android.gms:play-services:+依赖项。谁能告诉我我是不是漏掉了什么?
谢谢!