La variante actualmente seleccionada "arm-debug" utiliza APK divididos, pero ninguno de los 4 split-apks son compatibles con el dispositivo actual
He importado el proyecto desde https://github.com/DrKLO/Telegram . He generado el APK firmado y cuando intento funcionar en el emulador demuestra el error siguiente.
05/15 17:14:42: Launching TMessagesProj The currently selected variant "arm-debug" uses split APKs, but none of the 4 split apks are compatible with the current device with density "480" and ABIs "x86". Error while Installing APK
¿Cómo puedo corregir este error?
- Canal de telegrama abierto en android
- Método "getFile" en Telegram Bot API
- Telegram Messenger Running Project aún se encuentra: Lamentablemente, Telegram ha parado
- Telegram API release.keystore ERROR
- Android: envía un mensaje de telegrama a un número específico
¡Gracias!
- Archivo no encontrado al intentar compilar código fuente de telegrama
- Android Telegram App -> java.lang.UnsatisfiedLinkError: No se ha encontrado ninguna implementación para void
- Archivo de almacén de claves D \ Telegram-master \ TMessagesProj \ config \ release.keystore no encontrado para firmar la configuración 'debug'
- Cygdrive Error de terminal: opus / src / opus.o error
- Uso de Telegram API para mi aplicación Android
- Errores de Android tipos incomparables: Object and int
- Telegrama: obtener fileid del cliente de telegrama
- Uso de Telegram para enviar un mensaje
En el archivo TMessagesProj / build.gradle , a la derecha en la sección defaultConfig
add
ndk { abiFilters "x86" }
Así que la sección defaultConfig
es:
defaultConfig { minSdkVersion 14 targetSdkVersion 23 versionName "3.10.1" ndk { abiFilters "x86" } }
¡Buena suerte!
Puede intentar reiniciar el estudio de Android, y luego volver a conectar el dispositivo
El problema es que Genymotion utiliza x86 en lugar de arquitectura de brazo, y no parece venir con libhoudini (brazo a traductor x86) preinstalado.
Tiene dos opciones:
install the native arm translation, which I have never had much luck with, will occasionally crash my devices with no warning, and is the #1 cause of crashes in my app in production - http://mir.cr/0ZIO8PME
O
Build a native x86 binary of your app. Assuming you are using the most recent Cordova 4.0, this is default with gradle, and you will be able to find an x86 build already done along side the arm build. According to the Cordova release notes, you can manually trigger gradle if it isn't already enabled with: cordova build android -- --gradle
¡La mejor de las suertes!