[Android Q&A, Help & Troubleshooting] jy95:
Hello,

I would like to install my local vendor app for television on my smart tv (Android 11) I downloaded with evozi.

When I run it with adb, I got this :

D:\adb>adb shell
BeyondTV:/ $ monkey -p be.belgacom.mobile.adeleeverywhere -v 500
bash arg: -p
bash arg: be.belgacom.mobile.adeleeverywhere
bash arg: -v
bash arg: 500
args: [-p, be.belgacom.mobile.adeleeverywhere, -v, 500]
arg: "-p"
arg: "be.belgacom.mobile.adeleeverywhere"
arg: "-v"
arg: "500"
data="be.belgacom.mobile.adeleeverywhere"
:Monkey: seed=1657171510026 count=500
:AllowPackage: be.belgacom.mobile.adeleeverywhere
:IncludeCategory: android.intent.category.LAUNCHER
:IncludeCategory: android.intent.category.MONKEY
// Event percentages:
// 0: 15.0%
// 1: 10.0%
// 2: 2.0%
// 3: 15.0%
// 4: -0.0%
// 5: -0.0%
// 6: 25.0%
// 7: 15.0%
// 8: 2.0%
// 9: 2.0%
// 10: 1.0%
// 11: 13.0%
:Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=be.belgacom.mobile.adeleeverywhere/.SplashActivity;end
// Allowing start of Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=be.belgacom.mobile.adeleeverywhere/.SplashActivity } in package be.belgacom.mobile.adeleeverywhere
:Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=be.belgacom.mobile.adeleeverywhere/.SplashActivity;end
// Allowing start of Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=be.belgacom.mobile.adeleeverywhere/.SplashActivity } in package be.belgacom.mobile.adeleeverywhere
:Sending Flip keyboardOpen=false
Got IOException performing flipjava.io.FileNotFoundException: /dev/input/event0: open failed: EACCES (Permission denied)
// Injection Failed
:Sending Trackball (ACTION_MOVE): 0:(1.0,4.0)
// CRASH: be.belgacom.mobile.adeleeverywhere (pid 2950)
// Short Msg: java.lang.UnsatisfiedLinkError
// Long Msg: java.lang.UnsatisfiedLinkError: dlopen failed: library "libmonosgen-2.0.so" not found
// Build Label: TCL/BeyondTV/BeyondTV:11/PPR1.180610.011/AR04:user/release-keys
// Build Changelist: AR04
// Build Time: 1646995292000
// java.lang.UnsatisfiedLinkError: dlopen failed: library "libmonosgen-2.0.so" not found
// at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
// at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
// at java.lang.System.loadLibrary(System.java:1664)
// at mono.MonoPackageManager.LoadApplication(Unknown Source:115)
// at mono.MonoRuntimeProvider.attachInfo(Unknown Source:41)
// at android.app.ActivityThread.installProvider(ActivityThread.java:7431)
// at android.app.ActivityThread.installContentProviders(ActivityThread.java:6960)
// at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6877)
// at android.app.ActivityThread.access$1400(ActivityThread.java:249)
// at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1969)
// at android.os.Handler.dispatchMessage(Handler.java:111)
// at android.os.Looper.loop(Looper.java:250)
// at android.app.ActivityThread.main(ActivityThread.java:7848)
// at java.lang.reflect.Method.invoke(Native Method)
// at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:609)
// at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1002)
//
** Monkey aborted due to error.
Events injected: 4
:Sending rotation degree=0, persist=false
:Dropped: keys=0 pointers=0 trackballs=0 flips=1 rotations=0
## Network stats: elapsed time=1035ms (0ms mobile, 0ms wifi, 1035ms not connected)
** System appears to have crashed at event 4 of 500 using seed 1657171510026

So I found out that Xamari libraries (like the libmonosgen-2.0.so ) are in fact present in config.armeabi_v7a.apk -

When I tried to install apk, no luck :

D:\adb>adb install -p pickxx/config.armeabi_v7a.apk
Performing Streamed Install
adb: failed to install pickxx/config.armeabi_v7a.apk: Error: Unable to open file: 25758178
Consider using a file under /data/local/tmp/
Error: Can't open file: 25758178

Exception occurred while executing 'install':
java.lang.IllegalArgumentException: Error: Can't open file: 25758178
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:535)
at com.android.server.pm.PackageManagerShellCommand.doRunInstall(PackageManagerShellCommand.java:1298)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageM
D:\adb>

What could I tried to install these libs with a custom apk ?

(As I am without root access on that smart tv)

Thanks in advance for your help