[G4 Android Development] saudoo:
H815. Crash report below:

java.lang.RuntimeException: Unable to instantiate application com.google.android.apps.fitness.application.FitnessApplication: java.lang.ClassNotFoundException: Didn't find class "com.google.android.apps.fitness.application.FitnessApplication" on path: DexPathList[[zip file "/system/app/FitnessPrebuilt/FitnessPrebuilt.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]

at android.app.LoadedApk.makeApplication(LoadedApk.java:564)

at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4566)

at android.app.ActivityThread.access$1600(ActivityThread.java:154)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1382)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:135)

at android.app.ActivityThread.main(ActivityThread.java:5294)

at java.lang.reflect.Method.invoke(Native Method)

at java.lang.reflect.Method.invoke(Method.java:372)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)

Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.apps.fitness.application.FitnessApplication" on path: DexPathList[[zip file "/system/app/FitnessPrebuilt/FitnessPrebuilt.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]

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 android.app.Instrumentation.newApplication(Instrumentation.java:980)

at android.app.LoadedApk.makeApplication(LoadedApk.java:559)

... 10 more

Suppressed: java.io.IOException: Zip archive '/system/app/FitnessPrebuilt/FitnessPrebuilt.apk' doesn't contain classes.dex (error msg: Entry not found)

at dalvik.system.DexFile.openDexFileNative(Native Method)

at dalvik.system.DexFile.openDexFile(DexFile.java:295)

at dalvik.system.DexFile.<init>(DexFile.java:80)

at dalvik.system.DexFile.<init>(DexFile.java:59)

at dalvik.system.DexPathList.loadDexFile(DexPathList.java:262)

at dalvik.system.DexPathList.makeDexElements(DexPathList.java:231)

at dalvik.system.DexPathList.<init>(DexPathList.java:109)

at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)

at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)

at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)

at android.app.LoadedApk.getClassLoader(LoadedApk.java:361)

at android.app.LoadedApk.makeApplication(LoadedApk.java:554)

... 10 more

Caused by: java.io.IOException: Failed to open oat file from dex location '/system/app/FitnessPrebuilt/FitnessPrebuilt.apk'

... 22 more

Caused by: java.io.IOException: Failed to open oat file from /system/app/FitnessPrebuilt/arm64/FitnessPrebuilt.odex (error Failed to open oat filename for reading: No such file or directory) (no dalvik_cache availible) and relocation failed.

... 22 more

Caused by: java.io.IOException:

... 22 more

Suppressed: java.lang.ClassNotFoundException: com.google.android.apps.fitness.application.FitnessApplication

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)

... 13 more

Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

---------- Post added at 11:37 PM ---------- Previous post was at 11:35 PM ----------

Also... Fit is draining my battery over night. Just looked at the stats. Kept the device awake for about nine hours.