Software Archive
Read-only legacy content
17061 Discussions

Intel XDK new version 2496

Alessandro_S_
Beginner
1,266 Views

Well, new version and I'm no longer able to build my android and android crosswalk app.

I tried to move to cli 5.1.1 (updating plugins too). iOS builds perfectely. Android and Android crosswalk don't.

How it comes? What's new now?

Log is attached. Please help me, I cannot go ahead with my work since 5 days

 

0 Kudos
7 Replies
Alessandro_S_
Beginner
1,266 Views

found the reason: is the plugin (inside xdk) pushwoosh. Without this plugin the build is ok but of course my app doesn't receive pushes.

What I have to do to make it work?

please help me

0 Kudos
Alessandro_S_
Beginner
1,266 Views

another info: if I get back to version 3.6.2 of pushwoosh plugin the android/crosswalk android build succeds but the app crashes when calls push methods

0 Kudos
Pamela_H_Intel
Moderator
1,266 Views

Alessandro,

Your min version is 10: Processing preference android-minSdkVersion [10]

If you are using CLI 5, you must use min version 14 (change in build settings). But v.14 will not work with Android version pre-4.x. So if you target Android 4+ only, you can use CLI 5.

0 Kudos
Dani_Carla
Beginner
1,266 Views

Depois dessa atualização não consegui mais criar o aplicativo. .trava toda hora... está cheio de pau...
Perdi quase todos os meus projetos e os plugins de terceiros que rodavam local agora não funcionam, vou ter que importar tudo novamente ...
Travou tudo.
 

0 Kudos
Anusha_M_Intel1
Employee
1,266 Views

@Dania,

Could you elaborate on what the problem is and we can try to help you retrieve your projects. The upgrade is supposed to preserve your projects list. Else, you can just try to import your project. Your project settings are preserved in their .xdk files, so nothing is lost. Which are the third party plugins that are no longer working?

Você poderia elaborar sobre qual é o problema e podemos tentar ajudá-lo recuperar seus projetos. A atualização deve ter preservada sua lista de projetos. Senão, você pode apenas tentar importar o seu projeto. As configurações do projeto são preservados em seus arquivos .xdk, por isso nada está perdido. Quais são os terceiros plugins partido que já não estão trabalhando?

0 Kudos
Alessandro_S_
Beginner
1,266 Views

Pamela H. (Intel) wrote:

Alessandro,

Your min version is 10: Processing preference android-minSdkVersion [10]

If you are using CLI 5, you must use min version 14 (change in build settings). But v.14 will not work with Android version pre-4.x. So if you target Android 4+ only, you can use CLI 5.

Hello and thank you for answering. Anyway even with min version in 14 the build fails. The problem is only pushwoosh plugin. If I remove it the build is ok. If I start a blank new cordova project and I add pushwoosh plugin the android build fails. Try yourself: start a blank new project html+cordova, then check min version (already set to 14), then try to build android: it will succeed; then just add pushwoosh plugin and try to rebuild: the build will fail and the reason is the same I attached in log. I need pushwoosh, and I need latest version because with previous ones, the app crashes or doesn't receive any push

I attached the new log (with minversion 14)

0 Kudos
PaulF_IntelCorp
Employee
1,266 Views

Allessandro -- seems that plugin is going through a lot of releases in the past month. See the repo versions: https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin/releases. If you add it to your project as a "third-party" plugin you can try those later versions. From the plugin manager:

for the first two fields, you can leave the third field empty.

I do not know if this will fix the issues you're encountering, but it's worth a try.

Alternatively, you can try older versions, as well, to see if there is an older version that works better.

0 Kudos
Reply