General :: Android Kernel Compilation Giving Error
Aug 21, 2013
I am new to android. i am try to compile android kernel 3.4.0 for HTC device.After running cross compile command,
"export CROSS_COMPILE=/home/jharvard/ndk-x86/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-"
when I run make clean command "make clean && make mrproper".It shows errors,
/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 25: arm-eabi-gcc: command not found
/home/jharvard/kernel-code/linux/scripts/gcc-version.sh: line 26: arm-eabi-gcc: command not found
View 1 Replies
Apr 6, 2012
Shell script for compiling a kernel that i could use?
View 2 Replies
View Related
May 16, 2013
I decompile an apk (an ordinary TSF Shell theme) without any problem but when it comes to recompiling. Its always the same error. Trying this for a week with apktool, tickle my android and with apk multi tool. When I send my decompiled files to my friends they can compile it but on my computer at home or at work I get the same error forever. I have Windows 7 Ultimate 64 bit installed. You can see installed java version on the code.
Code:
|16.05.2013 -- 23:22:52,12|
--------------------------------------------------------------------------
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
[code]......
View 1 Replies
View Related
Feb 22, 2014
Lately I have been trying to install a ROM on to my phone, but I cant get the files onto my SD card. Keeps saying, "Cannot copy item. The device has either stopped responding or has been disconnected.". I just rooted the phone about a week ago and figured I would change the ROM. Also tried unblocking the files but got nowhere. Also tried other ROMs, nothing is working. But I can transfer files to and from my SD card with no error.
View 3 Replies
View Related
Sep 15, 2012
Running a Galaxy Nexus on Stock 4.1.1 (rooted).Last week, Play Store randomly started giving me the DF-BPA-09 Error when I wanted to download new apps. Old apps would update fine. I searched XDA and found that turning Google Sync Off and restarting the phone solved it. It worked once or twice, but the problem kept coming back.
Then read another thread that said go to All Apps > Play Store >Uninstall Updates and Clear Data. I did this, and now when I start Play Store, it permenantly gives me 'Server Error', with a Retry Button below it.I have Titanium Backup Pro, so tried restoring an older version, tried Freezing and Unfreezing the App, still not working.
DF-BPA-09 Error used to come, Cleared Play Store Data and now stuck at Server Error.
View 4 Replies
View Related
Sep 26, 2009
Has anyone got the WikiNote from
http://code.google.com/p/apps-for-android/
What I did was:
1) Checkedout the project via apps-for-android instructions
[svn checkout http://apps-for-android.googlecode.com/svn/trunk/ apps-for-android-read-only]
2) Opened a new Android project using existing source dir [per the WikiNote direction]
3) Cleaned the project and let it rebuild
It won't build the APK though and reports compilation errors (the top level dir is flagged red in eclipse but nothing else is so I can't track down where the error supposedly is)
Java Model Exception: Java Model Status [gen [in WikiNotes] does not exist] at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:502) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:246) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:252) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:238) at org.eclipse.jdt.internal.core.PackageFragmentRoot.getKind(PackageFragmentRoot.java:477) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.processDelta(PackageExplorerContentProvider.java:645) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.handleAffectedChildren(PackageExplorerContentProvider.java:791) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.processDelta(PackageExplorerContentProvider.java:734) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.hand leAffectedChildren(PackageExplorerContentProvider.java:791) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.processDelta(PackageExplorerContentProvider.java:734) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider.elementChanged(PackageExplorerContentProvider.java:124) at org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1557) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java:1547) at org.eclipse.jdt.internal.core.DeltaProcessor.firePostChangeDelta(DeltaProcessor.java:1381 at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1357) at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:1958) at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:470) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:313) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1022) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
eclipse.buildId=I20090611-1540 java.version=1.5.0_20 java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/me/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -product org.eclipse.epp.package.jee.product -keyring /me/.eclipse_keyring -showlocation
View 2 Replies
View Related
Oct 5, 2011
I've an error sntax on my 'else' in this if-else statement.
source code:
//click on one of chapters
list.setOnItemClickListener(new OnItemClickListener()
{
public void onItemClick(AdapterView<?> parent, View view, int position, long id)
{
String item = ((TextView)view).getText().toString();
//Choose Chapter 1
[code]....
View 1 Replies
View Related
Jun 27, 2012
Im here because of my problem with SGA 2.Few days ago I bought ACE 2 and I found few problems with "external_sd".So the problems are
1. When I try to create folder it gives me error "Creation failed"
2. When trying to move folder from internal memory to external sd it gives me error like "Moving failed", while copying goes fine.
3. I can move/copy any file to sd card, but sometimes those files got corrupted, gives me error about memory when trying to open pictures, same problem when saved camera saved photo to sd card. Even getting error when trying to play video.
APK files got corrupted too.
4. When I have moved apps to sd card some while apps work great, but after some time cant launch apps because it gives me error about that app doesnt exist.
I tried formatting sd card with pc and android.
Factory reset.
Repartition to same firmware with Odin.
Wipe cache, wipe data.
I dunno what causes those error, bugs, glitches. Is it phone or android sytem?
Tried many sd card and always got same errors. But when I mounted mine sd card to another phone it worked perfect.
View 2 Replies
View Related
Feb 2, 2010
I dont what to give any background to activity when i leave this propery blank it gives me error, and i have tried using @null as a value but it shows black background.can any one guide how to make it transparent?
View 2 Replies
View Related
Sep 28, 2010
I am creating a few layouts with the root element being merge. inside the merge element i have a ScrollView containing a TextView. I am getting 2 errors: there is no resource to match the layout_below and layout above names i have put in.I have another layout xml file including very similar components, some of which also reference @id/headingLayout and @id/tabsLayout. Both of these XML layout files do not contain the component with name headingLayout or tabsLayout.Why is it that one layout file has no errors about these references and the other layout file does? What the crap am i doing wrong, the app will build and run like i expect, until i add this merge to another layout?I have even tried copying the xml from the working layout file, to find that it gives the same errors, something must be wrong with my new layout file. I have tried cleaning, rebuilding, opening/closing eclipse..
View 1 Replies
View Related
Sep 30, 2010
Am I going wrong anywhere here ? because this is giving runtime error. application stopped unexpectedly.
I may b wrong in syntax.
CODE:..................
View 1 Replies
View Related
Nov 18, 2009
When I add video source and video encoder, it gives error in recoreder.prepare() (prepare failed) while the same code is working only for audio. I am not finding what I am doing wrong.
setContentView(R.layout.camera);
preview=(SurfaceView)findViewById(R.id.surface);
previewHolder=preview.getHolder(); previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
recorder = new MediaRecorder();
String url = "/sdcard/dcim/test.3gp";
camera = Camera.open();
Camera.Parameters parameters = camera.getParameters();
parameters.setPreviewSize(352, 288);
parameters.set("orientation", "portrait");
camera.setParameters(parameters);
recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setOutputFile(url);
recorder.setVideoFrameRate(15);
recorder.setVideoSize(480, 320);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
recorder.prepare(); recorder.start(); Thread.sleep(100000);
recorder.stop(); recorder.release();
} catch (Exception e) { e.getMessage(); }
View 3 Replies
View Related
Jul 9, 2013
I have recently gotten back into developing Android applications. However, every time I try to run an application on my phone now, I get the error message - "Parse Error - There is a problem parsing the package."
Two years ago, I used Eclipse to develop projects, which is what I'm using now. Though, I had to reinstall eclipse and everything else. So it's a new setup but I believe it's the same general setup.
I can put my old .apk files on my phone, and they work fine. If I put any newly created .apk files on my phone, I get the parse error.
I also found that if I compile any OLD projects and then copy those onto my phone, that I get the parse error.
This leads me to believe I've got something set up wrong in Eclipse that my phone isn't liking.
I thought maybe it was the virtual device manager, so I've tried several combinations of virtual devices - 1.5, 2.1, 2.2, 2.3.3 - using any of them still gives the parse error when trying to run the applications on my phone.
By the way, all of these projects work in the emulator running through Eclipse, so I know they work.
View 10 Replies
View Related
Jun 4, 2010
I am currently developing android XMPP client to communicate with the Tigase server setup locally.Before starting development on Android I am writing a simple java code on PC to test connectivity with XMPP server.My XMPP domain is my pc name "mwbn43-1" and administrator username and passwords are admin and tigase respectively.Could anyone please tell me the solution for this problem.I checked the XMPPConnection.java file in the Smack API and it looks the same as given in the link solution.
View 3 Replies
View Related
Feb 25, 2012
I have built many kernels on the wildfire s for cm7 but I noticed that ksgl was not getting compiled so I added it to the build and it compiles but at the end of compiling. URL...
View 2 Replies
View Related
Jul 22, 2010
Does anyone else have find their browser giving this error often while on WiFi? I have to disable and move to 3G just to get my connection back.
View 49 Replies
View Related
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
Mar 9, 2012
Last week, I played around with getting a custom recovery built for INQ Cloud Touch..
After compiling - flashing recompiling re-flashing for almost a week and on the verge of giving up ...
I realized, searched and found flash_image ... come to find out custom compile of recovery was fine, fastboot did not like my device and wasn't flashing it properly.
So flash_image got the custom recovery working as suppose to, able to backup/restore ... Flash roms.. however there are no roms.. best i could do was try roms from devices close to this one, with no luck!
So i decided i would try my hand at making a 2.3.7 gingerbread rom. Of course stock is froyo 2.2.1 and before i can make the rom.. i need a kernel for gingerbread. So I got the cm-kernel source using this guide:
[URL] .....
[EDIT]
pulled my .config file using both
/proc/config.tgz
and the included script to pull it from the boot.img
[/EDIT]
Now, i been trying to get kernel compiled for the last 5 days.. and like i said, no lack of searching and reading... Had first error, forgot what it was now, but i got it fixed and compile went on.
Code:
LD .tmp_vmlinux1
arm-eabi-ld: no machine record defined
arm-eabi-ld: no machine record defined
arch/arm/mach-msm/built-in.o: In function `parse_tag_msm_partition':
[Code] ......
I have a notepad full of things i have enabled/disabled and restored to original trying to find what is missing or shouldn't be there!
View 5 Replies
View Related
Apr 8, 2010
My youtube app that came installed on the phone already gives me an error when trying to play videos.
View 6 Replies
View Related
Sep 8, 2010
Is anyone else all of a sudden having problems with Yahoo mail not working and giving an authentication error when trying to re-add the account?
ETA: I just found that these settings work but I have to disable WiFi which is total BS
For Incoming Server Settings set the IMAP server to imap.mail.yahoo.com and the Port to 143
For Outgoing Server Settings set the SMTP Server to "smtp.mobile.mail.yahoo.com and the Port to 587
View 2 Replies
View Related
Mar 29, 2014
I am following this right here [URL] .... And i keep getting command not found even though i am sure its right.
Code:
~/AlienKernel3.0-alien-4 $ export CROSS_COMPILE=/home/user/ndk/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-
Code:
sudo make clean && sudo make mrproper
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
[Code] ....
View 1 Replies
View Related
May 22, 2014
kernel compiling with GCC 4.8 google toolcahin:
Got this error during generating bcmdhd module:
Quote:
CC [M] drivers/net/wireless/bcmdhd/wl_cfgp2p.o
drivers/net/wireless/bcmdhd/wl_cfgp2p.c: In function 'wl_cfgp2p_act_frm_search':
drivers/net/wireless/bcmdhd/wl_cfgp2p.c:769:31: error: array subscript is above array bounds [-Werror=array-bounds][code].....
View 3 Replies
View Related
Oct 31, 2010
I am working on an Android app but I keep getting a Leak Found error. Here's the Call Stack:
11-01 11:26:47.087: ERROR/Database(7317): Leak found
11-01 11:26:47.087: ERROR/Database(7317): java.lang.IllegalStateException: /data/data/com.noshufou.android.su/databases/permissions.sqlite SQLiteDatabase created and never closed
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1792)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:798)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:857)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:850)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:535)
11-01 11:26:47.087: ERROR/Database(7317): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
11-01 11:26:47.087: ERROR/Database(7317): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:193)
11-01 11:26:47.087: ERROR/Database(7317): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98)
11-01 11:26:47.087: ERROR/Database(7317): at com.noshufou.android.su.DBHelper.<init>(DBHelper.java:28)
11-01 11:26:47.087: ERROR/Database(7317): at com.noshufou.android.su.UninstallReceiver.onReceive(UninstallReceiver.java:10)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2637)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.access$3100(ActivityThread.java:119)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
11-01 11:26:47.087: ERROR/Database(7317): at android.os.Handler.dispatchMessage(Handler.java:99)
11-01 11:26:47.087: ERROR/Database(7317): at android.os.Looper.loop(Looper.java:123)
11-01 11:26:47.087: ERROR/Database(7317): at android.app.ActivityThread.main(ActivityThread.java:4363)
11-01 11:26:47.087: ERROR/Database(7317): at java.lang.reflect.Method.invokeNative(Native Method)
11-01 11:26:47.087: ERROR/Database(7317): at java.lang.reflect.Method.invoke(Method.java:521)
11-01 11:26:47.087: ERROR/Database(7317): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:862)
11-01 11:26:47.087: ERROR/Database(7317): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
11-01 11:26:47.087: ERROR/Database(7317): at dalvik.system.NativeStart.main(Native Method)
The problem is I don't use a database anywhere in my code.EDIT:Here is the code snippet of the whole program. Also I only get this error sometimes and sometimes I don't which is another weird thing. Here is the main Activity:public class SetAlarmUI extends Activity {TextView mTimeDisplay;Button setAlarmButton;
private Calendar time;
private int alarmHour;
private int alarmMin;
static final int TIME_DIALOG_ID = 0;Toast toast
View 2 Replies
View Related
Apr 30, 2014
Got the following errors after compilation Hammerhead AOSP with "make otapackaage -j4":
target Java: core (out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes)
javac: target release 1.5 conflicts with default source release 1.7
make: *** [out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/javalib.jar] Error 41
make: *** Waiting for unfinished jobs....
javac: target release 1.5 conflicts with default source release 1.7
make: *** [out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes-full-debug.jar] Error 41
View 2 Replies
View Related
Jan 28, 2010
I am facing an issue as below when building kernel image. Code...
View 2 Replies
View Related
Jun 9, 2012
I have u8800 and 3.0.8 AOSP kernel. But not runnig cm9 with AOSP kernel. How to port aosp kernel to cm9 kernel.
View 1 Replies
View Related
Sep 18, 2012
My aTrackDogSD tells me 14 apps have newer versions out but when It directs me to the appropriate market page for the app it just shows "open" "uninstall" NOT update. Where as it should prompt to update I have auto update enabled and the version in the market is newer than the version of my app. SO that meens I would have to uninstall each app then reinstall to acquire the newest version correct?
View 1 Replies
View Related
Mar 20, 2013
Htc rhyme is not booting up,when i press power Botton it only gives seven vibration and indicator light blinks,thn nothing happens,i have already tried hard/factory reset using volume down botton but nothing changed,also i never rooted my phone,its on orignal frmware.what to do ?
View 2 Replies
View Related
Sep 11, 2009
I was working on Freescale iMX31 board, I ported android and it was working fine , but when it came to integration of WiFi & Bluetooth, android forum recommended me to do static compilation for porting over android !
Can I know why some drivers have to be statically compiled before it is ported over android? It was not the case with other drivers which when integrated with android, they worked perfectly well like serial port, usb etc..
View 2 Replies
View Related
Sep 27, 2010
I want to change my apk file name on every compilation of my build.
For example, I have my build name currently, android.apk
Now I want it to be on every compilation as, android_v0_0_1.apk android_v0_0_2.apk android_v0_0_3.apk . . . . And so on.
How do I achieve these results.
View 4 Replies
View Related