[Q] Problem compiling CM7 (Error) - Android Q&A, Help & Troubleshooting

Hi, I tried to compile CM7 today and unfortunately got this error:
Code:
build/core/java.mk:20: *** external/guava: Invalid LOCAL_SDK_VERSION '8' Choices are: current . Stop.
How to fix this? Couldn't find the solution via Google.

Please use the Q&A Forum for questions Thanks
Moving to Q&A

TheWhisp said:
Hi, I tried to compile CM7 today and unfortunately got this error:
Code:
build/core/java.mk:20: *** external/guava: Invalid LOCAL_SDK_VERSION '8' Choices are: current . Stop.
How to fix this? Couldn't find the solution via Google.
Click to expand...
Click to collapse
got any solutions for this... I'm tryin to compile cyanmobile nd i get this error !!!!

old one but this can be fixed by having the verison 8 folder in sdk

speed_bot said:
old one but this can be fixed by having the verison 8 folder in sdk
Click to expand...
Click to collapse
hahaa too late bro... though thanks

wilfredcool007 said:
hahaa too late bro... though thanks
Click to expand...
Click to collapse
no mention sir

Related

help me to make my hero on root ..

Hi .. I've HTC Hero wite "A6262" .. Softwear 2.1 ..
I want to make it in arabic languge ..
I tested the first way :
http://androidadvocate.com/?p=196
and I have a probelm in "recovery fasher" the butoon is not enabled when I write the path of the recovery file in my SD card .. I tested all way ..
I cahnge the name of SD card .. and write "/sdcard/recovery-RA-HERO-v1.2.3.img" and nothing haped .. still the butoon iss disable ..
I tested the outher way in adb shell .. in this page :
http://androidadvocate.com/?p=196
and when I write :
$ su
I have this problem :
su: permission denied
and I'm very very very saaaaad .... please help me ...
Did you tap 'Backup Recovery' first?
42turkeys said:
Did you tap 'Backup Recovery' first?
Click to expand...
Click to collapse
Does flash rec work on this rom? Isn't a goldcard needed?
Disclaimer, I am very tired so maybe flashrec works. Backup pols recovery first though.
Also, this is more q&a than dev
And I've got the same problem
Thread moved to Q&A.
OP - you're following a guide for a CDMA Hero phone and posting in the GSM Hero forums. Please check with version you are currently using and then post back.
Thanks Gays .. I've found the solution ...
1.do every thing in this link from 1 -7
2- install this program
3. continue on the first step from 8 to end...
thanks ..
mlozi007 said:
Thanks Gays ..
Click to expand...
Click to collapse
I think you mean "guys"? Apart from that, congrats!
mlozi007 said:
Thanks Gays .. I've found the solution ...
1.do every thing in this link from 1 -7
2- install this program
3. continue on the first step from 8 to end...
thanks ..
Click to expand...
Click to collapse
This still doesn't answer whether its for a CDMA hero or a GSM one...
mlozi007 said:
Thanks Gays .. I've found the solution ...
1.do every thing in this link from 1 -7
2- install this program
3. continue on the first step from 8 to end...
thanks ..
Click to expand...
Click to collapse
sajseven said:
I think you mean "guys"? Apart from that, congrats!
Click to expand...
Click to collapse
Not important at all but thanks for making my day!
sorry [b]GUYS[/b] ...
sajseven said:
I think you mean "guys"? Apart from that, congrats!
Click to expand...
Click to collapse
I'm very sorry fo that .. realy I didn't notice this word ..
btdag said:
This still doesn't answer whether its for a CDMA hero or a GSM one...
Click to expand...
Click to collapse
really I don't know what do you mean about CDMA or GSM .. and waht difference between them .. !!!
mlozi007 said:
really I don't know what do you mean about CDMA or GSM .. and waht difference between them .. !!!
Click to expand...
Click to collapse
CDMA doesn't use a SIM card and the phone spec is slightly different i think. It is typically only seen with Sprint users in the US.
GSM is used worldwide. However, the guide you followed was for CDMA users - so suggesting users of the GSM forums should follow that guide will only serve to confuse people and may possibly cause their phone to break (depending on the guide). It would be nice to clear this up so that the topic can be removed if it is inappropriate.

Can someone please take a look at this?

Here's a logcat of my problem. Its about my camera not working on CM9/MIUI rom. A little help will be appreciated. thanks!:good:
Permission failure: com.sonyericsson.permission.CAMERA_EXTENDED from uid=10010 pid=20069
fix permissions
XperiaMT27 said:
Permission failure: com.sonyericsson.permission.CAMERA_EXTENDED from uid=10010 pid=20069
fix permissions
Click to expand...
Click to collapse
Thanks for the help. Im going to try it now. *crossing fingers*
EDIT:
Still not working. "Can't connect to the Camera". Still an error bro.
nosf3eratu said:
Thanks for the help. Im going to try it now. *crossing fingers*
EDIT:
Still not working. "Can't connect to the Camera". Still an error bro.
Click to expand...
Click to collapse
tried going into the setting and clean the cashe of the camera app
nosf3eratu said:
Thanks for the help. Im going to try it now. *crossing fingers*
EDIT:
Still not working. "Can't connect to the Camera". Still an error bro.
Click to expand...
Click to collapse
which camera are u using?? stock ?? or modified
bobthecooldad said:
tried going into the setting and clean the cashe of the camera app
Click to expand...
Click to collapse
Thanks for the suggestion. Did that and same thing. Camera Error
XperiaMT27 said:
which camera are u using?? stock ?? or modified
Click to expand...
Click to collapse
Im using CM9 camera coz im on FXP 216 CM9 ROM. And as i switch to stock, the camera is working well. It only happens (the logcat) with CM9/MIUI Roms i believe. Anymore suggestions on the error? I really appreciate a little help. Thanks guys! :good:
OK
I had the same error. Try the first example at StackOverflow - search for:
How can I capture a video recording on Android?
especially github address given in comments.
(this site does not allow me to post links. I DO NOT understand it so do not thank me for understanding.)

questions for SecDroid "Guru"

Hi there,
I have installed SecDroid this morning ....
I am using a galaxy note 2 with CM-11.
Working well, except that it is a bit the mess on from where to download the latest version of this app ....
I am running the V1 beta, is it the latest version ?
when i click on "Secure Phone" I have:
"Your device is now Secure! thanks for using SecDroid!"
Is there any logs somewhere ? To see what changes it has made on my device ?
Do i have to press "Secure phone" after each reboot ?
Thx for your support.
thierryIT said:
Hi there,
I have installed SecDroid this morning ....
I am using a galaxy note 2 with CM-11.
Working well, except that it is a bit the mess on from where to download the latest version of this app ....
I am running the V1 beta, is it the latest version ?
when i click on "Secure Phone" I have:
"Your device is now Secure! thanks for using SecDroid!"
Is there any logs somewhere ? To see what changes it has made on my device ?
Do i have to press "Secure phone" after each reboot ?
Thx for your support.
Click to expand...
Click to collapse
If you have no idea what it does, even though the description is very clear... I don't even know.
Anyway, official thread is here. Use it.
http://forum.xda-developers.com/showthread.php?t=2086276
polobunny said:
If you have no idea what it does, even though the description is very clear... I don't even know.
Anyway, official thread is here. Use it.
http://forum.xda-developers.com/showthread.php?t=2086276
Click to expand...
Click to collapse
Hi,
1) I know what this app is doing .... But I don't know if this app is doing what it supposed to do on my device, there is no logs ....
2) Is the V1 Beta is the latest version ? If no, where to find the latest one ?
3) Do I have to press the Secure phone after each reboot ?
Anyway I hope that I am clear enough.
Thx
thierryIT said:
Hi,
1) I know what this app is doing .... But I don't know if this app is doing what it supposed to do on my device, there is no logs ....
2) Is the V1 Beta is the latest version ? If no, where to find the latest one ?
3) Do I have to press the Secure phone after each reboot ?
Anyway I hope that I am clear enough.
Thx
Click to expand...
Click to collapse
Look at the link I posted. Ask your questions there, not here. It's the official SecDroid thread.
polobunny said:
Look at the link I posted. Ask your questions there, not here. It's the official SecDroid thread.
Click to expand...
Click to collapse
Might be very difficult with a "Thread Closed" .....
Any ideas ?
Thx
thierryIT said:
Might be very difficult with a "Thread Closed" .....
Any ideas ?
Thx
Click to expand...
Click to collapse
Look at the last post of the closed thread...
polobunny said:
Look at the last post of the closed thread...
Click to expand...
Click to collapse
Start to be a bit complicated for simple questions .....
New members (those with fewer than 10 posts) are not permitted to post to development-related forums.
Click to expand...
Click to collapse
So I cannot post there
Thx

Porting MIUI 8 from Nexus 5

Hi to all. I created a porting of MIUI 8 coming from Nexus 5 for d802. It remains only in bootanimation and got bootloop... Can anyone help me?
Here are the logs: https://drive.google.com/open?id=0B2CDSAt5MIakTTlOc3Nic2R6aDg
From which base are you creating 7 or 6?
shaneel1491 said:
From which base are you creating 7 or 6?
Click to expand...
Click to collapse
I'm porting miui 8 with cm13 based kernel with some modifies
Maybe it's having to do with nexus 5 modules, where some are not the same as G2, and maybe that is causing problems?
Don't we need specific binaries and blobs for our device?
shaneel1491 said:
Maybe it's having to do with nexus 5 modules, where some are not the same as G2, and maybe that is causing problems?
Don't we need specific binaries and blobs for our device?
Click to expand...
Click to collapse
I used at least all were kernel, i putted only somethig of n5... What i can do now? Must i do some sources? I don't know what i can do.
matteo0026 said:
I used at least all were kernel, i putted only somethig of n5... What i can do now? Must i do some sources? I don't know what i can do.
Click to expand...
Click to collapse
Maybe try following this and see, I haven't ever built a ROM, so I don't know what to do
http://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984
shaneel1491 said:
Maybe try following this and see, I haven't ever built a ROM, so I don't know what to do
http://forum.xda-developers.com/android/software/guide-build-port-miui-rom-to-device-t3250984
Click to expand...
Click to collapse
Yes, i'm the official manteiner of XOSP for this device! I can try to compile! Thank you so much!
Just remember this is aimed at miui 7 so point the source to your miui 8 code
Bro if I could also ask you a question, how do I go about building Android 7 for G2? Are there any good guides on the web, I don't even know where to start...
shaneel1491 said:
Just remember this is aimed at miui 7 so point the source to your miui 8 code
Bro if I could also ask you a question, how do I go about building Android 7 for G2? Are there any good guides on the web, I don't even know where to start...
Click to expand...
Click to collapse
I don't know... I tried to build cm14 and i got it, resolving a lot of building issues, but it work only wifi...
Anyway, i looked in the README MIUI patchrom's page, and i'm blocked at the command:
Code:
cp ../honor/makefile
i don't know what i must do... i tried to replace honor with d802 (name of my device folder) but terminal give me this error:
Code:
cp: missing destination file operand after '../d802/makefile'
Try 'cp --help' for more information.
[email protected]0-15ISK:~/patchrom/d802$
matteo0026 said:
I don't know... I tried to build cm14 and i got it, resolving a lot of building issues, but it work only wifi...
Anyway, i looked in the README MIUI patchrom's page, and i'm blocked at the command:
Code:
cp ../honor/makefile
i don't know what i must do... i tried to replace honor with d802 (name of my device folder) but terminal give me this error:
Code:
cp: missing destination file operand after '../d802/makefile'
Try 'cp --help' for more information.
[email protected]:~/patchrom/d802$
Click to expand...
Click to collapse
i looked through the readme and maybe you missed something
the readme says:
Code:
cp ../honor/makefile .
maybe you missed the .
according to the error message your cp command has no destination where to copy this file and the dot seems to be the destination in this case
Maybe I'm wrong
this is just an idea
Blumdum said:
i looked through the readme and maybe you missed something
the readme says:
Code:
cp ../honor/makefile .
maybe you missed the .
according to the error message your cp command has no destination where to copy this file and the dot seems to be the destination in this case
Maybe I'm wrong
this is just an idea
Click to expand...
Click to collapse
Very likely the solution, cause he didn't specify a location to copy to. Also is the directory you're working from named d802?
shaneel1491 said:
Very likely the solution, cause he didn't specify a location to copy to. Also is the directory you're working from named d802?
Click to expand...
Click to collapse
Yes... Anyway... I completed a fullota ROM and tried to flash... But bootloops. Here's the log
https://drive.google.com/open?id=0B2CDSAt5MIakTTlOc3Nic2R6aDg
(Read patchrom log)
I can say that you were wrong base rom. Because you're so complicated life, you have to fill the power command after boot animation. You were wrong some trivial step, you have to thunder back.
P.S It is an exceptional work, the finished project looks.
Sorry for my bad english
CHIRCA_ROBERT said:
I can say that you were wrong base rom. Because you're so complicated life, you have to fill the power command after boot animation. You were wrong some trivial step, you have to thunder back.
P.S It is an exceptional work, the finished project looks.
Sorry for my bad english
Click to expand...
Click to collapse
Why wrong base ROM? Which ROM must i use? I would like to use aosp pure or cm13... Anyway, after resolved some problems, i got another logcat...
https://drive.google.com/file/d/0B2CDSAt5MIakVm1xeVJFZlVTbms/view?usp=drivesdk
Dev @LinhPhi9x94 from XdaVN team patch rom complete Miui v8 for lg g2 f320
thinhx2 said:
Dev @LinhPhi9x94 from XdaVN team patch rom complete Miui v8 for lg g2 f320
Click to expand...
Click to collapse
Ok thanks i contact him
Wait D802
Hey guys i found it https://github.com/linhphi9x94/MIUI8_Patchrom_LG-G2/blob/master/README.md how to build miui 8 for g2. İf any developer try it must see work. Because xdavn try it and working f320.
Emresaygin said:
Hey guys i found it https://github.com/linhphi9x94/MIUI8_Patchrom_LG-G2/blob/master/README.md how to build miui 8 for g2. İf any developer try it must see work. Because xdavn try it and working f320.
Click to expand...
Click to collapse
Oh wow sources yet patched for g2! Thank you so much i try this afternoon!!!
matteo0026 said:
Oh wow sources yet patched for g2! Thank you so much i try this afternoon!!!
Click to expand...
Click to collapse
İf you know build rom i am ready to test for d802 bro. This source for f320

Fixing someone's ROM (Q)

What do I need to have to fix some errors on someone's ROM? (If I got permission to do that)
Also is there any forum to get help to fix errors on ROMs?
brancore said:
What do I need to have to fix some errors on someone's ROM? (If I got permission to do that)
Also is there any forum to get help to fix errors on ROMs?
Click to expand...
Click to collapse
I think this can be useful :
https://forum.xda-developers.com/android/general/issue-rom-kernel-application-to-consider-t3619384
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
RaiZProduction said:
I think this can be useful :
https://forum.xda-developers.com/android/general/issue-rom-kernel-application-to-consider-t3619384
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
Click to expand...
Click to collapse
Thanks.

Categories

Resources