Unable to compile CM7 - Blade General

I've tried compiling CM7 from source using Ubuntu 10.10 and 11.10 both on dual boot and Virtual box. I get the message "git-core:unknown command" whenever i give the build package command. Already have installed the Android sdk and java6. Have installed sample sdk tools and the 2.3.3 platform and all extras. Any idea what the problem maybe?
Edit:Used Gedit. All's fine. Downloading the source code.
Sent from my Blade using XDA app

Related

New Ubuntu Update 10.10 Broke my SDK?

[Q] Hey guys, I just updated to Ubuntu 10.10 and now my SDK is gone! I tried to look into why it wasn't working and the software manager tool in Eclipse says that Android is installed. I don't even have any of the Android SDK buttons showing anymore? Can someone help a fellow dev?
[SOLVED] Go to the eclipse website, download Eclipse for linux, uninstall your old eclipse, extract your new eclipse wherever and go into the folder and click the application button titled eclipse. Then reinstall all the android stuff.
At the informal android developer's meetup tonight, there were two of us with this same problem.
One issue that I found was that PATH in .profile got broken.
We suspect that using the version of eclipse that came with ubuntu, rather than 3.5 downloaded directly from eclipse might also be causing problems.
I have the same problem; ellarsee, can you be more specific how you got it running again?
(what is .mprofile and where is it, for example? (Googling isn't helping me find out))
Same thing happened to me
Upgrade to Ubuntu 10.10 broken my Android SDK as well.
Is it possible the Java packages are not installed anymore in Ubuntu?
I tried this...
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
Updated a lot of stuff but Eclipse Android is still gone...
Does anyone have this figured out yet??????????????????????????????? I NEED TO GET MOVING ON SOME APPS! THIS IS SO FRUSTRATING!
Removal and re-install of ADT plugin does not help
This is the error that appeared in my project the first time I ran eclipse after the 10.10 upgrade from 10.04.
Code:
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project
I attempted to fix the build path (Properties->Java Build Path) and noticed that
com.adroid.ide.eclipse.adt.ANDROID_FRAMEWORK was not checked. I checked it but this made no difference.
Going to try complete uninstall of eclipse...
It's still not working for me
Not .mprofile .profile, it's like .bashrc, a script that is run when you log in, and can set your $PATH variable, or other environment variables.
emacs ~/.profile
or
vi ~/.profile
should enable you to edit it.
Has anyone tried just a fresh reinstall of everything to work on android apps?
Someone asked about java, it's still in /usr/bin/java
SOLUTION
Can't post outside links. So you'll have to google the bug numbers I give.
Ubuntu bug is here: bugs.launchpad # 633198
This points at a debian bug: bugs.debian.org # 587657
Debian bug contains a workaround where you edit the file:
~/.eclipse/org.eclipse.platform_*/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
And you change the concurrent package location (I had too entries, I had to remove them both and insert the line in the debian bug)
and then things magically worked for me again!
Best of luck everyone
Someone else?
Someone else found a way to fix it?
Cuz, everything up till now didnt work for me

[Q] Rooting Shift on Ubuntu

Should be no problem right? I know I can install ADB on ubuntu and get it all setup and if all else fails I could always go with wine for almost whatever I need but I was just curious if anyone knows if I'd run into errors with android/shift installing ubuntu over windows...has to work cause ubuntu = linux android = linux based
Disregard...I have sdk set up and all is well..going to see if I can dev anything now no promises and I've got some experience in coding but I'm no bcnice or mik..mod plz delete thread
Sent from my PG06100 using XDA App

Froyo kernel compile help

I downloaded the source froyo so I could play around with the kernel. I use ubuntu 10.04. In the FStools folder the output of the make command was that it cannot find the libiconv.so.2. Ok so far. I installed the libraries needed. But after that it still refuses to continue with the same error. What do I miss? Any clues?
sent from my nokia 3210

[TUT] CHROOT Ubuntu on Iconia

Based on:
http://forum.xda-developers.com/showthread.php?t=987740
All Credits to him
Im using this solution to run jdownloader, a local webserver, and to compile arm sources without any toolchain ( a bit more comfortable ).
You have to know, that this isnt rly fast compared to native ubuntu but its an easy solution..
Requirements:
-> Rooted Iconia A500(1)
-> Terminal Emulator ( some other shell )
Step by Step:
1) Download this package and extract it to /sdcard/ubuntu
2) Follow the installation steps in the linked orginal post.
DO NOT INSTALL THE CUSTOM KERNEL THERE!!!
Im using Jump Desktop as VNC Viewer because its a great App supporting Usb Mouse with Left and Right Click.
Do you want JDownloader running on your Tablet?
1) run apt-get install openjdk-6-jre
2) Download JDownloader MULTIOS Package from their site
3) cd to the extracted directory
4) run java -jar JDownloader.jar
Do you want to access your android system?
1) simply go to /android
You are on a ICS Rom and rightclick doesnt work? (USB Mouse)
1) apt-get install xbindkeys xbindkeys-config xdotools
2) xbindkeys-config
3) im using ctrl+left click as right click so input event is: ctrl+b:1
4) mapped event: xdotools click 3
5) add xbindkeys to autostart (for example with chrome startup application)
Interesting. Thanks for sharing
You might just as well use Linux Installer from the market...
EDIT: It can do both ubuntu and debian (stable/unstable).
This vs LinuxInstaller
I tried using the LinuxInstaller method and while it worked it wasn't as smooth as this. I used it to try to install Ubuntu 11.04 and it install Ubuntu, but headless and I had issues using LinuxInstaller's provided methods for install VNC, SSH, etc.
So far this method appears to be running smoothly, Ubuntu was install, VNC and SSH both installed, now I am just waiting for Gnome to install.
In the end they probably both work equally as well, but I am personally having more success with this method
Linux installer doesnt work on my device correctly
This only seems to be for Ubuntu 11.04.
Linux Installer only seems to support Ubuntu 9.04.
Did anybody try Ubuntu Installer Free by ZPwebsites? It seems to have a stable Ubuntu 12.04 install available from 26th April onwards.
EDIT: Doesn't look like my rooted ICS OTA 1.033 ROM meets the requirements.
japinder said:
This only seems to be for Ubuntu 11.04.
Linux Installer only seems to support Ubuntu 9.04.
Did anybody try Ubuntu Installer Free by ZPwebsites? It seems to have a stable Ubuntu 12.04 install available from 26th April onwards.
EDIT: Doesn't look like my rooted ICS OTA 1.033 ROM meets the requirements.
Click to expand...
Click to collapse
I'm using Backtrack ARM in chroot and it goes pretty well. I'm able to use it with a bluetooth mini keyboard/mouse combo + hdmi on my 40" TV
djxtabay said:
I'm using Backtrack ARM in chroot and it goes pretty well. I'm able to use it with a bluetooth mini keyboard/mouse combo + hdmi on my 40" TV
Click to expand...
Click to collapse
Which method did you use to install Backtrack? The one in the first post, or some app?
Sent from my HTC Sensation XE with Beats Audio using XDA
No there is a topic in the development called "backtrack and office" or something like this.
Simply search for backtrack in the dev section. ;-)
Sent from my A500 using xda premium
http://forum.xda-developers.com/showthread.php?t=1094237
There it is!
Sent from my A500 using xda premium

Need advice on setting up linux install

In that I got an idea, took the first step, and am now completely out of my depth.
Let me start at the beginning.
I've always wanted to get into android development, but with the departure of CosmicDan, my recent format of my home computer, and a lucky shot at taking a general development class have all culminated to suggest now's the time.
Here's my objective: Dualcore desktop computer, dualbooting Windows 8 and a flavor of linux focused entirely on being an android toolkit. Here's my problem: I used linux for a week in my highschool networking class most of a decade ago. Red Hat 7 or 8, maybe? Anyway, I know virtually nothing except what I've osmosed from using an ADB shell.
I need to know which flavor of linux is best for android dev, how to set up a dual boot, and after that point, probably step-by-step instructions on establishing a build environment and using github. I'm not completely useless at this, I know how to use google, but a lot of information is outdated and this is a somewhat situational goal.
ANY HELP IS GREATLY APPRECIATED!
Ubuntu!
And google Ubuntu google installer
Sent from my R800i using xda app-developers app
Ubuntu is more user friendly but if you want development I would suggest 1: backtrack 2: arch Linux (for advanced users) 3: fedora
Sent from my R800x using Tapatalk 2
Apparently Backtrack is called Kali Linux now...
"It includes support for the Metasploit Project's Metasploit Framework, a tool for developing and executing exploit code against a remote target machine.[2] It also includes the security tools Wireshark, John the Ripper, Nmap and Aircrack-ng.[2]"
Hahaha hell yes I'll take some of that.
I still think I'll need to install Ubuntu - I don't know how I'd put this particular build on a flash drive. Installing it from inside ubuntu would probably be easiest.
EDIT: Actually they have excellent instructions on the website for setting up a flashdrive.
im using ubuntu just fine
im on ubuntu 10.04 i compile builds fine
Use the Ubuntu wubi installer for dual boot
Sent from my R800i using xda app-developers app
Okay, Kali Linux is installed and operational, programs are updated, and I even figured out how to install Flash via the mysterious powers of 'apt-get'. Using Grub for dual boot, and I found my way around configuring it and populating a new cfg file via the terminal. Whew.
Perhaps 4/20 was a bad choice for learning a new and notoriously complex OS, or maybe it was the best choice.
I guess I'm ready to set up a kitchen, but now I need input again. Do I just 'apt-get' some magical box of android goodies, or is this process more involved?
Edit: The answer is 'more involved', but not by much. I got the kitchen from http://forum.xda-developers.com/showthread.php?t=633246 and I was even able to independantly apt-get my way out of an error without googling it! So, it's running... I guess it's time to start cutting up a ROM. I'm inclined to believe CyanogenMod would be the best starting point for that, and I'm doublefortunate that my roommate has a Nexus he's willing to let me experiment on, as I don't want to navigate the unique structure of Xperias yet.

Categories

Resources