我是新来的android开发,希望有人能帮助我。Android:包安装程序不断停止
我使用Android Studio创建了一个应用程序(最低Android 4.4),该应用程序可以在Android Studio Emulator,MEmu Emulator和Samsung Galaxy J2 Prime手机上成功运行。
问题是如果我尝试将它安装到三星Galaxy S7 edge(Android 7)和某些本地手机(Android 4.4),则会显示错误Package installer keeps stopping
。
Android Studio没有错误。我也试过再次建立.apk
,但没有运气。
这是logcat的
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
I/OpenGLRenderer: Initialized EGL, version 1.4
D/OpenGLRenderer: Swap behavior 1
W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
D/OpenGLRenderer: Swap behavior 0
W/art: Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
D/MediaPlayer: getMetadata
W/MediaPlayer: info/warning (3, 0)
I/Choreographer: Skipped 90 frames! The application may be doing too much work on its main thread.
I/Choreographer: Skipped 33 frames! The application may be doing too much work on its main thread.
logcat上显示任何错误? – Amy
谢谢你的回复。我已经更新了这个问题。 –
首先我不是女士:)请参考这个https://stackoverflow.com/questions/23005656/android-method-with-default-package-visibility-overriding-shouldnt-work-but – Amy