Problem installing SDK - Ubuntu Touch Q&A, Help & Troubleshooting

I've put about 8 hours into this now.
I'm trying to install the Ubuntu Touch SDK as per instructions on this page. http://developer.ubuntu.com/get-started/gomobile/ I'm at step 2, and I'm trying to do the "Create a currency converter phone app. But I don't have the "applications" selection in Qt's new project. What am I missing?
Here's what I did.
Code:
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-proper
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get install ubuntu-sdk notepad-qml
But QTcreator wouldn't start properly. I found out that i needed to also install libbotan* by reading some forums.
Code:
sudo apt-get install libbotan*
So now QTcreator starts and I'm ready to create a new project, but I'm missing the ability to create a new "application> Qt Quick UI" because I don't have the "application" option.
This is a fresh install of 64 bit Ubuntu 12.10 with just my video editing, and java development software added.

AdamOutler said:
I'm trying to install the Ubuntu Touch SDK as per instructions on this page. http://developer.ubuntu.com/get-started/gomobile/ I'm at step 2, and I'm trying to do the "Create a currency converter phone app. But I don't have the "applications" selection in Qt's new project. What am I missing?
Here's what I did.
Code:
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-proper
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get install ubuntu-sdk notepad-qml
But QTcreator wouldn't start properly. I found out that i needed to also install libbotan* by reading some forums.
Code:
sudo apt-get install libbotan*
So now QTcreator starts and I'm ready to create a new project, but I'm missing the ability to create a new "application> Qt Quick UI" because I don't have the "application" option.
This is a fresh install of 64 bit Ubuntu 12.10 with just my video editing, and java development software added.
Click to expand...
Click to collapse
dim319 in this thread
http://forum.xda-developers.com/showthread.php?t=2161369&page=2
figured out how to build c++ programs and posted a link to his tutorial here
https://www.googledrive.com/host/0B5kDhuHYYcvwWDZpS0puZXhnZkk/ubuntu-sdk-dev-en.html
Maybe that will help?

That's not helpful or relevant. I'm trying to set up the SDK properly, not compile an app. That comes way later... I have to BUILD the app first and the options are not showing up to even create a new app properly.

Fixed with
Code:
sudo apt-get remove qtcreator
sudo apt-get purge qtcreator
sudo apt-get install qtcreator

Was having the same problem. Thanks Adam.
Sent from my Galaxy Nexus using Tapatalk 2

AdamOutler said:
Fixed with
Code:
sudo apt-get purge qtcreator
Click to expand...
Click to collapse
Thanks for this Adam... Good info sir...

Related

[Q] java jre/jdk 1.5 on ubuntu 11.04

ok guys i have a little issue lol i've spent the last 2 days trying to build a froyo rom from source! I foolowed this guide exactly as it says to do (http://source.android.com/source/initializing.html) and when i get to the part of building the rom and to run 'make j4' (making the code i assume) it says that i do not have the correct version of java, says i have 1.6.0_20 and the correct version is 1.5..... so i spent all night trying to figure out how to get the 1.5 version, so my question is how do i get the correct version of java properly installed so i can finish the build? I have already pulled the rom from source so i have the neccessary files, but ubuntu wont let me build it without the proper java installed lol can someone please help??
First remove the current java - i assume with the command:
sudo apt-get --purge remove sun-java6-jdk
Then get the older java as follows:
$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu dapper main multiverse"
$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu dapper-updates main multiverse"
$ sudo apt-get update
$ sudo apt-get install sun-java5-jdk
if you ever want to make a gingerbread ROM then you will have to get the newer java back

Need Help Installing Android SDK in linux

O.k. I've tried the Linux forums ad so now I thought I would try here. I'm trying to install the Android SDK in Linux Mint 11 but I don't have the 32-bit libraries installed. Does anyone know how to install these libraries and the SDK? After that I think I can handle it from there.
Any help would be greatly appreciated.
http://developer.android.com/sdk/installing.html
For your 32-bit libs, see the Troubleshooting section.
I think that linux Mint is a ubuntu derivative, so the info is on here:
http://developer.android.com/sdk/installing.html
http://source.android.com/source/initializing.html
Here's the summary for the command line freaks (assuming that linux mint also uses apt-get/ubuntu packages- I haven't had the pleasure of installing linux mint (yet) so I can't say fo' sho')
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" (natty might work here too)
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk ia32-libs
download the linux sdk and untar - "tar xf android-sdk_...blah...blah...just hit tab for the command line completion....tgz"
Then cd into the android_sdk/tools folder and type "./android update sdk --no-ui"
then kick back and watch the magic happen. It will then download all the images files for every version of android from cupcake to the T2000. It might take a few hours, depending on your download speed.

[Q] sun-java6-jdk Ubuntu 11.10

It appears sun-java6-jdk has been removed from the Canonical repository. I added "http://archive.canonical.com/ lucid partner" to my sources, but the package is not there. Are there any alternative ways to install it?
There are quite plenty of ways actually:
1. Install from some ppa:
Code:
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin
2. Download bin package from oracle site, but that's not ubuntu-way.
3. This one i like the most: create your own packages
http://www.techytalk.info/latest-oracle-sun-java-jdk-and-jre-6-on-ubuntu-operating-systems/
and in any case, don't forget to
Code:
sudo update-alternatives --config java
inflim said:
There are quite plenty of ways actually:
1. Install from some ppa:
Code:
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin
2. Download bin package from oracle site, but that's not ubuntu-way.
3. This one i like the most: create your own packages
http://www.techytalk.info/latest-oracle-sun-java-jdk-and-jre-6-on-ubuntu-operating-systems/
and in any case, don't forget to
Code:
sudo update-alternatives --config java
Click to expand...
Click to collapse
It worked, Thank You!
No problem! Google rules

[TIP] How to restore Ubuntu after python uninstall

Hello, I would like to share with you my little experience.
I had wrong python version for compiling android from source so I decided to reinstall it.
But I was such an idiot that I typed: sudo apt-get remove python
And it removed the part of my ubuntu, it was unuseable.
So here are my 3 golden advices:
1. Don't type that command: sudo apt-get remove python
2. If you want to update python just type sudo apt-get install python2.7 (v3 is not recommended for android compiling)
3. If you removed python but still you have access to terminal type those commands:
$ sudo apt-get install python
$ sudo apt-get install ubuntu-desktop
$ sudo reboot
Click to expand...
Click to collapse
It should restore your missing part of system (That's how I restored my Ubuntu 11.10) , you can loose some settings or small things but everything should be as before.

[Q] Installing Whosthere

I've tried to install Whosthere through ADB by adding the following PPA's to my device:
Code:
sudo apt-add-repository ppa:m-gehre:ppa
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-proper
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
Then I run: sudo apt-get install whosthere. But I still says the package can't be found. I know the project is discontinued but I should still be able to download it right?
Sources:
https://launchpad.net/whosthere
https://github.com/mgehre/whosthere
EDIT: Do I know to build the packages myself and push them through QTCreator?
Zenety said:
I've tried to install Whosthere through ADB by adding the following PPA's to my device:
Code:
sudo apt-add-repository ppa:m-gehre:ppa
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-proper
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
Then I run: sudo apt-get install whosthere. But I still says the package can't be found. I know the project is discontinued but I should still be able to download it right?
Sources:
https://launchpad.net/whosthere
https://github.com/mgehre/whosthere
EDIT: Do I know to build the packages myself and push them through QTCreator?
Click to expand...
Click to collapse
I hope we can see improvements soon in this app, really needed!
Zenety said:
I've tried to install Whosthere through ADB by adding the following PPA's to my device:
Code:
sudo apt-add-repository ppa:m-gehre:ppa
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-proper
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
Then I run: sudo apt-get install whosthere. But I still says the package can't be found. I know the project is discontinued but I should still be able to download it right?
Sources:
https://launchpad.net/whosthere
https://github.com/mgehre/whosthere
EDIT: Do I know to build the packages myself and push them through QTCreator?
Click to expand...
Click to collapse
It looks like the developer has only created packages for Precise, Quantal and Raring. The latest Ubuntu Touch images are using Saucy. You can either 1) manually download and install the Raring .deb files, 2) change "saucy" to "raring" in the add-apt-repository added to /etc/apt/sources.list.d/, or 3) ask the developer to copy the packages in the PPA to Saucy.
I have the same problem installing on Ubuntu Desktop. What can I do?
GuiltMachine said:
I have the same problem installing on Ubuntu Desktop. What can I do?
Click to expand...
Click to collapse
The last time I spoke to the developer, whosthere wasn't working due to changes in WhatsApp's authentication protocol/token/something-or-other, and he wasn't actively developing it anymore. The best thing you can do is to contact WhatsApp yourself and let them know how much you'd like to see an Ubuntu Touch client.
mhall119 said:
The last time I spoke to the developer, whosthere wasn't working due to changes in WhatsApp's authentication protocol/token/something-or-other, and he wasn't actively developing it anymore. The best thing you can do is to contact WhatsApp yourself and let them know how much you'd like to see an Ubuntu Touch client.
Click to expand...
Click to collapse
Wow, that would be really hard to get it. I mean, Ubuntu is still in "alpha", you cant show all Ubuntu Touch experiencie to Whataspp people. I supposed that till Ubuntu Touch is not fully completed they dont answer witch an afirmative decision.

Categories

Resources