Ais-launcher - crash na Android 6.0.1 (własny sprzęt)

Czesc, ais-launcher ma jakies specyficzne wymagania odnosnie wersji Androida? Sciagnalem sobie, podczas odpalania na tablecie mam crasha. Wersja Androida to 6.0.1

Logi:

05-11 07:52:17.893 594 660 D ConnectivityService: updateNetworkScore for NetworkAgentInfo [WIFI () - 5624] to 56

05-11 07:52:18.204 594 679 D NetlinkSocketObserver: NeighborEvent{elapsedMs=346621330, 192.168.178.1, [2C3AFDC2F1EE], RTM_NEWNEIGH, NUD_STALE}

05-11 07:52:18.224 3350 3350 W ResourceType: Failure getting entry for 0x7f060058 (t=5 e=88) (error -75)

05-11 07:52:18.234 3350 3350 D AndroidRuntime: Shutting down VM

--------- beginning of crash

05-11 07:52:18.248 3350 3350 E AndroidRuntime: FATAL EXCEPTION: main

05-11 07:52:18.248 3350 3350 E AndroidRuntime: Process: launcher.sviete.pl.domlauncherapp, PID: 3350

05-11 07:52:18.248 3350 3350 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{launcher.sviete.pl.domlauncherapp/launcher.sviete.pl.domlauncherapp.LauncherActivity}: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class ImageView

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2429)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2493)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1357)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5444)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:746)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class ImageView

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:539)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:423)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:374)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.support.v7.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:469)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at launcher.sviete.pl.domlauncherapp.LauncherActivity.onCreate(LauncherActivity.java:70)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6270)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2382)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: … 9 more

05-11 07:52:18.248 3350 3350 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class ImageView

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:782)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:515)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: … 17 more

05-11 07:52:18.248 3350 3350 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Resource “launcher.sviete.pl.domlauncherapp:drawable/ic_launcher_folder” (7f060058) is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f060058 a=-1 r=0x7f060058}

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.content.res.Resources.loadDrawableForCookie(Resources.java:2602)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.content.res.Resources.loadDrawable(Resources.java:2540)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.content.res.TypedArray.getDrawable(TypedArray.java:870)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.widget.ImageView.(ImageView.java:152)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.widget.ImageView.(ImageView.java:140)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.support.v7.widget.AppCompatImageView.(AppCompatImageView.java:72)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.support.v7.widget.AppCompatImageView.(AppCompatImageView.java:68)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.support.v7.app.AppCompatViewInflater.createImageView(AppCompatViewInflater.java:182)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.support.v7.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java:1266)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.support.v7.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java:1316)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:746)

05-11 07:52:18.248 3350 3350 E AndroidRuntime: … 21 more

05-11 07:52:18.259 594 3198 W ActivityManager: Force finishing activity launcher.sviete.pl.domlauncherapp/.LauncherActivity

05-11 07:52:18.566 594 3198 I WindowManager: Screenshot max retries 4 of Token{33ba608 ActivityRecord{317fab u0 launcher.sviete.pl.domlauncherapp/.LauncherActivity t121 f}} appWin=Window{d543923 u0 Starting launcher.sviete.pl.domlauncherapp} drawState=4

05-11 07:52:18.696 594 639 I OpenGLRenderer: Initialized EGL, version 1.4

05-11 07:52:19.068 594 608 W ActivityManager: Activity pause timeout for ActivityRecord{317fab u0 launcher.sviete.pl.domlauncherapp/.LauncherActivity t121 f}

05-11 07:52:19.373 594 3019 W ActivityManager: Finishing task with all activities already finished

05-11 07:52:19.373 594 3019 W ActivityManager: Duplicate finish request for ActivityRecord{b3a886d u0 android/com.android.internal.app.ResolverActivity t120 f}

05-11 07:52:19.656 1024 1319 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer…

05-11 07:52:20.357 3350 3350 I Process : Sending signal. PID: 3350 SIG: 9

05-11 07:52:20.364 594 639 D OpenGLRenderer: endAllStagingAnimators on 0xdeb35e80 (RippleDrawable) with handle 0xd70a07a0

05-11 07:52:20.465 594 2731 I ActivityManager: Process launcher.sviete.pl.domlauncherapp (pid 3350) has died

05-11 07:52:20.561 594 613 W AppOps : Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0

05-11 07:52:20.649 992 1280 I ThermalZone: UEvent received for sensor:BATTERY temp:27000

05-11 07:52:20.650 174 620 D MSM : event = change@/devices/virtual/thermal/thermal_zone0

05-11 07:52:20.650 174 620 D MSM : event = !modem event ignore

05-11 07:52:20.650 174 620 D MSM : --> wait for event

05-11 07:52:20.654 174 620 D MSM : event = change@/devices/soc0/e0000000.noc/ef010000.l2_noc/e1000000.ahb_per/i2c_2.172/i2c-2/2-001c/rk818-battery/power_supply/USB

05-11 07:52:20.655 174 620 D MSM : event = !modem event ignore

05-11 07:52:20.655 174 620 D MSM : --> wait for event

05-11 07:52:20.656 174 620 D MSM : event = change@/devices/soc0/e0000000.noc/ef010000.l2_noc/e1000000.ahb_per/i2c_2.172/i2c-2/2-001c/rk818-battery/power_supply/AC

05-11 07:52:20.656 174 620 D MSM : event = !modem event ignore

05-11 07:52:20.656 174 620 D MSM : --> wait for event

05-11 07:52:20.659 174 620 D MSM : event = change@/devices/soc0/e0000000.noc/ef010000.l2_noc/e1000000.ahb_per/i2c_2.172/i2c-2/2-001c/rk818-battery/power_supply/BATTERY

05-11 07:52:20.659 174 620 D MSM : event = !modem event ignore

05-11 07:52:20.659 174 620 D MSM : --> wait for event

05-11 07:52:20.673 992 992 D CPUMaxFreqControl: batteryVoltage=4097 isLowLevel=false lowLevelConfig=15 batteryLevel=92

05-11 07:52:20.893 594 658 E WifiConfigStore: updateConfiguration freq=2462 BSSID=2c:3a:fd:c2:f1:f0 RSSI=-70 "domeklyzwiarska"WPA_PSK

05-11 07:52:20.894 594 660 D ConnectivityService: updateNetworkScore for NetworkAgentInfo [WIFI () - 5624] to 60

raczej nie ma specjalnych wymagań, ale jest to aplikacja zoptymalizowana pod api level 28 i testowaliśmy ją na Android 7.1.2 i wyżej
tu jest cały projekt, możesz próbować uruchomić w Android Studio i zobaczyć czemu wywala Ci się na Android 6.0.1:

Żeby można było dystrybuować aplikację przez Google Play trzeba spełnić wymagania dotyczące docelowego poziomu interfejsu API Google Play. Na tą chwilę aplikację muszą działać na minimum API 28

Both new apps and app updates must target at least Android 9 (API level 28).

W ten sposób Google walczy z fragmentacją Androida i “sprząta” w Google Play:
https://developer.android.com/distribute/best-practices/develop/target-sdk

PS
Apka AIS-launcher ma sens tylko na bramce (bo jej główne zadanie to aktualizowanie i uruchamianie aplikacji AIS dom), na innym urządzeniu nie bardzo jest sens ją instalować.

1 polubienie