hanxinhao000 / Termux-app-UpgradedVersion

Termux upgrade version
https://github.com/hanxinhao000/Termux-app-UpgradedVersion
Other
226 stars 25 forks source link

java.lang.RuntimeException:Unable to instantiate receiver com.termux.app.TermuxOpenReceiver: java.lang.ClassNotFoundException: #4

Closed masx200 closed 4 years ago

masx200 commented 4 years ago

Problem description A clear and concise description of what the problem with the termux app is. You may post screenshots in addition to description.

程序出错,请将以下信息传递给开发者[截图]
开发者群一(QQ):714730084
开发者群二(QQ):463233836
java.lang.RuntimeException:Unable to
instantiate receiver
com.termux.app.TermuxOpenReceiver:
java.lang.ClassNotFoundException:Didn't find
class com.termux.app.TermuxOpenReceiveron
path:DexPathListl|zip file"/data/app/
com.termux-A4NbpQA3AwbF3U109ogCrw==/
base.apk"l,nativeLibraryDirectories=/data/app/
com.termux-A4NbpQA3AwbF3UIO9ogCrw==/lib/
arm64,/data/app/
com.termux-A4NbpQA3AwbF3UIO9ogCrw==/
base.apk!/lib/arm64-v8a,/system/lib64,/
product/lib64,/prets/lib64]]
at
android.app.Activity Thread.handleReceiver(Activ
ityThread.java:3982)
at
android.app.ActivityThread.access$2300(Activity
Thread.java:273)
at
android.app.ActivityThreadSH.handleMessage(A
ctivity Thread.java:2050)
at
android.os.Handler.dispatchMessage(Handler.jav
a:112)
at android.os.Looper.loop(Looper.java:216)
at
android.app.Activity Thread.main(ActivityThread.j
ava:7625)
at java.lang.reflect.Method.invoke(Native
Method)
O
at
com.android.internal.os.Runtimelnit$MethodAnd
ArgsCaller.run(Runtimelnit.java:524)
at
com.android.internal.os.Zygotelnit.main(Zygotel
nit.java:987)
Caused by:java.lang.ClassNotFoundException:
Didn't find class
com.termux.app.TermuxOpenReceiver"on path:
DexPathListlzip file"/data/app/
com.termux-A4NbpQA3AwbF3Ul09ogCrw==/
base.apk"],nativeLibraryDirectories=/data/app/
com.termux-A4NbpQA3AwbF3UlO9ogCrw==/lib/
arm64,/data/app/
Com.termux-A4NbpQA3AwbF3U109ogCrw==/
base.apk!/lib/arm64-v8a,/system/lib64,/
1
product/lib64,/prets/lib64]]
dalvik.system.BaseDexClassLoader.findClass(Ba
seDexClassLoader.java:134)
at
java.lang.ClassLoader.loadClass(ClassLoader.jav
a:379)
at
java.lang.ClassLoader.loadClass(ClassLoader.jav
a:312)
at
android.app.AppComponentFactory.instantiateRe
ceiver AppComponentFactory.java:84)
at
androidx.core.app.CoreComponentFactory.instan
tiateReceiver(CoreComponentFactory.java:56)
at
android.app.ActivityThread.handleReceiver(Activ
ityThread.java:3975)
。。。8 more

Steps to reproduce Please post all steps that are needed to reproduce the issue.


apt install nodejs

npx live-server

Expected behavior A clear and concise description of what you expected to happen.

Additional information Post output of command termux-info. If you are rooted or have access to adb then capture a logcat with logcat -d "*:W", from a adb or root shell.


$ termux-info

Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirrors.tuna.tsinghua.edu.cn/termux stable main
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
# game-repo (sources.list.d/game.list)
deb https://dl.bintray.com/grimler/game-packages-24 games stable
Updatable packages:
apt/stable 1.4.9-29 aarch64 [upgradable from: 1.4.9-27]
bash/stable 5.0.17-2 aarch64 [upgradable from: 5.0.17]
busybox/stable 1.31.1-11 aarch64 [upgradable from: 1.31.1-10]
bzip2/stable 1.0.8-6 aarch64 [upgradable from: 1.0.8-5]
c-ares/stable 1.16.1-1 aarch64 [upgradable from: 1.16.1]
clang/stable 10.0.0-1 aarch64 [upgradable from: 9.0.1-7]
command-not-found/stable 1.55 aarch64 [upgradable from: 1.53-1]
coreutils/stable 8.32-2 aarch64 [upgradable from: 8.32-1]
curl/stable 7.71.0-1 aarch64 [upgradable from: 7.71.0]
dash/stable 0.5.11-3 aarch64 [upgradable from: 0.5.11]
diffutils/stable 3.7-3 aarch64 [upgradable from: 3.7-2]
dos2unix/stable 7.4.1-1 aarch64 [upgradable from: 7.4.1]
dpkg/stable 1.20.5 aarch64 [upgradable from: 1.20.0-3]
ed/stable 1.16-1 aarch64 [upgradable from: 1.16]
findutils/stable 4.7.0-2 aarch64 [upgradable from: 4.7.0]
gawk/stable 5.1.0-1 aarch64 [upgradable from: 5.1.0]
giflib/stable 5.2.1-2 aarch64 [upgradable from: 5.2.1-1]
glib/stable 2.64.3-2 aarch64 [upgradable from: 2.64.3-1]
graphicsmagick/stable 1.3.35-3 aarch64 [upgradable from: 1.3.35-2]
grep/stable 3.4-1 aarch64 [upgradable from: 3.4]
gzip/stable 1.10-4 aarch64 [upgradable from: 1.10-3]
inetutils/stable 1.9.4-10 aarch64 [upgradable from: 1.9.4-9]
krb5/stable 1.18.2-2 aarch64 [upgradable from: 1.18.2-1]
ldns/stable 1.7.1-2 aarch64 [upgradable from: 1.7.1-1]
libandroid-glob/stable 0.6-2 aarch64 [upgradable from: 0.6-1]
libbz2/stable 1.0.8-6 aarch64 [upgradable from: 1.0.8-5]
libc++/stable 21d-1 aarch64 [upgradable from: 20]
libcrypt/stable 0.2-3 aarch64 [upgradable from: 0.2-2]
libcurl/stable 7.71.0-1 aarch64 [upgradable from: 7.71.0]
libdb/stable 18.1.40-2 aarch64 [upgradable from: 18.1.40]
libedit/stable 20191231-3.1-1 aarch64 [upgradable from: 20191231-3.1-0]
libffi/stable 3.3-2 aarch64 [upgradable from: 3.3]
libgcrypt/stable 1.8.5-4 aarch64 [upgradable from: 1.8.5-1]
libgmp/stable 6.2.0-1 aarch64 [upgradable from: 6.2.0]
libicu/stable 66.1-2 aarch64 [upgradable from: 66.1-1]
libjasper/stable 2.0.16-5 aarch64 [upgradable from: 2.0.16-4]
libjpeg-turbo/stable 2.0.5-1 aarch64 [upgradable from: 2.0.5]
libllvm/stable 10.0.0-1 aarch64 [upgradable from: 9.0.1-7]
libmpfr/stable 4.0.2-3 aarch64 [upgradable from: 4.0.2-2]
libnghttp2/stable 1.41.0-1 aarch64 [upgradable from: 1.41.0]
libpng/stable 1.6.37-3 aarch64 [upgradable from: 1.6.37-2]
libssh2/stable 1.9.0-2 aarch64 [upgradable from: 1.9.0-1]
libtiff/stable 4.1.0-3 aarch64 [upgradable from: 4.1.0-2]
libunistring/stable 0.9.10-4 aarch64 [upgradable from: 0.9.10-3]
libuuid/stable 1.0.3-4 aarch64 [upgradable from: 1.0.3-3]
libwebp/stable 1.1.0-1 aarch64 [upgradable from: 1.1.0]
libxml2/stable 2.9.10-3 aarch64 [upgradable from: 2.9.10-2]
littlecms/stable 2.11-1 aarch64 [upgradable from: 2.11]
ncurses/stable 6.2.20200222-1 aarch64 [upgradable from: 6.2.20200222]
ncurses-ui-libs/stable 6.2.20200222-1 aarch64 [upgradable from: 6.2.20200222]
ndk-sysroot/stable 21d aarch64 [upgradable from: 20-8]
nodejs/stable 14.4.0-1 aarch64 [upgradable from: 14.4.0]
openssh/stable 8.3p1-1 aarch64 [upgradable from: 8.3p1]
openssl/stable 1.1.1g-4 aarch64 [upgradable from: 1.1.1g-3]
pcre/stable 8.44-1 aarch64 [upgradable from: 8.44]
pcre2/stable 10.35-1 aarch64 [upgradable from: 10.35]
python/stable 3.8.3-3 aarch64 [upgradable from: 3.8.3-1]
readline/stable 8.0.4-1 aarch64 [upgradable from: 8.0.4]
sed/stable 4.8-1 aarch64 [upgradable from: 4.8]
tar/stable 1.32-6 aarch64 [upgradable from: 1.32-5]
termux-licenses/stable 2.0-1 all [upgradable from: 1.0]
unzip/stable 6.0-7 aarch64 [upgradable from: 6.0-6]
util-linux/stable 2.35.2-1 aarch64 [upgradable from: 2.35.2]
zlib/stable 1.2.11-5 aarch64 [upgradable from: 1.2.11-4]
Android version:
9
Kernel build information:
Linux localhost 4.9.148 #1 SMP PREEMPT Fri May 22 19:13:52 CST 2020 aarch64 Android
Device manufacturer:
HUAWEI
Device model:
MHA-AL00
$
$

Screenshot_20200715_201213_com termux

hanxinhao000 commented 4 years ago

The new version has been fixed

hanxinhao000 commented 4 years ago

Please download the UTermux 0.95.88 above

hanxinhao000 commented 4 years ago

address : https://pan.baidu.com/s/1nWqcYv8Htfojos21fmIrzw
code : mjvu

masx200 commented 4 years ago

https://github.com/hanxinhao000/Termux-app-UpgradedVersion/releases

It would be better to publish the new version on github releases

masx200 commented 4 years ago

Because foreigners outside of China don't use pan.Baidu.com.

hanxinhao000 commented 4 years ago

Ok, thank you

hanxinhao000 commented 4 years ago

A new version has been released

masx200 commented 4 years ago

两个中国人在这说英语太滑稽

hanxinhao000 commented 4 years ago

哈哈