diux-dev / rosettadrone

Android-based mavlink wrapper for DJI drones
BSD 3-Clause "New" or "Revised" License
113 stars 51 forks source link

Unable to install APK #30

Closed kikislater closed 5 years ago

kikislater commented 5 years ago

Hi, I built APK but I'm unable to install APK on my phone : Xiaomi Redmi Note 4. Any idea ? Android says that release apk seems corrupt and that debug one could not be installed. New to Android Studio, I'm just a regular user ... May be I miss some parameters in Android Studio ! Regards,

kikislater commented 5 years ago

Update : got this when trying to Run Apk through android studio :

Launching rosetta_drone_1.2.1.dbg
$ adb push /home/kiki/ApkProjects/rosetta_drone_1.2.1.dbg/rosetta_drone_1.2.1.dbg.apk /data/local/tmp/sq.rogue.rosettadrone
$ adb shell pm install -t -r "/data/local/tmp/sq.rogue.rosettadrone"
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
$ adb shell pm uninstall sq.rogue.rosettadrone
DELETE_FAILED_INTERNAL_ERROR
Error while Installing APK
kikislater commented 5 years ago

Build from 0 and got this :
image

Removed android.enableAapt2=false in gradle.properties Reference : https://stackoverflow.com/questions/50677405/meaning-of-android-enableaapt2-will-be-removed-at-the-end-of-2018

kikislater commented 5 years ago

Remove selected and now it works !

60558512_991334101071295_7553437272691965952_n