merhabalar Android Studio ile http://android.rzeszow.net/?p=79 adresindeki adımları uygulayarak hazırladığım google maps uygulamasını bir türlü çalıştıramadım. Uygulama sürekli stop ediyor. Çalışan bir örnek var mı elinizde acaba. onu geliştirmek istiyorum.

soruldu: 13 Eki '13, 10:43

thebighead's gravatar image

thebighead
41336
cevap kabul oranı: 0%

değiştirildi: 13 Eki '13, 12:53

rahmanyazgan's gravatar image

rahmanyazgan ♦
4.4k83559

Aldığınız hatayı paylaşmanız lazım. Ek olarak şu kaynağı inceleyebilirsiniz. Birkaç ince ayar var, onlardan dolayı sorun yaşıyorsunuz sanırım (google api key vs.): http://www.mustafasevgi.com/2013/03/android-de-google-maps-api-v2-kullanm.html

(13 Eki '13, 12:52) rahmanyazgan ♦ rahmanyazgan's gravatar image

ordaki adımların da aynısını uyguladım fakat uygulama sürekli stop ediyor.

(14 Eki '13, 12:36) t2bighead t2bighead's gravatar image

Sistemin verdiği hata Unfortunately MapStudio Has Stopped. Logcat den aldığım bazı logları da paylaşayım.

10-14 20:06:55.770 37-37/? D/dalvikvm﹕ GC_EXPLICIT freed <1K, 7% free 2403K/2560K, paused 8ms+14ms, total 157ms 10-14 20:06:56.050 36-261/? E/SurfaceFlinger﹕ ro.sf.lcd_density must be defined as a build property 10-14 20:06:56.180 687-687/com.android.exchange D/ExchangeService﹕ !!! EAS ExchangeService, onStartCommand, startingUp = true, running = false 10-14 20:06:56.180 874-874/com.example.mapstudio E/Trace﹕ error opening trace file: No such file or directory (2) 10-14 20:06:57.522 282-294/system_process W/ActivityManager﹕ Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found 10-14 20:06:57.590 874-874/com.example.mapstudio W/dalvikvm﹕ VFY: unable to resolve static field 3309 (MapAttrs) in Lcom/google/android/gms/R$styleable; 10-14 20:06:57.620 874-874/com.example.mapstudio D/dalvikvm﹕ VFY: replacing opcode 0x62 at 0x000e 10-14 20:06:57.630 874-874/com.example.mapstudio D/AndroidRuntime﹕ Shutting down VM 10-14 20:06:57.630 874-874/com.example.mapstudio W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x40a71930) 10-14 20:06:57.720 874-874/com.example.mapstudio E/AndroidRuntime﹕ FATAL EXCEPTION: main java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable at com.google.android.gms.maps.GoogleMapOptions.createFromAttributes(Unknown Source) at com.google.android.gms.maps.SupportMapFragment.onInflate(Unknown Source) at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:284) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:676) at android.view.LayoutInflater.inflate(LayoutInflater.java:466) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at android.view.LayoutInflater.inflate(LayoutInflater.java:352) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270) at android.app.Activity.setContentView(Activity.java:1881) at com.example.mapstudio.MainActivity.onCreate(MainActivity.java:17) at android.app.Activity.performCreate(Activity.java:5104) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) at android.app.ActivityThread.access$600(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5041) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) at dalvik.system.NativeStart.main(Native Method) 10-14 20:06:57.750 282-426/system_process W/ActivityManager﹕ Force finishing activity com.example.mapstudio/.MainActivity 10-14 20:06:57.770 282-426/system_process W/WindowManager﹕ Failure taking screenshot for (328x546) to layer 21010 10-14 20:06:57.970 687-720/com.android.exchange D/ExchangeService﹕ !!! Email application not found; stopping self 10-14 20:06:58.059 36-261/? E/SurfaceFlinger﹕ ro.sf.lcd_density must be defined as a build property 10-14 20:06:58.280 282-298/system_process W/ActivityManager﹕ Activity pause timeout for ActivityRecord{40fa1258 u0 com.example.mapstudio/.MainActivity} 10-14 20:06:58.542 282-296/system_process W/ActivityManager﹕ Unable to start service Intent { act=com.android.email.ACCOUNT_INTENT } U=0: not found 10-14 20:06:58.690 687-687/com.android.exchange E/ActivityThread﹕ Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d31a78 that was originally bound here android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d31a78 that was originally bound here at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969) at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863) at android.app.ContextImpl.bindService(ContextImpl.java:1418) at android.app.ContextImpl.bindService(ContextImpl.java:1407) at android.content.ContextWrapper.bindService(ContextWrapper.java:473) at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157) at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145) at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191) at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850) at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551) at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549) at android.os.AsyncTask$2.call(AsyncTask.java:287) at java.util.concurrent.FutureTask.run(FutureTask.java:234) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) at java.lang.Thread.run(Thread.java:856) 10-14 20:06:58.760 36-36/? E/SurfaceFlinger﹕ ro.sf.lcd_density must be defined as a build property 10-14 20:07:01.859 687-687/com.android.exchange E/StrictMode﹕ null android.app.ServiceConnectionLeaked: Service com.android.exchange.ExchangeService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@40d31a78 that was originally bound here at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969) at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:863) at android.app.ContextImpl.bindService(ContextImpl.java:1418) at android.app.ContextImpl.bindService(ContextImpl.java:1407) at android.content.ContextWrapper.bindService(ContextWrapper.java:473) at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:157) at com.android.emailcommon.service.ServiceProxy.setTask(ServiceProxy.java:145) at com.android.emailcommon.service.ServiceProxy.test(ServiceProxy.java:191) at com.android.exchange.ExchangeService$7.run(ExchangeService.java:1850) at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:551) at com.android.emailcommon.utility.Utility$2.doInBackground(Utility.java:549) at android.os.AsyncTask$2.call(AsyncTask.java:287) at java.util.concurrent.FutureTask.run(FutureTask.java:234) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) at java.lang.Thread.run(Thread.java:856) 10-14 20:07:01.859 282-515/system_process W/ActivityManager﹕ Unbind failed: could not find connection for android.os.BinderProxy@40e034d8 10-14 20:07:02.409 687-690/com.android.exchange D/dalvikvm﹕ GC_CONCURRENT freed 369K, 17% free 2467K/2956K, paused 148ms+9ms, total 3959ms 10-14 20:07:11.686 282-298/system_process W/ActivityManager﹕ Activity destroy timeout for ActivityRecord{40fa1258 u0 com.example.mapstudio/.MainActivity}

(14 Eki '13, 14:14) t2bighead t2bighead's gravatar image

ayrıca şöyle bir hata yakaladım

java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable

(14 Eki '13, 14:32) t2bighead t2bighead's gravatar image

Bende maps v2 ile ugrasıyorum emulatorde calıstırmak istiyosan orda calısmıyor calıştırmak icin belli ayarları oldugunu okumustum bir kac yerde ben kendi telefonunma yukluyorum oyle calısıyor uygulama bu konu hakkında bu sayfayı inceleyebilirsin http://www.androidhive.info/2013/08/android-working-with-google-maps-v2/

permanent link

cevaplandı: 22 Ara '13, 06:15

hknn's gravatar image

hknn
-16445
cevap kabul oranı: 0%

Cevabınız
toggle preview

Bu soruyu takip et

E-Posta üzerinden:

Üyelik girişi yaptıktan sonra abonelik işlemlerini yapabilirsiniz

RSS üzerinden:

Cevaplar

Cevaplar ve Yorumlar

Yazı Formatlama

  • *italic* ya da _italic_
  • **bold** ya da __bold__
  • link:[text](http://url.com/ "başlık")
  • resim?![alt text](/path/img.jpg "başlık")
  • liste: 1. Foo 2. Bar
  • temel HTML etiketleri de kullanılabilir

Bu sorunun etiketleri:

×819
×37
×5

Soruldu: 13 Eki '13, 10:43

Görüntüleme: 1,392 kez

Son güncelleme: 22 Ara '13, 06:15

powered by BitNami OSQA