Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP shenye

23rd February 2013, 02:12 PM   |  #651  
svprm's Avatar
Senior Member
Flag Coimbatore
Thanks Meter: 377
 
1,303 posts
Join Date:Joined: Dec 2007
Donate to Me
More
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
Last edited by svprm; 23rd February 2013 at 04:12 PM.
23rd February 2013, 08:11 PM   |  #652  
jjhiza's Avatar
Senior Member
Flag Dirty Jersey
Thanks Meter: 2,656
 
3,069 posts
Join Date:Joined: Dec 2010
More
Re: [TUTORIAL] Setting up and Compiling JB and ICS from AOSP
Quote:
Originally Posted by svprm

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.
Last edited by jjhiza; 23rd February 2013 at 08:52 PM.
The Following User Says Thank You to jjhiza For This Useful Post: [ View ]
23rd February 2013, 08:14 PM   |  #653  
beekay201's Avatar
Senior Member
Thanks Meter: 1,143
 
4,742 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by jjhiza

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
The Following 2 Users Say Thank You to beekay201 For This Useful Post: [ View ]
24th February 2013, 11:13 AM   |  #654  
Account currently disabled
Flag Phoenix, Arizona
Thanks Meter: 23,072
 
13,922 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Quote:
Originally Posted by bk201doesntexist

http://forum.xda-developers.com/show...&postcount=596

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: [ View ]
24th February 2013, 06:23 PM   |  #655  
svprm's Avatar
Senior Member
Flag Coimbatore
Thanks Meter: 377
 
1,303 posts
Join Date:Joined: Dec 2007
Donate to Me
More
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
24th February 2013, 11:11 PM   |  #656  
beekay201's Avatar
Senior Member
Thanks Meter: 1,143
 
4,742 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by svprm

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
Last edited by beekay201; 25th February 2013 at 05:36 AM.
25th February 2013, 02:31 PM   |  #657  
svprm's Avatar
Senior Member
Flag Coimbatore
Thanks Meter: 377
 
1,303 posts
Join Date:Joined: Dec 2007
Donate to Me
More
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
25th February 2013, 08:03 PM   |  #658  
beekay201's Avatar
Senior Member
Thanks Meter: 1,143
 
4,742 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by svprm

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.
The Following User Says Thank You to beekay201 For This Useful Post: [ View ]
25th February 2013, 08:54 PM   |  #659  
Account currently disabled
Flag Phoenix, Arizona
Thanks Meter: 23,072
 
13,922 posts
Join Date:Joined: Sep 2011
Donate to Me
More
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: [ View ]
26th February 2013, 02:06 AM   |  #660  
svprm's Avatar
Senior Member
Flag Coimbatore
Thanks Meter: 377
 
1,303 posts
Join Date:Joined: Dec 2007
Donate to Me
More
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

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes