Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
svprm
Old
(Last edited by svprm; 23rd February 2013 at 03:12 PM.)
#651  
svprm's Avatar
Senior Member
Thanks Meter 321
Posts: 1,172
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:Galaxy Nexus
Bootloader Unlocked

Dad: Galaxy S3
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
 
jjhiza
Old
(Last edited by jjhiza; 23rd February 2013 at 07:52 PM.)
#652  
jjhiza's Avatar
Senior Member
Thanks Meter 1519
Posts: 2,286
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.
Galaxy Nexus Requiem [ground zero] + AK

The Following User Says Thank You to jjhiza For This Useful Post: [ Click to Expand ]
 
bk201doesntexist
Old
#653  
bk201doesntexist's Avatar
Senior Member
Thanks Meter 872
Posts: 3,822
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
maguro/custom-JDQ39/custom#3.0.31/XXLH1
manta/custom-JDQ39/stock#3.4.5
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)

NVflash for TF201 bootloader-unlocked devices

cm-sgsmtd KANG discussion thread here
The Following 2 Users Say Thank You to bk201doesntexist For This Useful Post: [ Click to Expand ]
 
MBQ_
Old
#654  
MBQ_'s Avatar
Recognized Contributor
Thanks Meter 13562
Posts: 10,083
Join Date: Sep 2011
Location: Scottsdale, AZ

 
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.

-----------------------------------------------------
My Twitter
My personal Facebook
My Github
My guide to kernel knowledge
My SoundCloud
**I suck at replying to PMs**

---------------------------------------------------------------
| Team AK // Project Chicago Moderator |
---------------------------------------------------------------
Want to join? Read THIS
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 321
Posts: 1,172
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:Galaxy Nexus
Bootloader Unlocked

Dad: Galaxy S3
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
 
bk201doesntexist
Old
(Last edited by bk201doesntexist; 25th February 2013 at 04:36 AM.)
#656  
bk201doesntexist's Avatar
Senior Member
Thanks Meter 872
Posts: 3,822
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
maguro/custom-JDQ39/custom#3.0.31/XXLH1
manta/custom-JDQ39/stock#3.4.5
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)

NVflash for TF201 bootloader-unlocked devices

cm-sgsmtd KANG discussion thread here
 
svprm
Old
#657  
svprm's Avatar
Senior Member
Thanks Meter 321
Posts: 1,172
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:Galaxy Nexus
Bootloader Unlocked

Dad: Galaxy S3
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
 
bk201doesntexist
Old
#658  
bk201doesntexist's Avatar
Senior Member
Thanks Meter 872
Posts: 3,822
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.
maguro/custom-JDQ39/custom#3.0.31/XXLH1
manta/custom-JDQ39/stock#3.4.5
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)

NVflash for TF201 bootloader-unlocked devices

cm-sgsmtd KANG discussion thread here
The Following User Says Thank You to bk201doesntexist For This Useful Post: [ Click to Expand ]
 
MBQ_
Old
#659  
MBQ_'s Avatar
Recognized Contributor
Thanks Meter 13562
Posts: 10,083
Join Date: Sep 2011
Location: Scottsdale, AZ

 
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

-----------------------------------------------------
My Twitter
My personal Facebook
My Github
My guide to kernel knowledge
My SoundCloud
**I suck at replying to PMs**

---------------------------------------------------------------
| Team AK // Project Chicago Moderator |
---------------------------------------------------------------
Want to join? Read THIS
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 321
Posts: 1,172
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:Galaxy Nexus
Bootloader Unlocked

Dad: Galaxy S3
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

 
Post Reply+
Tags
compile ics maguro aosp
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...