Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Erro na compilação ao migrar de Legacy para Cordova - Android

Lucas_B_1
Beginner
932 Views

Boa noite pessoal.

Devido ao motivo já exposto neste tópico, estou tentando migrar meu app Android de Legacy para Cordova.

Minha aplicação é simples e funcionava perfeitamente até que, em dispositivos Android rodando a versão 5.0 ou superior deste SO, a tela fica reduzida, impossibilitando o uso do mesmo.

De posse desta ciência, tentei apenas mudar na hora da compilação de Legacy para Cordova mas... não obtive êxito na hora da compilação:

The build failed. An error occurred while building the application. Verify your build assets are correct and try again.
You can view the log of the Android build here
Build Log:
Building a Cordova 4.1.2 application.
The application name is "São Roque BUS"
The package name is "lucas.saoroquebus"
Plugin "org.apache.cordova.device" (0.2.13) installed.
Plugin "org.apache.cordova.splashscreen" (0.3.5) installed.
Plugin "com.intel.xdk.display" (1.0.1) installed.
Plugin "com.intel.xdk.device" (1.0.7) installed.
App name updated to [São Roque BUS]
Updated "minSdkVersion" with "10"
Updated "targetSdkVersion" with "19"
Updated "installLocation" to "auto"
Updated "versionCode" to "1.3"
Updated "versionName" to "1.3"
Added "debuggable" to "false"
Installed ldpi launch icon
Installed mdpi launch icon
Installed hdpi launch icon
Installed xhdpi launch icon
Installing splash screen "drawable-port-mdpi/splash.png"
Installing splash screen "drawable-port-hdpi/splash.png"
Installing splash screen "drawable-port-xhdpi/splash.png"
Installing splash screen "drawable-port-ldpi/splash.png"
Installing splash screen "drawable-land-ldpi/splash.png"
Installing splash screen "drawable-land-mdpi/splash.png"
Installing splash screen "drawable-land-hdpi/splash.png"
Installing splash screen "drawable-land-xhdpi/splash.png"
An unexpected error occured while attempting to build the application.

Anexo estou expondo as telas do projeto e de sua falha na compilação, além do log gerado.

 

Alguém poderia me ajudar sobre o que posso estar fazendo de errado ou, deixando de fazer para que o aplicativo não seja compilado corretamente?
O aplicativo em si é o São Roque BUS.

Grato desde já, desejo uma boa noite e uma ótima semana à todos!!!

 

Lucas Bernardes da Silva

https://www.linkedin.com/in/lucasbernardes

0 Kudos
1 Reply
John_H_Intel2
Employee
932 Views

A couple things to look at:

1. App Version Code is an integer, not a float.

2. Try using only standard chars in the app name and description. This should not cause the build to fail, but try it. 

0 Kudos
Reply