Android :: Strange Error When Building / Using Prebuilt Tool Chain

Jan 17, 2009

When I using default pre-built android-toolchain to build android on linux, the following errors occur: hucheng@hucheng-bj:~/temp$ uname -a Linux 2.6.18.5-gg42workstation-mixed64-32 #1 SMP Tue Nov 25 21:45:59 PST 2008 x86_64 GNU/Linux Have you met it before? Institute of High Performance Computing, Department of Computer Science and Technology,

Android :: Strange error when building / using prebuilt tool chain


Android :: Errors While Building A Standalone Tool Chain

Sep 2, 2009

The Solution is *bash ./build/tools/build-ndk-sysroot.sh --build-out= ~/android/bin/out/target/product/generic (path to <ANDROID_PRODUCT_OUT>**)*

The PATH for ANDROID_PRODUCT_OUT has to be set correctly..!

View 2 Replies View Related

Android :: IOException - Strange Error

Jul 29, 2009

I'm trying to write a basic application with http get request. Eclipse validated my code, but when I using IOException in Android console I have this strange messages:

CODE:...............

And my application doesn't load into the emulator.

This is my code:

CODE:..................

View 3 Replies View Related

Android :: Strange Error With AdMob

Jan 21, 2010

I have already posted on their developer group but based on everything I've seen I don't expect a reply. I have a strange problem. When I added and adview to my app it imported a bunch of comments that all start with /** Eclipse is acting like it is not a comment. Although it isn't erroring out it has now marked anything starting with R.id as not existing. Is this something I can remedy in eclipse or is it time to chuck my dreams of being mega rich off of all the admob revenue I will be receiving? Writing code is one of few things that teaches me I don't know everything. Join the Closed Beta of Call Girl Manager http://www.fuligin.com/forums

View 5 Replies View Related

Android :: XML Parsing Strange Error

Jun 28, 2010

I am trying to parse XML with a simple sax parser. Interestingly i am able to see desired output in the emulator. but when i run the program on a device program shows no output. I tried many different way for example putting the XML file in a raw folder but every time no out put on device. Tried this on two different handset and everywhere get the same error.

View 2 Replies View Related

Android :: Strange Instance Of App Not Responding Error

Aug 31, 2010

A customer just notified me that she's experiencing the infamous "app not responding / wait, force close" message during a specific operation. By just waiting enough, the app resumes ok. Now, that specific operation is indeed long and in fact it has been programmed in a background thread, with a progress dialog signaling the wait. I can't reproduce the problem on my development phone - I suppose because it's perhaps faster than the phone of the user. But I can't reproduce the problem either with the emulator, which I suppose is slow enough. Generally speaking, I think I could be able to solve this specific problem with the customer giving me the proper feedback. It's the general issue that hassles me. This part of the application is very good covered by tests at different levels, including automated black-box tests with Robotium that drive the UI as the user would do, and even in "stress mode" (repeating the test multiple times). So I supposed to be very safe in that area and I'm disappointed to discover that it was a false sense of safety. What am I possibly missing? Also, is it possible / does make sense to "slow down" a phone during tests? I was thinking of a service running in background just consuming some CPU cycles to make the phone less responsive. Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." a.net/blog/fabriziogiudici - www.tidalwave.it/people Fabrizio.Giud...@tidalwave.it -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

View 3 Replies View Related

Android :: Strange Error With Return String From Web Service

Aug 13, 2010

I have a strange issue. I am using KSOAP2 to create a soap request to a .net webservice. I do this in a few other places and everything works fine. The webservice basically queries a data base and takes the values from the data reader and creates a string. This string is then returned. When I run the webservice on my local machine(Without using android) it works fine. When I run it from the webserver (still not android) it works fine. When I call it from my phone however the line: String hazards = (String)envelope.getResponse().toString () ; //Get response from .net Web service Simply is filled with anyType{}. Now if I go to the webservice and I manually type in the contents from the database to represent what the string concatenation should be it works perfectly. The line: String hazards = (String)envelope.getResponse().toString(); //Get response from .net Web service Now returns the string value i need. Does anyone have any idea why this is happening or know a better place to ask this question?

View 4 Replies View Related

Android :: Gl DeleteTextures Produces Strange Error (5572216)

Aug 23, 2010

I'm trying to get my head around how the vram is used in opengl, specifically when and how to clean it up. The Story So Far. I have a GLSurfaceView into which I set a Renderer implementation (called OpenGLRenderThread). This view is created (manually, by calling "new") in the main Activity of the app. When the onSurfaceCreated method of the OpenGLRenderThread is called, I load a bunch of textures in a fairly standard way: the app runs fine, however when I try to clean up these textures at the end of the "level" (the app is a game. I do the following: On the emulator it works fine, but on the device (HTC Desire, 2.1) I get a GL Error 5572216 I have no idea what this error code is as I can't seem to find any reference to it. I understand that the VRAM references are bound to the thread that created them. Hence they can only be destroyed by the same thread. In my case, this thread is the OpenGLRenderThread (Renderer) during the onSurfaceCreated call.Unfortunately the Renderer interface does not expose an "onSurfaceLost" method, so I created my own. When the Level is complete, my main activity queues a request on the OpenGLRenderThread using the following call to the GLSurfaceView: According to javadoc for queueEvent: "Queue a runnable to be run on the GL rendering thread" Ok fine, so this should mean that the OpenGLRenderThread is performing the call to onSurfaceLost. This method is the one that then calls glDeleteTextures, and produces the error. what am I doing wrong here? I am not destroying the OpenGLRenderThread or the GLSurfaceView at any point (other than game exit) so I'm worried that if I don't explicitly delete the textures my vram will eventually fill up, or worse get into a corrupt state. The only other thing that may be relevant is the use of a ViewFlipper. Because I want to load each level asynchronously I am using a ViewFlipper in the main activity to flip to a loading screen while all the level resources are rebuilt. Hence when the call to glDeleteTextures is made, the GLSurfaceView is not actually visible not sure if this is meaningful or not.

View 4 Replies View Related

Android :: Error Creating Dex File While Building Using ANT

Oct 23, 2009

I created a sample project using the below command:

android create project --target 1 --name HelloAndroid --path ./ HelloAndroid --activity HelloAndroid --package com.helloandroid

Then attempted to build it using ANT. It gives the below error while creating the .dex file.

CODE:............

BUILD FAILED C:android-sdk-windows-1.6_r1platformsandroid-1.1 emplates android_rules.xml: 129: apply returned: 2

Total time: 5 seconds

View 3 Replies View Related

Android :: Error While Building Code Using Make

Jul 16, 2009

I have downloaded the code successfully using "repo sync" on my linux system and now I want to buld it using make but it fails and telling that

"frameworks/policies/base/PolicyConfig.mk:22:*** No module defined for the given PRODUCT_POLICY (android.policy_phone) . stop. "

View 9 Replies View Related

Samsung Behold 2 :: Strange Error With Contacts?

Jan 17, 2010

I was trying to make a call today, but every time I pressed contacts a TouchWiz style error message would pop-up and say "Initializing, try again later." The wording may not be exact, but that's pretty close. Then it would dump me back to the home screen. I ended up rebooting and now it works fine. But when things that should be a basic function of the phone don't work, I get kind of ticked off.

View 11 Replies View Related

HTC Desire :: Strange Contacts / Facebook Error

Jun 13, 2010

Having a few problems ringing people on my phone. I get a voice saying "the number you have called has not been recognised". I looked at the number and it start 447xxxxxxxxxx I went to edit the number in phonebook and it's fine cos it starts off as 07xxxxxxxxx, i have to edit the number each time i wanna ring these person now unless they're in my previous call list! They are linked to their facebook profile but they don't store their number of facebook so why is it being converted to 447xxxxxxxxxx if it has the + before the 44 i think it would be an issue! I've never had this issue before either

View 2 Replies View Related

Android :: Error When Building Kernel Image With Ubuntu 9.10

Jan 28, 2010

I am facing an issue as below when building kernel image. Code...

View 2 Replies View Related

General :: Building Rom 4.4 GCC Error?

Nov 4, 2013

I have been learning to build roms but trying to build for my device, this question isnt device specific as im having this error:

Code:
target Executable: whisperd (out/target/product/wingray/obj/EXECUTABLES/whisperd_intermediates/LINKED/whisperd)
/home/logmd/android_KK_4.4/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: warning:

[code]....

I understand that i need to add -fno-short-enums to gcc but havnt been able to figure out where it is called!?

View 1 Replies View Related

Android :: Unknown Error With AAPT Tool While Build Project

Jun 18, 2010

I am in need of help to complete my application. I am trying to execute a project that uses and android library. Basically I am trying to execute the android facebook sdk to run the sample code provided at http://github.com/facebook/facebook-android-sdk 1. I have downloaded the sdk and extracted the zip file to a folder 2. I used Eclipse galileo import to create an android project from existing resource. I imported the sdk source code (facebook folder of the sdk) into my project explorer successfully. I can also run Build Project for this source code. 3. Now, I am trying to import the sample example in it. The project is imported but I cannot execute it. I cannot build the project. Code...

View 2 Replies View Related

General :: MID7012 - Kernel Building ERROR

Dec 28, 2011

so far i have downloaded the tcc8902 kernel, it fails to build...

using ubuntu 11.10

am i missing something in my toolchain???

when i "make menuconfig" i get a few error....

and after that i just run "make" it fails.... see image...

View 9 Replies View Related

General :: Compile Error In APK Multi Tool

Apr 29, 2013

I was being decompiling my settings.apk And after compiling i was edit XML Files there And after editing i compile it And theres a error that it said go to option 21 to take a log but its only a compression level for apks i think its should 24. I was only creating a rom but this only compiling made the day long to post it here

GT-S5300 Rooted with Remix v2 Rom

View 4 Replies View Related

General :: WPA Supplicant Error While Building AOSP For Huawei U8818

Jul 5, 2012

I had done with Android ICS source compilation.It's working fine with emulator.

But when I start a build for real device Huawei Ascend G300 U8818.I get the following error.

make: *** No rule to make target `out/target/product/u8818/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/lib_driver_cmd_wext.a', needed by `out/target/product/u8818/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant'. Stop.

View 1 Replies View Related

General :: Eboot Error (16008) In Smart Phone Flash Tool (Micromax A25)

Feb 17, 2013

how to fix this error... i also create a new scatter file of my phone.. but nothing works..

Error is

EBOOT ERROR : (16008)

[Android Partition size changed!

[HINT] Partial images download error

View 1 Replies View Related

Android :: Matching Prebuilt Kernel Sources

Jul 10, 2009

I have a recent "repo" copy of the platform tree and I noticed that the kernel sources included in it are incomplete. For example, the arch/arm/mach-goldfish directory is not present, but devices from this directory are present in the kernel that the emulator boots. How can I get a more complete copy of the linux kernel sources? Are there tags for lining up these sources with the prebuilt kernel that is shipped in the platform tree?

View 3 Replies View Related

Android :: Way To Use Prebuilt Toolchain With Configure / Make?

May 30, 2009

I'd like to know more about porting C applications to native ARM for use on Android devices. I can make simple programs using the prebuild toolchain which comes with the source, but how can I use this toolchain with applications which are more than one file and require configure and make? (I'm trying with Vim for starters).

View 2 Replies View Related

Android :: Including Prebuilt Java Classes Into Project

May 3, 2010

i'm trying to include a maven java project into my android project. the maven project is the greader-unofficial project which allows developers access to google reader accounts, and handles all of the http transactions and URI/URL building, making grabbing feeds and items from google reader transparent to the developer. the project is available here:

the code is originally written for the standard jdk and uses classes from java.net that are not a part of the standard Android SDK. i actually tried to manually resolve all dependencies and ran into a problem when i got as far as including com.sun.syndication pieces required by the class be.lechtitseb.google.reader.api.util.AtomUtil.java... some of the classes in java.net that are in the standard jdk (i'm using 1.6) are not in the Android SDK. in addition, resolving all of these dependencies manually is just ridiculous when i'm compiling a maven project that should be pretty simple.

however, i can use maven to compile the sources with no issue. how can i include this maven project, which is dependent on the complete jdk, into my android project in such a way that it will compile so that i can access the GoogleReader class from my android project? and for the record, i don't have the expertise to rewrite this entire api to work with the standard Android SDK.

View 2 Replies View Related

Android :: How To Create BKS - BouncyCastle - Format Java Keystore That Contains A Client Certificate Chain

Oct 31, 2010

I'm writing an Android app that requires SSL client authentication. I know how to create a JKS keystore for a desktop Java application, but Android only supports the BKS format. Every way I've tried to create the keystore results in the following error:
handling exception: javax.net.ssl.SSLHandshakeException: null cert chain

So it looks like the client is never sending a proper certificate chain, probably because I'm not creating the keystore properly. I'm unable to enable SSL debugging like I can on the dekstop, so that's making this much more difficult than it should be.

For reference the following is the command that IS working to create a BKS truststore:
keytool -importcert -v -trustcacerts -file "cacert.pem" -alias ca -keystore "mySrvTruststore.bks" -provider org.bouncycastle.jce.provider.BouncyCastleProvider -providerpath "bcprov-jdk16-145.jar" -storetype BKS -storepass testtest

Here is the command I've tried that is NOT working to create a BKS client keystore:

CODE:.........................

View 3 Replies View Related

General :: Programming Chain Dialing In Galaxy S4?

May 27, 2013

I recently migrated from the iPhone to the Galaxy S4. When retrieving business voice mail messages from an external business voice mail system, I must call an access number, then follow voice prompts that request PIN numbers and mailbox numbers. I would like to be able to program within ''contacts," an entry titled "Office voice mail" that executes chain of commands that enable the phone to automatically dial number sequences with a single touch. I have been able to do with with every smartphone and calling device I've owned for the past 15 years.which dialer keys on the Galaxy S4 that correspond to "pause" and which key will enter programmable PIN numbers and authorization codes.

View 3 Replies View Related

Motorola Droid :: GVoice Trick - Chain Dialing

Nov 12, 2009

Does anyone know how to do chain dialing on the droid? I found this for GVoice.

View 1 Replies View Related

General :: CM KitKat Build - Add Prebuilt Package?

Nov 25, 2013

I'm trying to build CM KitKat for the Optimus S/V (unsupported by CM). The build is crashing out trying to link libwebviewchromium.so.It gives dozens and dozens of errors like this: external/chromium_org/content/browser/android/browser_media_player_manager.cc:70: error: relocation overflow in R_ARM_THM_CALL

At the end it prints this:

collect2: error: ld returned 1 exit status
make: *** [/home/dbrown/cm11/out/target/product/thunderc/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1

It may be a problem with insufficient memory on my build machine (Core 2 Duo laptop with 3 gb ram). For the time being, or in case that's not the problem I'm looking for a work-around. I looked in the Android.mk file for external/chromium_org and saw this:

# Don't include anything if the product is using a prebuilt webviewchromium.
ifneq ($(PRODUCT_PREBUILT_WEBVIEWCHROMIUM),yes)

how can I add a prebuilt webview library so I can get past this error? I just want to get something built for now so I can test it. This would be the first successful build for this device.

View 3 Replies View Related

Android :: Android Installing A Prebuilt Binary Not Found

Jun 25, 2009

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.

View 1 Replies View Related

Android :: Strange Looking Rounded Rectangles?

Nov 2, 2010

I'm using the following to draw rounded-corner rectangles in my Android application and it seems to be working alright but with one minor problem:

CODE:.......

(Adding labels to the rectF's defined above follows) ...

The strange thing is that the two ends of the rectangle aren't rounded over the same. The left-size quarter circles are noticeably smaller than the ones on the right.

Anybody experienced anything similar? It's weird enough that I might change my mind about the round corners if I can't do anything about it.... And if I knew how to do a screen capture from my Android, I would.

The rectangles in question are 78 pixels wide and 48 tall, if that helps (and since ykatchou may be onto something).

View 1 Replies View Related

Android :: GestureOverlayView Causes Strange TableRow Blending

Jul 2, 2010

With the XML layout shown below, I have some views wrapped in a GestureOverlayView. As shown below, my first row is blended with the second row, as-if the first row is transposed right on top of the second. Now when I take the GestureOverlayView out of the code and leave everything else as-is, my table looks fine - the rows are separate and not on top of each other..........

View 1 Replies View Related

Android :: Keep Getting A Text Message From Strange Sender

Nov 14, 2010

Bit of an odd one this...Every now and again I get a blank text. The sender is stated as ...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved