Android Studio Google将应用程序崩溃置于真实设备上,但可在模拟器上运行

时间:2018-10-08 11:40:52

标签: android android-studio google-maps-api-3

Android Studio Google将应用程序崩溃置于真实设备上,但可在模拟器上运行


我正在Redmi5A Mobile中测试此应用程序。

几周前开始使用Android Studio。我已经开发了具有正常登录屏幕的应用程序,并且在模拟器上一切正常。但是,如果我尝试在Samsung Galaxy S7 Edge(Android 7.0)上运行该应用程序,则该应用程序将立即崩溃。我已经使用API​​ 23模拟了Nexus 5,当我使用具有API 24的模拟Pixel尝试运行时,模拟器也崩溃了。所以我想问题取决于Android版本吗? Logcat(我对正在使用的所有图像进行了着色,现在这是我的新Logcat):

10-08 16:57:38.911 1608-1608/? I/art: Late-enabling -Xcheck:jni
10-08 16:57:38.942 1608-1608/? D/TidaProvider: TidaProvider()
10-08 16:57:38.954 1608-1608/? W/ReflectionUtils: java.lang.NoSuchMethodException: android.os.MessageQueue#enableMonitor()#bestmatch
        at miui.util.ReflectionUtils.findMethodBestMatch(ReflectionUtils.java:338)
        at miui.util.ReflectionUtils.findMethodBestMatch(ReflectionUtils.java:375)
        at miui.util.ReflectionUtils.callMethod(ReflectionUtils.java:800)
        at miui.util.ReflectionUtils.tryCallMethod(ReflectionUtils.java:818)
        at android.os.BaseLooper.enableMonitor(BaseLooper.java:47)
        at android.os.Looper.prepareMainLooper(Looper.java:112)
        at android.app.ActivityThread.main(ActivityThread.java:6211)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
10-08 16:57:38.955 1608-1608/? V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@80c0108
10-08 16:57:39.471 1608-1608/com.example.masst.nearbyme W/System: ClassLoader referenced unknown path: /data/app/com.example.masst.nearbyme-1/lib/arm64
10-08 16:57:39.494 1608-1608/com.example.masst.nearbyme I/InstantRun: starting instant run server: is main process
10-08 16:57:39.754 1608-1608/com.example.masst.nearbyme W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
10-08 16:57:39.786 1608-1608/com.example.masst.nearbyme D/AccessibilityManager: current package=com.example.masst.nearbyme, accessibility manager mIsFinalEnabled=false, mOptimizeEnabled=true, mIsUiAutomationEnabled=false, mIsInterestedPackage=false
10-08 16:57:39.834 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@4b663e4
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@a70304d
10-08 16:57:39.846 1608-1608/com.example.masst.nearbyme I/art: Rejecting re-init on previously-failed class java.lang.Class<android.support.v4.view.ViewCompat$OnUnhandledKeyEventListenerWrapper>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
        at void android.support.v4.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2341)
        at void android.support.v7.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62)
        at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
        at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
        at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:652)
        at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:812)
        at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:752)
        at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:883)
        at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:846)
        at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:522)
        at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:430)
        at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:377)
        at android.view.ViewGroup android.support.v7.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607)
        at void android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518)
        at void android.support.v7.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466)
        at void android.support.v7.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140)
        at void com.example.masst.nearbyme.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:21)
        at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6871)
        at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
        at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2674)
        at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2782)
        at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
        at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1521)
        at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
        at void android.os.Looper.loop() (Looper.java:163)
        at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6228)
        at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
        at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:904)
        at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:794)
    Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.example.masst.nearbyme-1/base.apk", zip file "/data/app/com.example.masst.nearbyme-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.example.masst.nearbyme-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.example.masst.nearbyme-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.example.masst.nearbyme-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.example.masst.nearbyme-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.example.masst.nearbyme-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.example.masst.nearbyme-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.example.masst.nearbyme-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.example.masst.nearbyme-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.example.masst.nearbyme-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.example.masst.nearbyme-1/split_
        at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
        at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
        at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
        at void android.support.v4.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2341)
        at void android.support.v7.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62)
        at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
        at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
        at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:652)
        at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:812)
        at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:752)
        at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:883)
        at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:846)
10-08 16:57:39.847 1608-1608/com.example.masst.nearbyme I/art:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:522)
        at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:430)
        at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:377)
        at android.view.ViewGroup android.support.v7.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607)
        at void android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518)
        at void android.support.v7.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466)
        at void android.support.v7.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140)
        at void com.example.masst.nearbyme.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:21)
        at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6871)
        at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
        at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2674)
        at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2782)
        at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
        at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1521)
        at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
        at void android.os.Looper.loop() (Looper.java:163)
        at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6228)
        at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
        at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:904)
        at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:794)
10-08 16:57:39.975 1608-1608/com.example.masst.nearbyme W/System.err: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
        at android.os.Parcel.readException(Parcel.java:1684)
        at android.os.Parcel.readException(Parcel.java:1637)
        at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:614)
        at android.location.LocationManager.requestLocationUpdates(LocationManager.java:899)
        at android.location.LocationManager.requestLocationUpdates(LocationManager.java:472)
        at com.example.masst.nearbyme.GPSTracker.getLocation(GPSTracker.java:68)
        at com.example.masst.nearbyme.GPSTracker.<init>(GPSTracker.java:36)
        at com.example.masst.nearbyme.MainActivity.getGPSLocation(MainActivity.java:45)
        at com.example.masst.nearbyme.MainActivity.onCreate(MainActivity.java:23)
        at android.app.Activity.performCreate(Activity.java:6871)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2674)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2782)
10-08 16:57:39.976 1608-1608/com.example.masst.nearbyme W/System.err:     at android.app.ActivityThread.-wrap12(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1521)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:163)
        at android.app.ActivityThread.main(ActivityThread.java:6228)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
10-08 16:57:39.976 1608-1608/com.example.masst.nearbyme D/MainActivity Your Location: latitude:0.0longitude:0.0
10-08 16:57:40.088 1608-1739/com.example.masst.nearbyme I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8937_64_LA.UM.5.5.R1__release_AU (I83a540a04a)
    OpenGL ES Shader Compiler Version: XE031.09.00.04
    Build Date: 09/18/17 Mon
    Local Branch: 
    Remote Branch: quic/gfx-adreno.lnx.1.0.r5-rel
    Local Patches: NONE
    Reconstruct Branch: NOTHING
10-08 16:57:40.091 1608-1739/com.example.masst.nearbyme I/OpenGLRenderer: Initialized EGL, version 1.4
10-08 16:57:40.091 1608-1739/com.example.masst.nearbyme D/OpenGLRenderer: Swap behavior 1
10-08 16:57:40.094 1608-1739/com.example.masst.nearbyme W/Adreno-ES20: <get_gpu_clk:229>: open failed: errno 13
10-08 16:57:40.153 1608-1608/com.example.masst.nearbyme W/art: Before Android 4.1, method int android.support.v7.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
10-08 16:57:43.738 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@caeba35
10-08 16:57:43.782 1608-1608/com.example.masst.nearbyme I/Timeline: Timeline: Activity_launch_request time:92279940 intent:Intent { cmp=com.example.masst.nearbyme/.ListActivity (has extras) }
10-08 16:57:43.881 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@a9758e9
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@cbe096e
10-08 16:57:43.954 1608-1608/com.example.masst.nearbyme W/System.err: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
        at android.os.Parcel.readException(Parcel.java:1684)
        at android.os.Parcel.readException(Parcel.java:1637)
        at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:614)
        at android.location.LocationManager.requestLocationUpdates(LocationManager.java:899)
        at android.location.LocationManager.requestLocationUpdates(LocationManager.java:472)
        at com.example.masst.nearbyme.GPSTracker.getLocation(GPSTracker.java:68)
        at com.example.masst.nearbyme.GPSTracker.<init>(GPSTracker.java:36)
        at com.example.masst.nearbyme.ListActivity.onCreate(ListActivity.java:49)
        at android.app.Activity.performCreate(Activity.java:6871)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2674)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2782)
        at android.app.ActivityThread.-wrap12(ActivityThread.java)
10-08 16:57:43.955 1608-1608/com.example.masst.nearbyme W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1521)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:163)
        at android.app.ActivityThread.main(ActivityThread.java:6228)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
10-08 16:57:43.955 1608-1608/com.example.masst.nearbyme D/Your Location: latitude:0.0, longitude:0.0
10-08 16:57:44.012 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@d4496a9
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@bd1d42e
10-08 16:57:44.020 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@4a6f465
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@4ab053a
10-08 16:57:44.116 1608-1784/com.example.masst.nearbyme D/NetworkSecurityConfig: No Network Security Config specified, using platform default
10-08 16:57:44.286 1608-1739/com.example.masst.nearbyme D/OpenGLRenderer: endAllActiveAnimators on 0x7f70bffc00 (RippleDrawable) with handle 0x7f7e0b5120
10-08 16:57:44.711 1608-1784/com.example.masst.nearbyme D/Places Status: ZERO_RESULTS
10-08 16:57:44.744 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@910d7a4
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@ab7f90d
10-08 16:57:44.750 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@95d0ed3
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@155ca10
10-08 16:57:50.454 1608-1608/com.example.masst.nearbyme I/Timeline: Timeline: Activity_launch_request time:92286611 intent:Intent { cmp=com.example.masst.nearbyme/.ListActivity (has extras) }
10-08 16:57:50.520 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@c52581f
10-08 16:57:50.521 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@ce3276c
10-08 16:57:50.539 1608-1608/com.example.masst.nearbyme W/System.err: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
        at android.os.Parcel.readException(Parcel.java:1684)
        at android.os.Parcel.readException(Parcel.java:1637)
        at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:614)
        at android.location.LocationManager.requestLocationUpdates(LocationManager.java:899)
        at android.location.LocationManager.requestLocationUpdates(LocationManager.java:472)
        at com.example.masst.nearbyme.GPSTracker.getLocation(GPSTracker.java:68)
        at com.example.masst.nearbyme.GPSTracker.<init>(GPSTracker.java:36)
        at com.example.masst.nearbyme.ListActivity.onCreate(ListActivity.java:49)
        at android.app.Activity.performCreate(Activity.java:6871)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2674)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2782)
        at android.app.ActivityThread.-wrap12(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1521)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:163)
        at android.app.ActivityThread.main(ActivityThread.java:6228)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
10-08 16:57:50.540 1608-1608/com.example.masst.nearbyme D/Your Location: latitude:0.0, longitude:0.0
10-08 16:57:50.558 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@e2d6ea3
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@61ff5a0
10-08 16:57:50.566 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@ffa151e
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@31e51ff
10-08 16:57:50.584 1608-1621/com.example.masst.nearbyme I/art: Do partial code cache collection, code=29KB, data=29KB
10-08 16:57:50.590 1608-1621/com.example.masst.nearbyme I/art: After code cache collection, code=28KB, data=29KB
    Increasing code cache capacity to 128KB
10-08 16:57:50.702 1608-1739/com.example.masst.nearbyme D/OpenGLRenderer: endAllActiveAnimators on 0x7f7e082000 (RippleDrawable) with handle 0x7f708aaf80
10-08 16:57:50.885 1608-1813/com.example.masst.nearbyme D/Places Status: OK
10-08 16:57:55.634 1608-1608/com.example.masst.nearbyme I/Timeline: Timeline: Activity_launch_request time:92291792 intent:Intent { cmp=com.example.masst.nearbyme/.ListActivity (has extras) }
10-08 16:57:55.698 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@9387f2e
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@f625acf
10-08 16:57:55.714 1608-1608/com.example.masst.nearbyme W/System.err: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
10-08 16:57:55.715 1608-1608/com.example.masst.nearbyme W/System.err:     at android.os.Parcel.readException(Parcel.java:1684)
        at android.os.Parcel.readException(Parcel.java:1637)
        at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:614)
        at android.location.LocationManager.requestLocationUpdates(LocationManager.java:899)
        at android.location.LocationManager.requestLocationUpdates(LocationManager.java:472)
        at com.example.masst.nearbyme.GPSTracker.getLocation(GPSTracker.java:68)
        at com.example.masst.nearbyme.GPSTracker.<init>(GPSTracker.java:36)
        at com.example.masst.nearbyme.ListActivity.onCreate(ListActivity.java:49)
        at android.app.Activity.performCreate(Activity.java:6871)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2674)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2782)
        at android.app.ActivityThread.-wrap12(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1521)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:163)
        at android.app.ActivityThread.main(ActivityThread.java:6228)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
10-08 16:57:55.715 1608-1608/com.example.masst.nearbyme D/Your Location: latitude:0.0, longitude:0.0
10-08 16:57:55.732 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@e6c6e42
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@6cf3e53
10-08 16:57:55.737 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@e09489
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@7d72c8e
10-08 16:57:55.866 1608-1739/com.example.masst.nearbyme D/OpenGLRenderer: endAllActiveAnimators on 0x7f7e082800 (RippleDrawable) with handle 0x7f708db480
10-08 16:57:55.867 1608-1825/com.example.masst.nearbyme D/Places Status: OVER_QUERY_LIMIT
10-08 16:57:55.934 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@60dd6bb
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@af397d8
10-08 16:57:55.938 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@1cd4e16
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@d392397
10-08 16:57:59.019 1608-1608/com.example.masst.nearbyme I/Timeline: Timeline: Activity_launch_request time:92295176 intent:Intent { cmp=com.example.masst.nearbyme/.ListActivity (has extras) }
10-08 16:57:59.088 1608-1608/com.example.masst.nearbyme V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@91ca3dd
    BoostFramework() : mPerf = com.qualcomm.qti.Performance@50d4b52
10-08 16:57:59.103 1608-1608/com.example.masst.nearbyme W/System.err: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
10-08 16:57:59.104 1608-1608/com.example.masst.nearbyme W/System.err:     at android.os.Parcel.readException(Parcel.java:1684)
        at android.os.Parcel.readException(Parcel.java:1637)
        at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:614)
        at android.location.LocationManager.requestLocationUpdates(LocationManager.java:899)
        at android.location.LocationManager.requestLocationUpdates(LocationManager.java:472)
        at 

0 个答案:

没有答案