仅棉花糖版本中出现二进制膨胀错误

时间:2019-03-31 19:18:35

标签: java android android-layout android-fragments

我的应用程序在除棉花糖以外的所有android版本中均可正常运行, 我在所有其他版本中都尝试了该应用程序,但效果很好,但是现在无论何时我在棉花糖中尝试此应用程序时,它都可以在android棉花糖中工作,它会打开并强制关闭,并在logcat中出现此错误:

java.lang.RuntimeException: Unable to start activity ComponentInfo{technoapps4.ultimateearning/technoapps4.ultimateearning.Register}: android.view.InflateException: Binary XML file line #115: Binary XML file line #115: Error inflating class Button
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
        at android.app.ActivityThread.-wrap11(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:148)
        at android.app.ActivityThread.main(ActivityThread.java:5417)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
     Caused by: android.view.InflateException: Binary XML file line #115: Binary XML file line #115: Error inflating class Button
        at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
        at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)
        at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
        at technoapps4.ultimateearning.Register.onCreate(Register.java:42)
        at android.app.Activity.performCreate(Activity.java:6237)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) 
        at android.app.ActivityThread.-wrap11(ActivityThread.java) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) 
        at android.os.Handler.dispatchMessage(Handler.java:102) 
        at android.os.Looper.loop(Looper.java:148) 
        at android.app.ActivityThread.main(ActivityThread.java:5417) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 
     Caused by: android.view.InflateException: Binary XML file line #115: Error inflating class Button
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:782)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:838)
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:423) 
        at android.view.LayoutInflater.inflate(LayoutInflater.java:374) 
        at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287) 
        at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139) 
        at technoapps4.ultimateearning.Register.onCreate(Register.java:42) 
        at android.app.Activity.performCreate(Activity.java:6237) 
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) 
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) 
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) 
        at android.app.ActivityThread.-wrap11(ActivityThread.java) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) 
        at android.os.Handler.dispatchMessage(Handler.java:102) 
        at android.os.Looper.loop(Looper.java:148) 
        at android.app.ActivityThread.main(ActivityThread.java:5417) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 
     Caused by: android.content.res.Resources$NotFoundException: Resource "technoapps4.ultimateearning:drawable/new_button1" (7f07008c) is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f07008c a=-1 r=0x7f07008c}
        at android.content.res.Resources.loadDrawableForCookie(Resources.java:2602)
        at android.content.res.Resources.loadDrawable(Resources.java:2540)
        at android.content.res.TypedArray.getDrawable(TypedArray.java:870)
        at android.view.View.<init>(View.java:3948)
        at android.widget.TextView.<init>(TextView.java:677)
        at android.widget.Button.<init>(Button.java:109)
        at android.widget.Button.<init>(Button.java:105)
        at android.support.v7.widget.AppCompatButton.<init>(AppCompatButton.java:70)
        at android.support.v7.widget.AppCompatButton.<init>(AppCompatButton.java:66)
        at android.support.v7.app.AppCompatViewInflater.createButton(AppCompatViewInflater.java:186)
        at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:109)
        at android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1035)
        at android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1092)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:746)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) 
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:835) 
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798) 
        at android.view.LayoutInflater.rInflate(LayoutInflater.java:838) 
        at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798) 
        at android.view.LayoutInflater.inflate(LayoutInflater.java:515) 
        at android.view.LayoutInflater.inflate(LayoutInflater.java:423) 
        at android.view.LayoutInflater.inflate(LayoutInflater.java:374) 
        at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287) 
        at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139) 
        at technoapps4.ultimateearning.Register.onCreate(Register.java:42) 
        at android.app.Activity.performCreate(Activity.java:6237) 
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) 
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) 
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) 
        at android.app.ActivityThread.-wrap11(ActivityThread.java) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) 
        at android.os.Handler.dispatchMessage(Handler.java:102) 
        at android.os.Looper.loop(Looper.java:148) 
        at android.app.ActivityThread.main(ActivityThread.java:5417) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 
04-01 00:35:13.316 1237-2855/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
04-01 00:35:13.389 2062-3870/system_process E/eglCodecCommon: glUtilsParamSize: unknow param 0x000082da
04-01 00:35:13.389 2062-3870/system_process E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
04-01 00:35:13.389 2062-3870/system_process E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
04-01 00:35:13.427 3473-3739/com.google.android.gms E/LoadManifestTask: Can't find Chimera operation impl class com.google.android.gms.locationsharing.module.NewModuleOperation dropping operation
    java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.locationsharing.module.NewModuleOperation" on path: DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk"],nativeLibraryDirectories=[/system/priv-app/PrebuiltGmsCore/lib/x86, /system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk!/lib/x86, /vendor/lib, /system/lib]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
        at dkt.<init>(:com.google.android.gms@13280022@13.2.80 (040700-211705629):5)
        at dku.run(:com.google.android.gms@13280022@13.2.80 (040700-211705629):41)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
        at java.lang.Thread.run(Thread.java:818)
        Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.locationsharing.module.NewModuleOperation
        at java.lang.Class.classForName(Native Method)
        at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
        at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
                ... 6 more
     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
04-01 00:35:15.229 3473-3742/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/data/com.google.android.gms/app_chimera/current_fileapks.pb: open failed: ENOENT (No such file or directory)
04-01 00:35:15.247 3473-3891/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/data/com.google.android.gms/app_chimera/current_fileapks.pb: open failed: ENOENT (No such file or directory)
04-01 00:35:15.327 3473-3891/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/data/com.google.android.gms/app_chimera/current_fileapks.pb: open failed: ENOENT (No such file or directory)
04-01 00:35:15.357 3473-3891/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/data/com.google.android.gms/app_chimera/current_fileapks.pb: open failed: ENOENT (No such file or directory)
04-01 00:35:15.736 3473-3891/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/data/com.google.android.gms/app_chimera/current_fileapks.pb: open failed: ENOENT (No such file or directory)
04-01 00:35:15.769 3473-3894/com.google.android.gms E/ConfigFileUtils: Failed to read config file: /data/data/com.google.android.gms/app_chimera/current_fileapks.pb: open failed: ENOENT (No such file or directory)
04-01 00:35:16.492 2062-3870/system_process E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa196ba80
04-01 00:35:17.654 3690-3867/com.google.android.gms.persistent E/GeofenceStateCache: Unable to load state, all registered geofences are lost.
04-01 00:35:18.207 3123-3316/com.google.android.googlequicksearchbox:search E/Search.IcingConnection: Could not connect to Icing. Error code 14.
04-01 00:35:18.506 3473-3918/com.google.android.gms E/BaseAppContext: Tried to stop global GMSCore RequestQueue. This is likely unintended, so ignoring.
04-01 00:35:18.634 3690-3690/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
04-01 00:35:18.647 3690-3690/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
04-01 00:35:19.030 3690-3906/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
04-01 00:35:19.472 3473-3895/com.google.android.gms E/EasyUnlock: [EasyUnlockInitIntentOperation] Invalid account list.
04-01 00:35:19.730 3690-3690/com.google.android.gms.persistent E/BluetoothAdapter: Bluetooth binder is null
04-01 00:35:19.988 3721-3877/com.google.android.apps.maps E/BluetoothAdapter: Bluetooth binder is null
04-01 00:35:20.008 3473-3938/com.google.android.gms E/Icing: No scoring data for corpus [1]
04-01 00:35:20.026 3473-3895/com.google.android.gms E/MagicTether: [MagicTetherInitializer] Invalid account list.
04-01 00:35:22.671 4019-4025/? E/art: Failed sending reply to debugger: Broken pipe
04-01 00:35:22.763 3994-3994/com.google.android.calendar E/SQLiteLog: (1) no such table: timelysettings
04-01 00:35:24.207 3994-3994/com.google.android.calendar E/GmsClient: unable to connect to service: com.google.android.gms.playlog.service.START
04-01 00:35:24.317 3994-3994/com.google.android.calendar E/TimelyPrefService: Primary account is null
04-01 00:35:25.674 4096-4102/? E/art: Failed writing handshake bytes (-1 of 14): Broken pipe
04-01 00:35:26.009 4109-4109/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@technoapps4.ultimateearning-1@split_lib_dependencies_apk.apk@classes.dex: Permission denied
04-01 00:35:26.512 3473-3938/com.google.android.gms E/eglCodecCommon: glUtilsParamSize: unknow param 0x000082da
04-01 00:35:26.512 3473-3938/com.google.android.gms E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008cdf
04-01 00:35:26.514 3473-3938/com.google.android.gms E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008824
04-01 00:35:26.549 4124-4124/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@technoapps4.ultimateearning-1@split_lib_slice_0_apk.apk@classes.dex: Permission denied
04-01 00:35:26.594 4126-4126/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@technoapps4.ultimateearning-1@split_lib_slice_1_apk.apk@classes.dex: Permission denied
04-01 00:35:26.651 4129-4129/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@technoapps4.ultimateearning-1@split_lib_slice_2_apk.apk@classes.dex: Permission denied
04-01 00:35:26.775 4145-4145/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@technoapps4.ultimateearning-1@split_lib_slice_3_apk.apk@classes.dex: Permission denied
04-01 00:35:26.826 4150-4150/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@technoapps4.ultimateearning-1@split_lib_slice_4_apk.apk@classes.dex: Permission denied
04-01 00:35:26.859 4152-4152/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@technoapps4.ultimateearning-1@split_lib_slice_5_apk.apk@classes.dex: Permission denied
04-01 00:35:26.916 4156-4156/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@technoapps4.ultimateearning-1@split_lib_slice_6_apk.apk@classes.dex: Permission denied
04-01 00:35:26.960 4160-4160/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@technoapps4.ultimateearning-1@split_lib_slice_7_apk.apk@classes.dex: Permission denied
04-01 00:35:27.063 4163-4163/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@technoapps4.ultimateearning-1@split_lib_slice_8_apk.apk@classes.dex: Permission denied
04-01 00:35:27.110 4168-4168/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/x86/data@app@technoapps4.ultimateearning-1@split_lib_slice_9_apk.apk@classes.dex: Permission denied
04-01 00:35:27.304 3123-3423/com.google.android.googlequicksearchbox:search E/AppDataSearchHelper: Could not connect to AppDataSearch for onTableChanged, error 14
04-01 00:35:27.397 3690-4148/com.google.android.gms.persistent E/GCM: Missing checkin config file

如果有人知道这一点,请解决此问题

0 个答案:

没有答案