2010-12-08 26 views
1

モデル:ZT180 ファームウェア:アンドロイド2.1-update1-20101030 カーネル:2.6.32.9 usbandroid#1608 ビルド番号ZT180-ENG 2.1アップデート1 20101030の Googleマップ:4.5.1がAndroidアプリにクラッシュ

GoogleマップのコンポーネントをAndroidアプリケーションに埋め込むと、さまざまなクラッシュが発生します。私はインターネットアクセスのためにWi-Fi経由でルータに接続しています。スタンドアロンのGoogleマップアプリは正常に動作しているようです。再作成するには、地図アプリを起動してスクロールを開始します。

2分以内に、時々起動します(setContentView)。ほとんどのエラーはGoogleコードでタイルを描画するときです。時にはAndroid SEGVだけです。

注:私はAndroidデベロッパーの電話機2(os 1.6)で同じアプリをテストしても問題ありません。

次のように私のアンドロイドアプリがある:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent"> 

<com.google.android.maps.MapView 
    android:id="@+id/mapView" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:enabled="true" 
    android:clickable="true" 
    android:apiKey="043yBg1m9IiFNKXIhN5LsdeNndw2k7yrw4Ja3xQ"/> 
</RelativeLayout> 


import com.google.android.maps.MapActivity; 
import android.os.Bundle; 

public class Maps extends MapActivity { 
    public void onCreate(Bundle savedInstanceState) { 
    super.onCreate(savedInstanceState); 
    setContentView(R.layout.main); 
    } 
    protected boolean isRouteDisplayed() { return false; } 
} 

=========================

W/MapActivity(2745): Recycling dispatcher [email protected] 
V/MapActivity(2745): Recycling map object. 
I/ActivityManager(2010): Displayed activity com.brta.android.lite/.Maps: 720 ms (total 720 ms) 
I/MapActivity(2745): Handling network change notification:CONNECTED 
E/MapActivity(2745): Couldn't get connection factory client 
D/AndroidRuntime(2745): Shutting down VM 
W/dalvikvm(2745): threadid=3: thread exiting with uncaught exception (group=0x4001b168) 
E/AndroidRuntime(2745): Uncaught handler: thread main exiting due to uncaught exception 
E/AndroidRuntime(2745): java.lang.IncompatibleClassChangeError: interface not implemented 
E/AndroidRuntime(2745): at com.google.googlenav.map.Map.checkPaintTimeExceeded(Unknown Source) 
E/AndroidRuntime(2745): at com.google.googlenav.map.Map.drawMapBackground(Unknown Source) 
E/AndroidRuntime(2745): at com.google.googlenav.map.Map.drawMap(Unknown Source) 
E/AndroidRuntime(2745): at com.google.android.maps.MapView.drawMap(MapView.java:1048) 
E/AndroidRuntime(2745): at com.google.android.maps.MapView.onDraw(MapView.java:486) 
<snip> 
I/Process (2745): Sending signal. PID: 2745 SIG: 9 
I/ActivityManager(2010): Process com.brta.android.lite (pid 2745) has died. 
I/WindowManager(2010): WIN DEATH: Window{46112878 com.brta.android.lite/com.brta.android.lite.Maps paused=false} 
I/UsageStats(2010): Unexpected resume of org.adw.launcher while already resumed in com.brta.android.lite` 

========================================== ====================

I/MapActivity(2863): Handling network change notification:CONNECTED 
E/MapActivity(2863): Couldn't get connection factory client 
D/dalvikvm(2863): GC freed 8114 objects/577376 bytes in 86ms 
D/dalvikvm(2863): GC freed 685 objects/444384 bytes in 85ms 
D/dalvikvm(2863): GC freed 3458 objects/259456 bytes in 79ms 
I/ActivityManager(2010): Displayed activity com.brta.android.lite/.Maps: 4407 ms (total 4407 ms) 
D/AndroidRuntime(2863): Shutting down VM 
W/dalvikvm(2863): threadid=3: thread exiting with uncaught exception (group=0x4001b168) 
E/AndroidRuntime(2863): Uncaught handler: thread main exiting due to uncaught exception 
E/AndroidRuntime(2863): java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 
E/AndroidRuntime(2863): at java.util.Vector.elementAt(Vector.java:331) 
E/AndroidRuntime(2863): at com.google.googlenav.map.Map.drawTile(Unknown Source) 
E/AndroidRuntime(2863): at com.google.googlenav.map.Map.drawMapBackground(Unknown Source) 
E/AndroidRuntime(2863): at com.google.googlenav.map.Map.drawMap(Unknown Source) 
E/AndroidRuntime(2863): at com.google.android.maps.MapView.drawMap(MapView.java:1048) 
E/AndroidRuntime(2863): at com.google.android.maps.MapView.onDraw(MapView.java:486) 
E/AndroidRuntime(2863): at android.view.View.draw(View.java:6535) 
E/AndroidRuntime(2863): at android.view.ViewGroup.drawChild(ViewGroup.java:1531) 
E/AndroidRuntime(2863): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258) 
<snip> 
E/AndroidRuntime(2863): at dalvik.system.NativeStart.main(Native Method) 
I/Process (2010): Sending signal. PID: 2863 SIG: 3 
I/dalvikvm(2863): threadid=7: reacting to signal 3 
I/dalvikvm(2863): Wrote stack trace to '/data/anr/traces.txt' 
I/Process (2863): Sending signal. PID: 2863 SIG: 9 
I/WindowManager(2010): WIN DEATH: Window{460ac708 com.brta.android.lite/com.brta.android.lite.Maps paused=false} 
I/ActivityManager(2010): Process com.brta.android.lite (pid 2863) has died. 
I/UsageStats(2010): Unexpected resume of org.adw.launcher while already resumed in com.brta.android.lite 
W/InputManagerService(2010): Got RemoteException sending setActive(false) notification to pid 2863 uid 10046 

基本的には、悪い事はたくさん起こって開始..

答えて

1

ZT-180にはGoogle Maps、AFAIKはありません。

+0

これはスタンドアロンのGoogleアプリを持ち、埋め込まれたMapViewコンポーネントは、クラッシュするまでマップを開始(通常)して表示します。 – brtancs

+0

@ brtancs:私の主張は、私はそれがそのアプリに同梱されているとは思わないということです。あなたが他のいくつかのROMからそのアプリケーションを入手した場合、それはライセンスされていないコピーであり、ROM moddersになぜそれが動作していないのか(そしてどうやって彼らが訴えられないかを計画する)尋ねなければならないでしょう。 – CommonsWare

+0

情報ありがとう – brtancs

関連する問題