-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
apk can not be installed (INSTALL_FAILED_DEXOPT && manifest malformed) #414
Comments
Thanks for report! android:exported really does need to be exported for newer androids :( It should be implemented on quad-apk level, but right now you can put this in your Cargo.toml instead:
|
This has fix, the issue for my Sony device. But I still need to find the old Dell device. What is the minimal supported android/sdk version? |
Sadly this have not fix the issue with the Dell device. Since the minimal supported sdk seems to be 18 it should be supported. |
might be a bug! feel free to upload all the logs etc, maybe someone have a solution |
Apparently this is caused by the DEX D8 compiler.
How do I git additional logs? current Cargo.toml [package]
name = "android-diashow"
version = "0.1.0"
edition = "2021"
[dependencies]
macroquad = "0.4.4"
[profile.release]
strip = true
[package.metadata.android]
fullscreen = true
target_sdk_version = 19
min_sdk_version = 19
[package.metadata.android.activity_attributes]
"android:exported" = "true" |
I also can set min/target_sdk_version to 10. [package.metadata.android]
fullscreen = true
target_sdk_version = 10
min_sdk_version = 10 I can even set them to 40 and it does still compile. |
this is the place D8 is being called: https://github.com/not-fl3/cargo-quad-apk/blob/master/src/ops/build.rs#L274 |
I have try to run the example from the build instructions on android, but the generated apk file can not be installed on my phone.
I have build the apk with
The installation fails on both of my devices with different error messages.
Sony Xperia 10 III (XQ-BT52) (Android 13)
Dell Venue 8 7840 (Android 5.1)
The text was updated successfully, but these errors were encountered: