[android-developers] After successful(?) src build, how do I run my build in the emulator
Hi guys, I'm having a lot of trouble getting trying to run the build I made from Android source. I'm on Ubuntu 9.10 32-bit for x86. I set up Ubuntu fresh to specifically do this. I followed these instructions which very strangely omit and explanation of how to actually run the build(!!): http://source.android.com/download I can perform an apparently successful build using make (no success message, it just finishes without errors except for one at the very beginning, which I can't recreate now). I tried to run my build with this command: $ ./out/host/linux-x86/bin/emulator -sysdir ./out/target/product/ generic/ -kernel ./prebuilt/android-arm/kernel/kernel-qemu -data ./out/ target/product/generic/system.img The emulator window pops up and it says Android in plain text, then after a moment it shows the graphical ANDROID text. It shows the graphical text for a while, goes black for a second, and then shows the graphical text for a while again, like it could be stuck in a loop. If anyone could post up-to-date info about how to actually run in the emulator this fresh build that would be immensely helpful. To make things even more confusing, for some reason, now when I try to run make, I get this, even though it seemed like I was successful before: $ make PLATFORM_VERSION_CODENAME=AOSP PLATFORM_VERSION=AOSP TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release TARGET_ARCH=arm HOST_ARCH=x86 HOST_OS=linux HOST_BUILD_TYPE=release BUILD_ID=MASTER /bin/bash: line 0: cd: development/tools/layoutopt/app/src/resources: No such file or directory Install: out/target/product/generic/system/app/Mms.apk If anyone has any ideas, I'd be very grateful. I'm a moderately experienced Java developer, but am clueless with make, and somewhat confused by how the Android build/install/emulator/etc process works. Thanks, Jamie -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml
Ok, I got it working on my machine, this may apply to you guys too... To run the android SDK manager in the first place, I exported the x86 lib directory inside of /android-sdk-mac/tools/, then I pointed the JDK home in the android file to another place other than i's default. That caused it to get the null error message when it tried to download the packages. Once I set up my Java config to accommodate android's desired location for JDK 1.5 (32-bit) it worked fine. This seems like a strange glitch... they must be hard-coding the Java location somewhere in the app aside from the java_cmd variable inside the android sdk launcher. Maybe this will point you in the right direction for getting Linux android sdk working, I hope... Also I will say that I _DID_ have to use the force http setting, even with all that I did above. Good luck! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml
We already know about that... our problem is that the force http workaround DOES NOT work for us either. On Oct 28, 1:57 pm, GSmurf gsmu...@gmail.com wrote: If you are on windows you could go in settings options and checked in misc section force https:// ... sources to be fetched using http://...; restart application and that's works !! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml
I'm still jammed on this. I'm having the same problem as Philip but on Mac OS X. I have ~/.andriod/androidtool.cfg showing what you put sdkman.force.http=true Not sure what to do!!! Can't wait to get my hands on 2.0 :) On Oct 27, 10:08 pm, Philip phwang...@gmail.com wrote: I have the same problem on ubuntu. I create the file ~/.android/ androidtool.cfg but it fails. On 10月28日, 上午7时31分, Xavier Ducrohet x...@android.com wrote: ok this is weird. Someone else (running ubuntu) had the same problem on IRC. It looks like it fails somehow to create the file containing the settings, but I don't know why (it works fine here). The file is ~/.android/androidtool.cfg try to create it manually and add one line to it: sdkman.force.http=true we'll try to figure out why it fails. Xav On Tue, Oct 27, 2009 at 3:58 PM, garycode garyma...@hotmail.com wrote: Hi, I'm trying to install a platform but when I type android the manager loads then I click Available Software then select the https://dl-ssl.google.com/android/repository/repository.xmlrepository I get this error., Failed to fetch URLhttps://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings. So I click the settings tab and select the force through http then click apply and save then nothing happens it doesn't save it because if i then close it and reload it the checkbox is unticked so it's not even using the force through http method. I get the same error if i go straight back to available software. I'm using Fedora and wget can download the xml file using ssl so I don't know why it's getting this https ssl error. Any ideas anyone? Thank you -- Xavier Ducrohet Android SDK Tech Lead Google Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---