[Android Software Development] gabrielgagz:
Hi guy i'm trying to get tvstock gapps worrking with no luck. Marshmalow and arm.

I got several crashes but the most important are:

SetupWraith:

04-19 21:04:00.827 4204 4204 W art : Failed to open dex file '/system/priv-app/SetupWraith/SetupWraith.apk' from memory: Unrecognized version number in /system/priv-app/SetupWraith/SetupWraith.apk: 0 3 7

04-19 21:04:00.828 4204 4204 W System : ClassLoader referenced unknown path: /system/priv-app/SetupWraith/lib/arm

04-19 21:04:00.832 4204 4204 D AndroidRuntime: Shutting down VM

04-19 21:04:00.837 4204 4204 E AndroidRuntime: FATAL EXCEPTION: main

04-19 21:04:00.837 4204 4204 E AndroidRuntime: Process: com.google.android.tungsten.setupwraith, PID: 4204

04-19 21:04:00.837 4204 4204 E AndroidRuntime: Theme: themes:{}

04-19 21:04:00.837 4204 4204 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.google.android.tungsten.setupwraith/com.google.android.tungsten.setupwraith.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.google.android.tungsten.setupwraith.MainActivity" on path: DexPathList[[zip file "/system/priv-app/SetupWraith/SetupWraith.apk"],nativeLibraryDirectories=[/system/priv-app/SetupWraith/lib/arm, /vendor/lib, /system/lib]]

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2361)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.ActivityThread.-wrap11(ActivityThread.java)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:102)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:148)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:5461)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

04-19 21:04:00.837 4204 4204 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.tungsten.setupwraith.MainActivity" on path: DexPathList[[zip file "/system/priv-app/SetupWraith/SetupWraith.apk"],nativeLibraryDirectories=[/system/priv-app/SetupWraith/lib/arm, /vendor/lib, /system/lib]]

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at java.lang.ClassLoader.loadClass(ClassLoader.java:469)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.Instrumentation.newActivity(Instrumentation.java:1068)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2351)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	... 9 more

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	Suppressed: java.io.IOException: Failed to open dex files from /system/priv-app/SetupWraith/SetupWraith.apk

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at dalvik.system.DexFile.openDexFileNative(Native Method)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at dalvik.system.DexFile.openDexFile(DexFile.java:295)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at dalvik.system.DexFile.<init>(DexFile.java:80)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at dalvik.system.DexFile.<init>(DexFile.java:59)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at dalvik.system.DexPathList.<init>(DexPathList.java:120)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:58)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.LoadedApk.getClassLoader(LoadedApk.java:376)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.LoadedApk.makeApplication(LoadedApk.java:569)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4724)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.ActivityThread.-wrap1(ActivityThread.java)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	... 6 more

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	Suppressed: java.lang.ClassNotFoundException: com.google.android.tungsten.setupwraith.MainActivity

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at java.lang.Class.classForName(Native Method)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at java.lang.BootClassLoader.findClass(ClassLoader.java:781)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	at java.lang.ClassLoader.loadClass(ClassLoader.java:504)

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	... 12 more

04-19 21:04:00.837 4204 4204 E AndroidRuntime:	Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

04-19 21:04:00.839 1405 2443 W ActivityManager: Force finishing activity com.google.android.tungsten.setupwraith/.MainActivity

And AtvWidget:

04-19 20:59:25.294 3934 3934 E dex2oat : Failed to create oat file: /data/dalvik-cache/arm/system@app@AtvWidget@AtvWidget.apk@classes.dex: Permission denied

04-19 20:59:25.294 3934 3934 I dex2oat : dex2oat took 4.013ms (threads: 4)

04-19 20:59:25.303 3912 3912 W art : Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,-div,-atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=krait --instruction-set-features=default --dex-file=/system/app/AtvWidget/AtvWidget.apk --oat-file=/data/dalvik-cache/arm/system@app@AtvWidget@AtvWidget.apk@classes.dex) because non-0 exit status

04-19 20:59:25.307 3912 3912 W art : Failed to open dex file '/system/app/AtvWidget/AtvWidget.apk' from memory: Unrecognized version number in /system/app/AtvWidget/AtvWidget.apk: 0 3 7

04-19 20:59:25.308 3912 3912 W System : ClassLoader referenced unknown path: /system/app/AtvWidget/lib/arm

04-19 20:59:25.311 3912 3912 D AndroidRuntime: Shutting down VM

04-19 20:59:25.311 3089 3089 E MetricsUploadTask: Problem syncing metrics event to (https://devs.ouya.tv):3005 - Looks like your Internet connection isn't playing nice. Please double check your Ethernet and Wi-Fi settings, then give it another shot. We're happy to wait.

04-19 20:59:25.326 3912 3912 E AndroidRuntime: FATAL EXCEPTION: main

04-19 20:59:25.326 3912 3912 E AndroidRuntime: Process: com.google.android.atv.widget, PID: 3912

04-19 20:59:25.326 3912 3912 E AndroidRuntime: Theme: themes:{}

04-19 20:59:25.326 3912 3912 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate receiver com.google.android.atv.widget.ClockWidgetProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.android.atv.widget.ClockWidgetProvider" on path: DexPathList[[zip file "/system/app/AtvWidget/AtvWidget.apk"],nativeLibraryDirectories=[/system/app/AtvWidget/lib/arm, /vendor/lib, /system/lib]]

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.app.ActivityThread.handleReceiver(ActivityThread.java:2740)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.app.ActivityThread.-wrap14(ActivityThread.java)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:102)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:148)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:5461)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

04-19 20:59:25.326 3912 3912 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.atv.widget.ClockWidgetProvider" on path: DexPathList[[zip file "/system/app/AtvWidget/AtvWidget.apk"],nativeLibraryDirectories=[/system/app/AtvWidget/lib/arm, /vendor/lib, /system/lib]]

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at java.lang.ClassLoader.loadClass(ClassLoader.java:469)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.app.ActivityThread.handleReceiver(ActivityThread.java:2735)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	... 8 more

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	Suppressed: java.io.IOException: Failed to open dex files from /system/app/AtvWidget/AtvWidget.apk

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at dalvik.system.DexFile.openDexFileNative(Native Method)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at dalvik.system.DexFile.openDexFile(DexFile.java:295)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at dalvik.system.DexFile.<init>(DexFile.java:80)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at dalvik.system.DexFile.<init>(DexFile.java:59)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at dalvik.system.DexPathList.<init>(DexPathList.java:120)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:58)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.app.LoadedApk.getClassLoader(LoadedApk.java:376)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.app.LoadedApk.makeApplication(LoadedApk.java:569)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4724)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.app.ActivityThread.-wrap1(ActivityThread.java)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	... 6 more

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	Suppressed: java.lang.ClassNotFoundException: com.google.android.atv.widget.ClockWidgetProvider

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at java.lang.Class.classForName(Native Method)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at java.lang.BootClassLoader.findClass(ClassLoader.java:781)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	at java.lang.ClassLoader.loadClass(ClassLoader.java:504)

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	... 10 more

04-19 20:59:25.326 3912 3912 E AndroidRuntime:	Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

I try with "NoPreODEX" or "PreODEX" in config with no luck. My rom is builded fully deodexed....Any clue? Thanks