Android build error. PLEASE HELP ME! - Android Software Development

Hello guys! I last time i successfully build android roms,and i reinstall my Ubuntu and now i got the following error. I tried it both RR,and AICP,Omni... but all of them showed me that error. Please help me! (maven installed.)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:get (default-cli) on project standalone-pom: Couldn't download artifact: Could not transfer artifact org.cyanogenmod:gello:apk:37 from/to central (https://maven.cyanogenmod.org/artifactory/gello_prebuilds): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[ERROR] org.cyanogenmod:gello:apk:37
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false),
[ERROR] central (https://maven.cyanogenmod.org/artifactory/gello_prebuilds, releases=true, snapshots=true)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
vendor/aicp/build/core/maven_artifact.mk:42: recipe for target '/home/android/AICP-MM/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-37.apk' failed
make: *** [/home/android/AICP-MM/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-37.apk] Error 1
make: *** Waiting for unfinished jobs....
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
make: Leaving directory '/home/android/AICP-MM'
#### make failed to build some targets in 04m:14s
PLEASE HELP ME I WANT TO MAKE ROMS AGAIN!!!

Remove gello from your device.mk under product packages in your device tree and try recompiling again
Sent from my SM-A9100 using Tapatalk

I am experiencing the same issue, I have tried to remove Gello but the error is still showing up. This is my first time compiling a ROM, please help. Thank you

osas514 said:
Remove gello from your device.mk under product packages in your device tree and try recompiling again
Sent from my SM-A9100 using Tapatalk
Click to expand...
Click to collapse
Thank you my friend! I hope you try my any rom once.

wsydgx said:
I am experiencing the same issue, I have tried to remove Gello but the error is still showing up. This is my first time compiling a ROM, please help. Thank you
Click to expand...
Click to collapse
Can you post your own error log?
Sent from my SM-A9100 using Tapatalk

osas514 said:
Can you post your own error log?
Sent from my SM-A9100 using Tapatalk
Click to expand...
Click to collapse
So you so much for your help, it turns out I had to delete 2 Gello folders. after that it complied and I made my first ROM (through copying and pasting)

Related

[Q] compiling kernel. Please give me some help.

Hello. When i try compile my kernel i got some errors
I'm using theese commands:
Code:
make ARCH=arm iconiaa500_defconfig
with no problems it says 'configuration written to .config' then i cant find that file.
whet i try to compile it with this command
Code:
make ARCH=arm CROSS_COMPILE=/home/myhomedir./A500-kernel/toolchains/arm-2009q3/bin/arm-none-eabi- -j3
then at the end i get something like:
Code:
drivers/usb/host/ehci-hub.c:130: warning: 'ehci_adjust_port_wakeup_flags' defined but not used
drivers/usb/host/ehci-lpm.c:20: warning: 'ehci_lpm_set_da' defined but not used
drivers/usb/host/ehci-lpm.c:40: warning: 'ehci_lpm_check' defined but not used
net/mac80211/tx.c: In function 'ieee80211_subif_start_xmit':
net/mac80211/tx.c:1753: warning: unused variable 'mppath'
arch/arm/boot/compressed/piggy.lzo.S: Assembler messages:
arch/arm/boot/compressed/piggy.lzo.S:4: Error: file not found: arch/arm/boot/compressed/piggy.lzo
make[2]: *** [arch/arm/boot/compressed/piggy.lzo.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2
make: *** Waiting for unfinished jobs....
anyone knows whats problem? thanks for spending some time. Sorry for bad english.
I was try many guides include nethams and sp3dev's
HTML:
http://forum.xda-developers.com/showthread.php?t=1158260&page=24
HTML:
http://forum.xda-developers.com/showthread.php?t=1158260&page=9
I'm using astarasikov-iconia-gnu-kernel source.
Sorry for bad English.
Tautvaldas said:
Hello. When i try compile my kernel i got some errors
Sorry for bad English.
Click to expand...
Click to collapse
You may want to post this in the main Android Dev thread.
where? Questions and Answers? maybe.
Never mind, thanks, no need it anymore, I've got it, fixed all problems and found solutions. thanks.
One more question. If i set initrd files location in kernel config, can i unpack initramfs.cpio from my compiled kernel zImage after compile it. I tryed unpack .config file from zImage, it works fine, but i want unpack initramfs if it possible?

[E] Syntax error after last Repo Sync

Hello,
after last repo sync of OmniRom I'm getting this error:
Code:
Target buildinfo: /home/lozohcum/CM11/out/target/product/jlo/system/build.prop
Target buildinfo from: device/sony/jlo/system.prop
/bin/bash: -c: line 0: unexpected EOF while looking for proper `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [/home/lozohcum/CM11/out/target/product/jlo/system/build.prop] Error 1
make: *** Deleting file `/home/lozohcum/CM11/out/target/product/jlo/system/build.prop'
[email protected]:~/CM11$
Does anyone know how to solve it? I can give more extended log from console if needed.
I'm working on KitKat Omni.
I faced the same problem (well,the error message was a bit different) and I solved it by installing Oracle's java 6 SDK. Then make clean and brunch
Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk
lozohcum said:
Hello,
after last repo sync of OmniRom I'm getting this error:
Code:
Target buildinfo: /home/lozohcum/CM11/out/target/product/jlo/system/build.prop
Target buildinfo from: device/sony/jlo/system.prop
/bin/bash: -c: line 0: unexpected EOF while looking for proper `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [/home/lozohcum/CM11/out/target/product/jlo/system/build.prop] Error 1
make: *** Deleting file `/home/lozohcum/CM11/out/target/product/jlo/system/build.prop'
[email protected]:~/CM11$
Does anyone know how to solve it? I can give more extended log from console if needed.
I'm working on KitKat Omni.
Click to expand...
Click to collapse
Are you really repo syncing omnirom in a cm11 folder? Is it one you have emptied of cm11 first and initialized to omni sources? Did you do " . build/envsetup.sh" before trying to build?
Problem solved. I had to revert one commit from my device tree.
Thanks for replying

Issues compiling CM-13 without internet, after sync and breakfast with it

So,... since I like total Independence and would like to fiddle around with my CM build even when sitting inside my nuclear bunker ruing my Laptop or a old Diesel generator.
I set up a fresh BBQ Linux VM while connected to the net and ran:
Code:
repo init -u https://github.com/CyanogenMod/android.git -b stable/cm-13.0-ZNH5Y
# now i added my manifest file to the local_manifests folder
repo sync
source build/envsetup.sh
breakfast oneplus3
so far so good, i should have all files needed for building ready to go on the virtual HDD so I unplugged the internet and ran
Code:
make clobber
brunch oneplus3
but that gave me an error after only a few minutes into the build:
Code:
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libwebm.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libwebm.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_id3.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_id3.a.txt
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libFLAC.a.txt
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libFLAC.a.txt
Notice file: frameworks/av/drm/libdrmframework/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libdrmframework.so.txt
Notice file: frameworks/av/drm/common/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libdrmframeworkcommon.a.txt
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-29.apk] Error 1
make: *** Waiting for unfinished jobs....
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.11.aar] Error 1
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
make: Leaving directory '/home/me/Android/cm-13.0'
#### make failed to build some targets (02:11 (mm:ss)) ####
NOT Cool!
Does anyone know how what to change in order to get a source copy that can be build entirely offline?
DavidXanatos said:
So,... since I like total Independence and would like to fiddle around with my CM build even when sitting inside my nuclear bunker ruing my Laptop or a old Diesel generator.
I set up a fresh BBQ Linux VM while connected to the net and ran:
Code:
repo init -u https://github.com/CyanogenMod/android.git -b stable/cm-13.0-ZNH5Y
# now i added my manifest file to the local_manifests folder
repo sync
source build/envsetup.sh
breakfast oneplus3
so far so good, i should have all files needed for building ready to go on the virtual HDD so I unplugged the internet and ran
Code:
make clobber
brunch oneplus3
but that gave me an error after only a few minutes into the build:
Code:
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libvpx.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libwebm.a.txt
Notice file: external/libvpx/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libwebm.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/mpeg2ts/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_mpeg2ts.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libstagefright_id3.a.txt
Notice file: frameworks/av/media/libstagefright/id3/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libstagefright_id3.a.txt
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known: Unknown host repo.maven.apache.org: Name or service not known -> [Help 1]Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libFLAC.a.txt
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Notice file: external/flac/libFLAC/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libFLAC.a.txt
Notice file: frameworks/av/drm/libdrmframework/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib/libdrmframework.so.txt
Notice file: frameworks/av/drm/common/NOTICE -- /home/me/Android/cm-13.0/out/target/product/oneplus3/obj/NOTICE_FILES/src//system/lib64/libdrmframeworkcommon.a.txt
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-29.apk] Error 1
make: *** Waiting for unfinished jobs....
make: *** [vendor/cm/build/core/maven_artifact.mk:42: /home/me/Android/cm-13.0/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.5.11.aar] Error 1
warning: [options] bootstrap class path not set in conjunction with -source 1.6
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
make: Leaving directory '/home/me/Android/cm-13.0'
#### make failed to build some targets (02:11 (mm:ss)) ####
NOT Cool!
Does anyone know how what to change in order to get a source copy that can be build entirely offline?
Click to expand...
Click to collapse
The problem is a Gello browser
Sent from my GT-S7580 using Tapatalk
and how do i fix that?
well after removing booth gello repos i still get an error refering to this apache maven thingy
DavidXanatos said:
well after removing booth gello repos i still get an error refering to this apache maven thingy
Click to expand...
Click to collapse
Try to remove maven_artifact.mk in vendor/cm/build/core
Sent from my GT-S7580 using Tapatalk
DavidXanatos said:
well after removing booth gello repos i still get an error refering to this apache maven thingy
Click to expand...
Click to collapse
Hi David have you resolved this?
I am getting same error as you... & wont found any solution.
did work above solution to you?
No it did not work.
My solution in the end was to run a build once (after a clean vm snapshot), and let it download this maven Sh!7 it ends up in ~/.m than i just put this .m directory into a *.tar.gz and copied it onto the desktop. Than I could revert to the clean snapshot, put the .m directory where it belonged out of the archive. After that I could use the snapshot for a offline build without further problems.
Its not the prettiest solution but it worked for me good enough to stick with it.
Cheers
David X.
somadsul said:
Hi David have you resolved this?
I am getting same error as you... & wont found any solution.
did work above solution to you?
Click to expand...
Click to collapse
DavidXanatos said:
No it did not work.
My solution in the end was to run a build once (after a clean vm snapshot), and let it download this maven Sh!7 it ends up in ~/.m than i just put this .m directory into a *.tar.gz and copied it onto the desktop. Than I could revert to the clean snapshot, put the .m directory where it belonged out of the archive. After that I could use the snapshot for a offline build without further problems.
Its not the prettiest solution but it worked for me good enough to stick with it.
Cheers
David X.
Click to expand...
Click to collapse
Navigate to vendor/cm/ and delete gello folder . issue will be solved .
Hi, I meet the same problem on CM13, Did you solve this problem?

Error building CM13 for nexus 4 mako.

Not sure if this is the right place or not. if it isnt mods feel free to move it to any where you ever desire.
Im trying to build cm13 unofficial from source i downloaded and im following this guide: http://xda-university.com/as-a-developer/getting-started-building-android-from-source
And i used this guide to get source code etc downloaded: https://nathanpfry.com/how-to-setup-ubuntu-16-04-lts-xenial-xerus-to-compile-android-roms/
Im using openjdk 8.
But i get this error when building:
Code:
Export includes file: packages/apps/Gallery2/jni_jpegstream/Android.mk -- /home/user/android/out/target/product/mako/obj/SHARED_LIBRARIES/libjni_jpegstream_intermediates/export_includes
target Strip: libjni_jpegstream (/home/user/android/out/target/product/mako/obj/lib/libjni_jpegstream.so)
Install: /home/user/android/out/target/product/mako/system/lib/libjni_jpegstream.so
Install: /home/user/android/out/target/product/mako/system/app/Gallery2/Gallery2.apk
mkdir -p /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm ;ln -sf /system/lib/libjni_eglfence.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_eglfence.so ;ln -sf /system/lib/libjni_filtershow_filters.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_filtershow_filters.so ;ln -sf /system/lib/librsjni.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/librsjni.so ;ln -sf /system/lib/libjni_jpegstream.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_jpegstream.so
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Temporary failure in name resolution: Unknown host repo.maven.apache.org: Temporary failure in name resolution -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
vendor/cm/build/core/maven_artifact.mk:42: recipe for target '/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk' failed
make: *** [/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk] Error 1
#### make failed to build some targets (01:23:35 (hh:mm:ss)) ####
Also the update.zip isnt there in that folder that they stated in last in the building cm link but i guess thats because of the errors?
Any help would be good, Thanks
You have this in your debug log
Code:
Unknown host repo.maven.apache.org
Please check your internet connection. Something is wrong.
You are missing a package called maven. Run this command:
sudo apt-get install maven
Click to expand...
Click to collapse
Nitin
I was able to compile rom successfully now. but its stuck at google logo any ideas?

Error building CM13 for nexus 4 mako.

Not sure if this is the right place or not. if it isnt mods feel free to move it to any where you ever desire.
Im trying to build cm13 unofficial from source i downloaded and im following this guide: http://xda-university.com/as-a-developer/getting-started-building-android-from-source
And i used this guide to get source code etc downloaded: https://nathanpfry.com/how-to-setup-ubuntu-16-04-lts-xenial-xerus-to-compile-android-roms/
Im using openjdk 8.
But i get this error when building:
Code:
Export includes file: packages/apps/Gallery2/jni_jpegstream/Android.mk -- /home/user/android/out/target/product/mako/obj/SHARED_LIBRARIES/libjni_jpegstream_intermediates/export_includes
target Strip: libjni_jpegstream (/home/user/android/out/target/product/mako/obj/lib/libjni_jpegstream.so)
Install: /home/user/android/out/target/product/mako/system/lib/libjni_jpegstream.so
Install: /home/user/android/out/target/product/mako/system/app/Gallery2/Gallery2.apk
mkdir -p /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm ;ln -sf /system/lib/libjni_eglfence.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_eglfence.so ;ln -sf /system/lib/libjni_filtershow_filters.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_filtershow_filters.so ;ln -sf /system/lib/librsjni.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/librsjni.so ;ln -sf /system/lib/libjni_jpegstream.so /home/user/android/out/target/product/mako/system/app/Gallery2/lib/arm/libjni_jpegstream.so
[ERROR] Plugin org.apache.maven.plugins:maven-dependency-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.10: Could not transfer artifact org.apache.maven.plugins:maven-dependency-plugin:pom:2.10 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Temporary failure in name resolution: Unknown host repo.maven.apache.org: Temporary failure in name resolution -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
vendor/cm/build/core/maven_artifact.mk:42: recipe for target '/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk' failed
make: *** [/home/user/android/out/target/common/obj/APPS/Gello_intermediates/org.cyanogenmod.gello-40.apk] Error 1
#### make failed to build some targets (01:23:35 (hh:mm:ss)) ####
Also the update.zip isnt there in that folder that they stated in last in the building cm link but i guess thats because of the errors?
Any help would be good, Thanks
Connect your pc to the Internet and try building again
Sent from my SM-A9100 using Tapatalk
detele gello in boardconfig and try again
I just had to get internet and now its working and i compiled the rom. but its stuck at google logo and not getting past it. any ideas?
thinhx2 said:
detele gello in boardconfig and try again
Click to expand...
Click to collapse
Which boardconfig, where?
Charles IV said:
Which boardconfig, where?
Click to expand...
Click to collapse
Check your device tree "device.mk"
osas514 said:
Check your device tree "device.mk"
Click to expand...
Click to collapse
device.mk or mako.mk
thinhx2 said:
device.mk or mako.mk
Click to expand...
Click to collapse
found it, device.mk under # Browser
We can preobably change it to Jelly, ad that's the replacement
Charles IV said:
found it, device.mk under # Browser
We can preobably change it to Jelly, ad that's the replacement
Click to expand...
Click to collapse
Jelly can work on 6.0?
thinhx2 said:
Jelly can work on 6.0?
Click to expand...
Click to collapse
apparently not ... it didn't work for me :,(

Categories

Resources