5,594,282 Members 43,047 Now Online
XDA Developers Android and Mobile Development Forum

[TUTORIAL] Setting up and Compiling JB and ICS from AOSP

Tip us?
 
svprm
Old
(Last edited by svprm; 23rd February 2013 at 03:12 PM.)
#651  
svprm's Avatar
Senior Member
Thanks Meter 365
Posts: 1,263
Join Date: Dec 2007
Location: Salem-TamilNadu

 
DONATE TO ME
Default Re: [TUTORIAL] Setting up and Compiling JB and ICS from AOSP

I got this error when on make cmd
Code:
 find: `src': No such file or directory
build/core/base_rules.mk:171: *** vendor/widevine/maguro/proprietary: MODULE.TARGET.SHARED_LIBRARIES.libdrmdecrypt already defined by hardware/ti/omap4xxx/libdrmdecrypt.  Stop.
How to solve?

Sent from my Galaxy Nexus using xda app-developers app
If you like my works,please DONATE to me.Thanks
Support my work by buying pro version

Mine:Xolo q700
Custom Rom

Dad: LG G pro lite
Try my Works:
My Works:


My Other Android works at:www.CyBApps.com

Old:HTC Touch,HTC Tattoo,Xerpia Mini pro,Xperia X10i and HTC Desire,Xperia Neo V,Galaxy Nexus (Bricked) ;(
 
jjhiza
Old
(Last edited by jjhiza; 23rd February 2013 at 07:52 PM.)
#652  
jjhiza's Avatar
Senior Member
Thanks Meter 2410
Posts: 2,871
Join Date: Dec 2010
Location: Dirty Jersey
Default Re: [TUTORIAL] Setting up and Compiling JB and ICS from AOSP

Quote:
Originally Posted by svprm View Post
I got this error when on make cmd
Code:
 find: `src': No such file or directory
build/core/base_rules.mk:171: *** vendor/widevine/maguro/proprietary: MODULE.TARGET.SHARED_LIBRARIES.libdrmdecrypt already defined by hardware/ti/omap4xxx/libdrmdecrypt.  Stop.
How to solve?

Sent from my Galaxy Nexus using xda app-developers app
You can ignore the src error... the ROM will be just fine. If you don't have the widevine binaries, you need to get them, and include them in the build. You'll need all of the binaries for a fully functional build.
Nexus 5 Requiem 4.0 Alpha + Monarch Alpha 5
Galaxy Nexus Requiem 3.1 BLE retired

The Following User Says Thank You to jjhiza For This Useful Post: [ Click to Expand ]
 
beekay201
Old
#653  
beekay201's Avatar
Senior Member
Thanks Meter 1096
Posts: 4,558
Join Date: Nov 2010
Quote:
Originally Posted by jjhiza View Post
You can ignore the src error... the ROM will be just fine. Of you don't have the widevine binaries, you need to get them, and include them in the build. You'll need all of the binaries for a fully functional build.
http://forum.xda-developers.com/show...&postcount=596
hammerhead/Omni-KOT49H/stock#3.4.0/M8974A-1.0.25.0.23
maguro/aosp-KRT16O/custom#3.0.101/XXLJ1
manta/stock-KRT16S/custom#3.4.39
tf201/cm10-NIGHTLY#20120820/stock#2.6.39.4
XDA forum rules here
bug report? logcat and /proc/kmsg, or it "never happened".
How TO Ask questions on the Internet
aosp-maguro READFIRST here (credit: efrant)
aosp-gnex READSECOND here (credit: efrant)
The Following 2 Users Say Thank You to beekay201 For This Useful Post: [ Click to Expand ]
 
MBQ_
Old
#654  
MBQ_'s Avatar
Senior Member
Thanks Meter 22908
Posts: 14,122
Join Date: Sep 2011
Location: Tempe, Arizona

 
DONATE TO ME
Quote:
Originally Posted by bk201doesntexist View Post
You seriously need to apply for the RC title. Youre one of the most intelligent, kind, humble, and helpful users on XDA.
The Following 2 Users Say Thank You to MBQ_ For This Useful Post: [ Click to Expand ]
 
svprm
Old
#655  
svprm's Avatar
Senior Member
Thanks Meter 365
Posts: 1,263
Join Date: Dec 2007
Location: Salem-TamilNadu

 
DONATE TO ME
Default Re: [TUTORIAL] Setting up and Compiling JB and ICS from AOSP

Now I'm facing this error.
Code:
 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:1442: cannot find symbol
symbol  : class TextView
location: class android.net.wifi.p2p.WifiP2pService.P2pStateMachine
        ((TextView) row.findViewById(R.id.value)).setText(value);
          ^
frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:1475: inconvertible types
found   : android.view.View
required: android.widget.EditText
        final EditText pin = (EditText) textEntryView.findViewById(R.id.wifi_p2p_wps_pin);
                                                                  ^
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.
1167 errors
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
After I updated the Java SDK to 1.6.0.41.
Again facing the same problem.

Sent from my Galaxy Nexus using xda app-developers app
If you like my works,please DONATE to me.Thanks
Support my work by buying pro version

Mine:Xolo q700
Custom Rom

Dad: LG G pro lite
Try my Works:
My Works:


My Other Android works at:www.CyBApps.com

Old:HTC Touch,HTC Tattoo,Xerpia Mini pro,Xperia X10i and HTC Desire,Xperia Neo V,Galaxy Nexus (Bricked) ;(
 
beekay201
Old
(Last edited by beekay201; 25th February 2013 at 04:36 AM.)
#656  
beekay201's Avatar
Senior Member
Thanks Meter 1096
Posts: 4,558
Join Date: Nov 2010
Quote:
Originally Posted by svprm View Post
Now I'm facing this error.
Code:
 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:1442: cannot find symbol
symbol  : class TextView
location: class android.net.wifi.p2p.WifiP2pService.P2pStateMachine
        ((TextView) row.findViewById(R.id.value)).setText(value);
          ^
frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:1475: inconvertible types
found   : android.view.View
required: android.widget.EditText
        final EditText pin = (EditText) textEntryView.findViewById(R.id.wifi_p2p_wps_pin);
                                                                  ^
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.
1167 errors
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41
After I updated the Java SDK to 1.6.0.41.
Again facing the same problem.

Sent from my Galaxy Nexus using xda app-developers app
Could you try adding

Code:
import android.widget.EditText;
import android.widget.TextView;
to file frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java, commit your changes and rebuild?


-----


EDIT: Anyone not being able to sync device trees? switch to 'jb-mr1-dev-plus-aosp', it's the state of the AOSP master branch when it was merged with google's internal tree (which then gave birth to android-4.2.2_r1): it will have the device trees.

.repo/manifest.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>                                                                                                                                        [0/1]
<manifest>

  <remote  name="aosp"
           fetch=".."
           review="https://android-review.googlesource.com/" />
           <default revision="jb-mr1-dev-plus-aosp"
           remote="aosp"
           sync-j="4" />
credit: JBQ@android-building/google groups
hammerhead/Omni-KOT49H/stock#3.4.0/M8974A-1.0.25.0.23
maguro/aosp-KRT16O/custom#3.0.101/XXLJ1
manta/stock-KRT16S/custom#3.4.39
tf201/cm10-NIGHTLY#20120820/stock#2.6.39.4
XDA forum rules here
bug report? logcat and /proc/kmsg, or it &quot;never happened&quot;.
How TO Ask questions on the Internet
aosp-maguro READFIRST here (credit: efrant)
aosp-gnex READSECOND here (credit: efrant)
 
svprm
Old
#657  
svprm's Avatar
Senior Member
Thanks Meter 365
Posts: 1,263
Join Date: Dec 2007
Location: Salem-TamilNadu

 
DONATE TO ME
Default Re: [TUTORIAL] Setting up and Compiling JB and ICS from AOSP

It already having that two line.
Also it showing error from various Java files.
Any other solution?

Sent from my Galaxy Nexus using xda app-developers app
If you like my works,please DONATE to me.Thanks
Support my work by buying pro version

Mine:Xolo q700
Custom Rom

Dad: LG G pro lite
Try my Works:
My Works:


My Other Android works at:www.CyBApps.com

Old:HTC Touch,HTC Tattoo,Xerpia Mini pro,Xperia X10i and HTC Desire,Xperia Neo V,Galaxy Nexus (Bricked) ;(
 
beekay201
Old
#658  
beekay201's Avatar
Senior Member
Thanks Meter 1096
Posts: 4,558
Join Date: Nov 2010
Quote:
Originally Posted by svprm View Post
It already having that two line.
Also it showing error from various Java files.
Any other solution?

Sent from my Galaxy Nexus using xda app-developers app
various java files? this may be related to java version. Are you using openjdk or sun's jdk?

Please see this commit, it may be worth pulling it to relax java, as I don't know exactly what version you're using.

-------

Tip: to minimize the size of the source tree when downloading it first time:

- 'repo init' will create a hidden folder at the top of the build tree, which contains
Code:
tango% ls -othr .repo
total 24K
drwxr-xr-x  7 bk201 4.0K Feb 25 04:02 repo
lrwxrwxrwx  1 bk201   21 Feb 25 04:02 manifest.xml -> manifests/default.xml
drwxr-xr-x  9 bk201 4.0K Feb 25 04:03 manifests.git
drwxr-xr-x  3 bk201 4.0K Feb 25 04:31 manifests
drwxr-xr-x 24 bk201 4.0K Feb 25 07:04 projects
-rw-r--r--  1 bk201 6.9K Feb 25 07:15 project.list
- before doing 'repo sync', edit .repo/manifest.xml and remove the projects you don't need; for example, since i only build on Linux, for manta and maguro, i removed projects android_device_samsung_toro, android_device_samsung_toroplus, the mac toolchains, clang support for mac;

Brings down the size of the build tree to 13.7GB.
hammerhead/Omni-KOT49H/stock#3.4.0/M8974A-1.0.25.0.23
maguro/aosp-KRT16O/custom#3.0.101/XXLJ1
manta/stock-KRT16S/custom#3.4.39
tf201/cm10-NIGHTLY#20120820/stock#2.6.39.4
XDA forum rules here
bug report? logcat and /proc/kmsg, or it &quot;never happened&quot;.
How TO Ask questions on the Internet
aosp-maguro READFIRST here (credit: efrant)
aosp-gnex READSECOND here (credit: efrant)
The Following User Says Thank You to beekay201 For This Useful Post: [ Click to Expand ]
 
MBQ_
Old
#659  
MBQ_'s Avatar
Senior Member
Thanks Meter 22908
Posts: 14,122
Join Date: Sep 2011
Location: Tempe, Arizona

 
DONATE TO ME
Default Re: [TUTORIAL] Setting up and Compiling JB and ICS from AOSP

Guys, check out my github. I have a full repo manifest that will pull code to successfully compile an Android build. Link is in my signature

Sent from my Galaxy Nexus using xda premium
The Following User Says Thank You to MBQ_ For This Useful Post: [ Click to Expand ]
 
svprm
Old
#660  
svprm's Avatar
Senior Member
Thanks Meter 365
Posts: 1,263
Join Date: Dec 2007
Location: Salem-TamilNadu

 
DONATE TO ME
Default Re: [TUTORIAL] Setting up and Compiling JB and ICS from AOSP

I'm using Sun Java jdk 1.6.0.41.

Sent from my Galaxy Nexus using xda app-developers app
If you like my works,please DONATE to me.Thanks
Support my work by buying pro version

Mine:Xolo q700
Custom Rom

Dad: LG G pro lite
Try my Works:
My Works:


My Other Android works at:www.CyBApps.com

Old:HTC Touch,HTC Tattoo,Xerpia Mini pro,Xperia X10i and HTC Desire,Xperia Neo V,Galaxy Nexus (Bricked) ;(

Tags
compile ics maguro aosp
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes