I am using Virtual Box with KUbuntu Linux on x86(Windows XP) system and setting up system for Android Source SDK. I have installed repo through (curl http://android.git.kernel.org/repo >~/bin/repo). Now I am trying to initialize repo by $ repo init -u git://android.git.kernel.org/platform/manifest.git but here I am getting an error shown as follows:
Traceback (most recent call last): File "/home/tirtha/mydroid/.repo/repo/main.py", line 235, in <module> _Main(sys.argv[1:]) File "/home/tirtha/mydroid/.repo/repo/main.py", line 217, in _Main repo._Run(argv) File "/home/tirtha/mydroid/.repo/repo/main.py", line 123, in _Run cmd.Execute(copts, cargs) File "/home/tirtha/mydroid/.repo/repo/subcmds/init.py", line 218, in Execute self._SyncManifest(opt) File "/home/tirtha/mydroid/.repo/repo/subcmds/init.py", line 123, in _SyncManifest m.PreSync() File "/home/tirtha/mydroid/.repo/repo/project.py", line 1440, in PreSync cb = self.CurrentBranch File "/home/tirtha/mydroid/.repo/repo/project.py", line 271, in CurrentBranch b = self.work_git.GetHead() File "/home/tirtha/mydroid/.repo/repo/project.py", line 1226, in GetHead fd = open(path, 'rb') IOError: [Errno 2] No such file or directory: '/home/tirtha/ mydroid/.repo/manifests/.git/HEAD'
I have try to go to the mentioned folder and it looks like /home/ tirtha/mydroid/.repo/manifest.git/HEAD rather '/home/tirtha/ mydroid/.repo/manifests/.git/HEAD'. Can anybody suggest me the reason of the error and any solution for this.
When I wanted to get Android source code, I knew that I have to use "repo". So what is repo? Why do they use repo and not just use GIT?, and is there a GUI for repo that enables me to pause/resume syncing, because every time I get disconnected occasionally it seems that repo starts syncing from the beginning!
i did repo sync platform/packages/apps/Contacts.git and i received the specific src files for that project now that i modified what i wanted, i want to ubild my changes and patch them to my current Android OS. I tried running make from working directory, but there is no makefile. How would i go about doing so?
I was just wondering if I want to sync to the latest Eclair repo which one of the following would be the correct command? What is the difference between them? Currently I am using cupcake version and wanted to move up to eclair. Would I need to do any thing else as far as syncing and building the eclair branch? Currently I am using "Ubuntu 9.04 (Jaunty Jackalope)" and java version "1.6.0_16". Code...
I am trying to set up a private repository of Android source code while hosting the git trees on github as private repos. I have no problem changing the manifest.xml file to point to public git trees hosted on github in the same way that CynagonMod does, but when trying to point to private repos I get the following error when trying "repo sync":
Initializing project username/android_external_webkit ... fatal: The remote end hung up unexpectedly error: Cannot fetch username/android_external_webkit Where username/android_external_webkit is of course a private github repo of the same name. I understand the error occurs since I did not specify my user name and credentials to github, but I fail to see how to do it in the manifest.xml with repo.
I am trying to download the android source onto a new ubuntu 8.10 installation on a x86 machine. All the steps worked fine until I tried to init the repo client. I get the following. I can't find anyone else having such an repo error. I did find an obscure message that said the python error might be due to a missing readline module. I tried to install lib32readline5-dev as in the download instructions and got the following error Any ideas anybody? I am somewhat new to linux but have had a fair amount of unix experience in the past. Code...
When I'm in the ~/kelso/android/ system directory in the terminal and try to repo sync,it just keeps saying " update repo to latest version 1.8" then it downloads a files and stops. I try to repo sync again and same thing...
I've googled for hours with no results. Back when I had Ubuntu 10.04 this was never an issue.now that I'm running a clean installed version of 12.10,compiling CM isn't going so smooth...
I ran the command to sync with android-4.1.1_r1. Its literally been syncing for hours and still not done. I'm currently on /platform/pdk. As for Ubuntu, I've never used it before but I'm running the guide posted on XDA for building with Ubuntu and I've done everything to the point of syncing...which I'm waiting to advance after this is done.
When you have to pull the proprietary files it says to use the device name. In my case it would be Samsung_d2tmo (for T-Mobile sgs3) correct?
I'm working for Freescale Semiconductor on the i.MX series linux BSP. Now we have android running well on i.MX515 platform, and hope to push android kernel repo into android.git.kernel.org. Then what's the process need us to follow? How reviews will be done? And what we should provide?
I am using Ubuntu (newbie) and I installed JRE, JDK and Android-SDK knowing that this is what I need to start developing android apps. However, I noticed that platform-tools directory is missing. According to some articles that I read, I need to run the android tool inside the "Tools" folder to get a copy of the missing folder. But when I try to run "android" tool, it gives me this error "android: Command not found". I did not do anything aside from installing JRE, JDK and Android-SDK.
Code: make: /home/dm47021/Android/toolchains/arm-unknown-linux-gnueabi-linaro_4.8.2-2013.08/bin/arm-unknown-linux-gnueabi-gcc: Command not found /bin/bash: /scripts/gcc-version.sh: No such file or directory
I have an interesting problem: My boss/the-marketing-team want to be able to distribute a separate version of our application to a number of 'partners'. The application itself would be *exactly* the same app, except that they'd like a partner-specific property to be passed to our web-service when the app runs (for tracking). The last thing I want to do is have 'n' builds of the product, each with a single constant changed (or a difference in the Manifest). This would be a maintenance nightmare, as well as the obvious issues you have when you have multiple mostly-identical versions of a product floating around.
I also suspect the Android Market would have a problem with "MyProduct for X users", "MyProduct for Y users", etc. Showing up for download. In a perfect world everyone would download the same app, and there would be some cool undiscovered Android feature where the Market URL could include "&vendorcode=X" that would be passed into the app on install. My question is this: Since the install process would be initiated by the user clicking on a link in their browser of choice (on the Android device), is there *any* way that the web server could be sent some 'device specific identifier' by the browser that would also be available to my APK? (In this way the web server would be able to match up the original install request and the first run of the app after install).
The latest version of Google Now (2.1) doesn't like being flashed. If you flash it via CWM it seems to break voice search functionality, causing a force close.
Playing with the adb shell, I discovered that the pm install command works nicely:
Code: pm install [APKNAME].apk
So, I thought this would be perfect to execute in a shell script via CWM/Edify.
So far I've tried all manner of commands. First I was trying the above command in a install.sh file, before I realised that "pm" wasn't present anywhere in /sbin/ (the header of my shell script is #!/sbin/sh").
Which, copies the files correctly. This also isn't my first time running scripts in my installer, but this is the first time I've attempted this. To no avail. This same command works in the adb shell, though.
Also, is there another way of flashing that may work? I heard about putting the original file ("Velvet.apk") in /system/app and then putting the updated version in /data/appcom.google.andorid.googlequicksearch-1.apk but this doesn't work either.
Running the above script in Busybox installer's script running function also works perfectly. The only thing it won't do is install from CWM.
I followed this guide From stock 2.0.1 >to> Sholes.info ROM..Step by Step. No ADB involved. Forum - Verizon Droid & the Motorola Droid Forum Going good till I got to this step 52. Choose 'Choose ROM from SD card' it says E: No tar archives found. What do I do now?
The title basically says it, there are a handful of apps that I can not figure out how to re-download through App Brain or directly through the Market after installing the 2.2 update.And a few others, but those are the ones I paid for and would like to have now.Are these not compatible with Froyo? Or does anyone have an explanation for why they would be showing up as not found in the Market?
I'm trying to install a prebuilt binary in a custom Android image. For that I have copied it to a new directory in prebuilt/android-arm/ with an Android.mk file similar to this one: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := binary_name LOCAL_MODULE := binary_name LOCAL_MODULE_CLASS := EXECUTABLES include $(BUILD_PREBUILT) So if I run make system_image binary_name, the binary file is copied to /bin/ in system image. And if I run the emulator I can see the binary file in /system/bin. The permissions are the same as the other executables (-rwxr-xr-x) and, according to file, this is an ARM binary (ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped).But when I run it on the emulator, it says: # binary_name binary_name: not found have straced it and this is what I can see: # strace binary_name execve("/system/bin/binary_name", ["binary_name"], [/* 9 vars */]) = -1 ENOENT (No such file or directory)But the file is there, and strace is able to find it.Any idea of what can be happening?UPDATE: As Kristof says, this is probably a problem of dynamic linking, but I don't have ldd for Android ARM.
I have a rooted samsung captivate with sideloading enabled. After experimenting with different wifi tethering apps from the unofficial market, I began experiencing difficulties with my wifi connection. Even after uninstalling every app that I thought was changing the wifi state, the problem still persists. I can turn on the wifi and it will act normally for about 30 seconds before turning off without user intervention. In dmesg, the error is as follows: 'mmc1: Got command interrupt 0x00060001 even though no command operation was in progress.' Is this caused by an app or is this a more complicated problem?
Anyone ever had this happen? Downloaded an update after the 2.1 upgrade and I sync'd my contacts with FB. It then deleted all of my contacts.So I deleted Facebook, re-stored all my contacts and reloaded Facebook. However, now it gets as far as installing and it never stops. It just stays on Installing.However, the FB app works fine on the phone itself.Is this a Market glitch? Is there anyway I can purge it from out of my downloads section?
I have tried to update the default youtube app on my nexus one (Froyo) numerous times. I get the message "Error Installing - Package file was not signed correctly". I am trying to upgrade from 1.6.21 to 2.0.26.I have tried unmounting my SD card, clearing the cache for the android market, the download manager and the original youtube app.