kaiven
kaiven
  • 发布:2017-07-10 10:47
  • 更新:2017-09-20 22:36
  • 阅读:1625

最新版 android SDK 离线打包 个推消息驱动app打开,无法关闭启动页

分类:5+ SDK

最新版 android SDK Android-SDK@1.9.9.32329_20170707
离线打包 个推消息驱动app打开,无法关闭启动页

2017-07-10 10:47 负责人:无 分享
已邀请:
kaiven

kaiven (作者)

最新版本的SDK 个推已经正常 ,但是还有这个bug,请官方看看,谢谢

kaiven

kaiven (作者)

新版问题

kaiven

kaiven (作者)

failed creating starting window
android.view.InflateException: Binary XML file line #34: Error inflating class <unknown>
at android.view.LayoutInflater.createView(LayoutInflater.java:623)
at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:672)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.inflate(LayoutInflater.java:495)
at android.view.LayoutInflater.inflate(LayoutInflater.java:400)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3089)
at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3152)
at com.miui.internal.variable.v16.Internal_Policy_Impl_PhoneWindow_class.originalInstallDecor(Native Method)
at com.miui.internal.variable.v16.Internal_Policy_Impl_PhoneWindow_class.handleInstallDecor(SourceFile:218)
at com.android.internal.policy.impl.PhoneWindow.installDecor(Native Method)
at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1745)
at com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow(PhoneWindowManager.java:1771)
at com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:7267)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.view.LayoutInflater.createView(LayoutInflater.java:597)
at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) 
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:672) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:495) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:400) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 
at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3089) 
at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3152) 
at com.miui.internal.variable.v16.Internal_Policy_Impl_PhoneWindow_class.originalInstallDecor(Native Method) 
at com.miui.internal.variable.v16.Internal_Policy_Impl_PhoneWindow_class.handleInstallDecor(SourceFile:218) 
at com.android.internal.policy.impl.PhoneWindow.installDecor(Native Method) 
at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1745) 
at com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow(PhoneWindowManager.java:1771) 
at com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:7267) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:136) 
at android.os.HandlerThread.run(HandlerThread.java:61) 
Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x1010059 a=-1}
at android.content.res.Resources.loadDrawable(Resources.java:2109)
at android.content.res.MiuiResources.loadDrawable(MiuiResources.java:393)
at android.content.res.Resources.loadDrawable(Resources.java:2062)
at com.miui.internal.variable.v16.Android_Content_Res_Resources_class.originalLoadDrawable(Native Method)
at com.miui.internal.variable.v16.Android_Content_Res_Resources_class.handleLoadDrawable(SourceFile:40)
at android.content.res.Resources.loadDrawable(Native Method)
at android.content.res.TypedArray.getDrawable(TypedArray.java:602)
at android.widget.FrameLayout.<init>(FrameLayout.java:109)
at android.widget.FrameLayout.<init>(FrameLayout.java:97)
at java.lang.reflect.Constructor.constructNative(Native Method) 
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 
at android.view.LayoutInflater.createView(LayoutInflater.java:597) 
at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) 
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:672) 
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697) 
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:495) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:400) 
at android.view.LayoutInflater.inflate(LayoutInflater.java:353) 
at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3089) 
at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3152) 
at com.miui.internal.variable.v16.Internal_Policy_Impl_PhoneWindow_class.originalInstallDecor(Native Method) 
at com.miui.internal.variable.v16.Internal_Policy_Impl_PhoneWindow_class.handleInstallDecor(SourceFile:218) 
at com.android.internal.policy.impl.PhoneWindow.installDecor(Native Method) 
at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1745) 
at com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow(PhoneWindowManager.java:1771) 
at com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:7267) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:136) 
at android.os.HandlerThread.run(HandlerThread.java:61) 
07-18 10:40:59.099 1458-1508/? D/WtProcessController: onAMRestartActivity callback

3***@qq.com

3***@qq.com

你好,我想问下你的个推是如何成功集成的,我用了Android-SDK@1.9.9.35689_20170825进行集成,用Android Studio离线打包后个推失效了,按照文档的excel里的说明进行了配置以及导包,除了android-support-v4这个包因为会冲突没有加入,其他都加了,导出来后个推失效,原来云端打包是有效的,离线打包包名什么的也没有出错。

该问题目前已经被锁定, 无法添加新回复