I have the app running fine in the android emulator. But when I tried to install in the device it is giving error.
In CoolPad Note - running 5.1 version - error is "Failed to install the app" In Galaxy A7 - running 6.0 version - error is "parsing failed"
I am using sqlite db, apache csv parser lib, Square's sqldelight.
Min Sdk - 19 and Max Sdk - 25
I tried giving all the uses-permission based on this link
I unlocked developer options in the phone and enabled installing from unknown sources. Still not able to install the app. In the same phone, I can install a simple android app. So the problem is with the package or the code. Please help.
Usb with both the phones are not working. So I am sending the apk through bluetooth and then installing it with package installer in the phone. How to get the installation log from the phone.
The app is 4 forms and uses fragments. If needed I can upload the apk.
I have had a similar problem. For me the problem was the APK Signature Scheme v2 option in Android Studio (version 2.3.1): https://developer.android.com/about/versions/nougat/android-7.0.html#apk_signature_v2
When signing my apk with Signature version v2 selected, I was able to download and install my apk on a LG Nexus 5X (android 7.1.1). But on a Motorola Moto G3 (android 5.1) I would see "failed to install".
By selecting both signature version v1 and v2 when signing my app, this problem was resolved and I could download and install the apk on both phones.
I hope this will help you and others with the same issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With