Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force close on try install any app in v 0.10.0 on x86 emulator #174

Closed
Enyby opened this issue May 30, 2018 · 5 comments
Closed

Force close on try install any app in v 0.10.0 on x86 emulator #174

Enyby opened this issue May 30, 2018 · 5 comments

Comments

@Enyby
Copy link

Enyby commented May 30, 2018

Describe the bug
On add any app force close VirtualXposed due Exception

FATAL EXCEPTION: main
Process: io.va.exposed, PID: 2109
android.content.res.Resources$NotFoundException: String resource ID #0x7f120050
       at android.content.res.Resources.getText(Resources.java:331)
       at android.content.res.Resources.getString(Resources.java:377)
       at android.content.res.Resources.getString(Resources.java:401)
       at io.virtualapp.sys.InstallerActivity$1.lambda$update$77$InstallerActivity$1(InstallerActivity.java:133)
       at io.virtualapp.sys.InstallerActivity$1$$Lambda$0.run(Unknown Source)
       at android.app.Activity.runOnUiThread(Activity.java:5849)
       at io.virtualapp.sys.InstallerActivity$1.update(InstallerActivity.java:119)
       at io.virtualapp.sys.Installd.lambda$handleOptApp$73$Installd(Installd.java:170)
       at io.virtualapp.sys.Installd$$Lambda$5.onDone(Unknown Source)
       at org.jdeferred.android.AndroidDeferredObject$InternalHandler.handleMessage(AndroidDeferredObject.java:82)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:154)
       at android.app.ActivityThread.main(ActivityThread.java:6077)
       at java.lang.reflect.Method.invoke(Native Method)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

ID of string resource always same.

To Reproduce
Steps to reproduce the behavior:
Install any app.

Expected behavior
Installed app.

Screenshots
1805_half_mute.zip

Desktop (please complete the following information):
Not applicable.

Smartphone (please complete the following information):
Android 7.0.0 and Android 7.1.0 is same.
Used Genymotion emulator.

Additional context
Logcat from crash:
logcat.txt

@Enyby
Copy link
Author

Enyby commented May 30, 2018

I tried removing the x86 library and installing it in Nox 5.1. Version 0.9.9 worked there. v0.10.0 falls, even with ARM libraries only. The error is the same.

@Enyby
Copy link
Author

Enyby commented May 30, 2018

Found source of bug. Mistake on type:

<string name="add_app_loading_complete">%1$s install success!</string>

<string name="add_app_laoding_complete">%1$s 安装成功!</string>

<string name="add_app_laoding_complete">%1$s se instaló con éxito</string>

mProgressText.setText(getResources().getString(R.string.add_app_laoding_complete, model.getName()));

mProgressText.setText(getResources().getString(R.string.add_app_laoding_complete, apkName));

@Enyby
Copy link
Author

Enyby commented May 30, 2018

Pull request:
#175

@Enyby
Copy link
Author

Enyby commented May 30, 2018

Currently v0.10.0 only usable if in system used next locales: es or zh-CN.
On other locales v0.10.0 will crash.

@tiann
Copy link
Member

tiann commented May 31, 2018

@Enyby Thank you.

I release a new version 0.10.1 and test it myself, seems working well :)

@tiann tiann closed this as completed May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants