1. 程式人生 > >ubuntu 14.04 64bit Qt5.4.2 Android error:Android build platform: android--1

ubuntu 14.04 64bit Qt5.4.2 Android error:Android build platform: android--1

After i installed the Qt5.4.2 under ubuntu 14.04 64bit system,i compiled the program,and then i show "

Android build platform: android--1  

Install to device: No

Buildfile: build.xml does not exist!";I searched it with google and yahoo,today i solved this problem;Now, i will write it down for you and me.

First,i run this command"sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386";Then,i deleted three files in $HOME/.config:~/.config/QtProject/ ~/.config/QtProject.conf ~/.config/Trolltech.conf.After these operation, i restart the qt,but it still don't work.I was very sad, but i reinstall the qt, and the marvel appeared.