这是indexloc提供的服务,不要输入任何密码
Skip to content

[Bug]: Termux app doesn't open when it's installed as a system app. #2445

@MdHusainhfz

Description

@MdHusainhfz

Problem description

I installed Termux app as a system app in /system/app/Termux/Termux.apk and after rebooting, the app isn't opening, it closes every time showing notification 'Termux Crash Report'.

Copied Crash Report below

##Report Info

User Action: crash report
Sender: TermuxActivity
Report Timestamp: 2021-12-02 19:33:24 UTC

##Crash Details

Crash Thread: Thread[Thread-3,5,main]
Crash Timestamp: 2021-12-02 19:33:18 UTC

Crash Message:

dlopen failed: library "libtermux-bootstrap.so" not found

##Stacktrace

java.lang.UnsatisfiedLinkError: dlopen failed: library "libtermux-bootstrap.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 com.termux.app.TermuxInstaller.loadZipBytes(TermuxInstaller.java:285)
	at com.termux.app.TermuxInstaller$1.run(TermuxInstaller.java:117)

##Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.117
VERSION_CODE: 117
TARGET_SDK: 28
IS_DEBUG_BUILD: false
APK_RELEASE: F-Droid
SIGNING_CERTIFICATE_SHA256_DIGEST: 228FB2CFE90831C1499EC3CCAF61E96E8E1CE70766B9474672CE427334D41C42

###Device Info

##Software

OS_VERSION: 3.18.140-ge398035aa645
SDK_INT: 30
RELEASE: 11
ID: RQ3A.211001.001
DISPLAY: lineage_a7y17lte-userdebug 11 RQ3A.211001.001 10037124
INCREMENTAL: 10037124
SECURITY_PATCH: 2021-11-05
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: false
TYPE: user
TAGS: release-keys

##Hardware

MANUFACTURER: samsung
BRAND: samsung
MODEL: SM-A720F
PRODUCT: lineage_a7y17lte
BOARD: universal7880
HARDWARE: samsungexynos7880
DEVICE: a7y17lte
SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi

Steps to reproduce the behavior.

Install Termux as a system app, and open Termux app.

What is the expected behavior?

Run Termux app normally.

System information

  • Termux application version: 0.117
  • Android OS version: 11 (LineageOS 18.1)
  • Device model: Galaxy A7 (2017)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions