Forumsee logo
Forumsee » Mobility » Windows phone » Read message
RSS: Subscribe to RSS

(Resolved) Unable to run app on Philips TV

Windows Phone Source - winsource.com
Hi!

Recently came across a problem that I'm unable to fix. I developed application for Android TV, for development I used Nvidia shield device, everything worked as expected. Then I uploaded the apk to google play for beta testing but when installing this application on Philips Android TV (API version 22), it crashes with the the following exception:

Code (Text):

-  

- java.lang.RuntimeException: Unable to instantiate application lv.app.id.App: java.lang.ClassNotFoundException: Didn't find class "lv.app.id.App" on path: DexPathList[[zip file "/data/app/lv.app.id-1/base.apk"],nativeLibraryDirectories=[/data/app/lv.app.id-1/lib/arm, /vendor/lib, /system/lib]]

-     at android.app.LoadedApk.makeApplication(LoadedApk.java:563)

-     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4530)

-     at android.app.ActivityThread.access$1500(ActivityThread.java:151)

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

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

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

-     at android.app.ActivityThread.main(ActivityThread.java:5258)

-     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:903)

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

- Caused by: java.lang.ClassNotFoundException: Didn't find class "lv.app.id.App" on path: DexPathList[[zip file "/data/app/lv.app.id-1/base.apk"],nativeLibraryDirectories=[/data/app/lv.app.id-1/lib/arm, /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 android.app.Instrumentation.newApplication(Instrumentation.java:980)

-     at android.app.LoadedApk.makeApplication(LoadedApk.java:558)

-     ... 10 more

-     Suppressed: java.lang.ClassNotFoundException: lv.app.id.App

-         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

-  

Installing the same application from google play on Nvidia shield device, it works without any problems. Is there any solution to this? Things I tried so far:

* Checking AndroidManifest.xml file for possible errors

* Checking graddle build options for possible duplicate libraries

* Disabling/Enabling multiDex support

Does anyone have any ideas how to fix this?

Also the philips TV that is used for testing does not have ability to connect it to the pc and use it for debbuging.

 
Date: Dec 7, 2016   


Tags


Last videos:

YouTube picture in picture mode for any phone!
YouTube picture in picture mode for any phone!
After unlockin network iphone 7 just blinked
After unlockin network iphone 7 just blinked
samsung galaxy s3 dead solution
samsung galaxy s3 dead solution
How to flash Gretel G9 stock rom
How to flash Gretel G9 stock rom
Bypass Google all Samsung Devices Android 7.0 - 7.1.1 by bluetooth, very easy
Bypass Google all Samsung Devices Android 7.0 - 7.1.1 by bluetooth, very easy
?phone 5s Red screen problem !
?phone 5s Red screen problem !
Samsung galaxy GT-S7270L auto restart
Samsung galaxy GT-S7270L auto restart
How to unlock Nokia for free, generation BB5 SL1 / SL2
How to unlock Nokia for free, generation BB5 SL1 / SL2
Cars · 
Mobility · 
Hardware · 
Motorbikes · 
Travel · 
Boating · 
Aviation · 
About Forumsee · Contact · Privacy policy · Request content removal
production-frontend
We use cookies for navigation analysis and personalized advertisement. By using our site, you agree to our use of cookies.
Accept  ·  Learn more