Error 41 while building CyanogenMod

This is a discussion on Error 41 while building CyanogenMod within the Droid Development forums, part of the Droid Hacking category; I've had no issues building cm7 in the past but now I keep getting the same error. I've spent the last two day googling and ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: Error 41 while building CyanogenMod

  1. Developer
    JBirdVegas's Avatar
    Member #
    101119
    Join Date
    Aug 2010
    Posts
    107
    Liked
    4 times
    Phone
    Motorola Droid
    DroidForums.net Developer
    #1

    Error 41 while building CyanogenMod

    I've had no issues building cm7 in the past but now I keep getting the same error. I've spent the last two day googling and haven't had any luck I've checked java points the the right place, set ANDROID_JAVA_HOME=$JAVA_HOME and even deleted the entire repo and re-synced still nothing. Any ideas???

    Code:
    Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
    target Java: CMParts (out/target/common/obj/APPS/CMParts_intermediates/classes)
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/SoundActivity.java:99: cannot find symbol
    symbol  : variable VIBRATE_IN_CALL
    location: class android.provider.Settings.System
                    Settings.System.VIBRATE_IN_CALL, 1) != 0);
                                   ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/SoundActivity.java:150: cannot find symbol
    symbol  : variable VIBRATE_IN_CALL
    location: class android.provider.Settings.System
                Settings.System.putInt(getContentResolver(), Settings.System.VIBRATE_IN_CALL,
                                                                            ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIPowerWidgetActivity.java:80: cannot find symbol
    symbol  : variable EXPANDED_HIDE_SCROLLBAR
    location: class android.provider.Settings.System
                    Settings.System.EXPANDED_HIDE_SCROLLBAR, 0) == 1));
                                   ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIPowerWidgetActivity.java:109: cannot find symbol
    symbol  : variable EXPANDED_HIDE_SCROLLBAR
    location: class android.provider.Settings.System
                Settings.System.putInt(getContentResolver(), Settings.System.EXPANDED_HIDE_SCROLLBAR,
                                                                            ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:62: cannot find symbol
    symbol  : variable STATUS_BAR_COMPACT_CARRIER
    location: class android.provider.Settings.System
                    Settings.System.STATUS_BAR_COMPACT_CARRIER, 0) == 1));
                                   ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:82: cannot find symbol
    symbol  : variable STATUS_BAR_COMPACT_CARRIER
    location: class android.provider.Settings.System
                Settings.System.putInt(getContentResolver(), Settings.System.STATUS_BAR_COMPACT_CARRIER,
                                                                            ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/WidgetActivity.java:120: cannot find symbol
    symbol  : variable widget_max_buttons
    location: class com.cyanogenmod.cmparts.R.string
                    Toast.makeText(this, R.string.widget_max_buttons, Toast.LENGTH_LONG).show();
                                                 ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    7 errors
    make: *** [out/target/common/obj/APPS/CMParts_intermediates/classes-full-debug.jar] Error 41
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. SithDroid2187's Avatar
    Member #
    193044
    Join Date
    Apr 2011
    Posts
    95
    Phone
    HTC Thunderbolt!
    #2
    Have you ran make clobber before recompiling? Perhaps something from your last compile is messing with it.
  4. Developer
    JBirdVegas's Avatar
    Member #
    101119
    Join Date
    Aug 2010
    Posts
    107
    Liked
    4 times
    Phone
    Motorola Droid
    DroidForums.net Developer
    #3
    Yes I did after you suggested it and no luck still the same errors. Thank you but I still have the same problem.
  5. Developer
    cush2push's Avatar
    Member #
    92037
    Join Date
    Jul 2010
    Location
    Albuquerque NM
    Posts
    636
    Liked
    33 times
    Twitter
    @realcush2push
    Phone
    Liquid Nexus v1
    DroidForums.net Developer
    Premium Member
    #4
    from the looks of it the class name is missing or misspelled






    Moto D1 thanks K1k
    ICS PRE Alpha

    Samsung Fascinate
    Krunked Beta

    Galaxy Nexus
    Liquid v1








  6. Developer
    JBirdVegas's Avatar
    Member #
    101119
    Join Date
    Aug 2010
    Posts
    107
    Liked
    4 times
    Phone
    Motorola Droid
    DroidForums.net Developer
    #5
    Took a while to figure out but a post from cyanogen led me in the right direction. For my rom I forked the frameworks_base_core and the move to 2.3.4 uses variables defined in the frameworks that didn't previously exist. Merging up to day frameworks_base_core and android_build (to include nfc) fixed the problem.

    Sent from my DROID2 using Tapatalk
  7. Developer
    JBirdVegas's Avatar
    Member #
    101119
    Join Date
    Aug 2010
    Posts
    107
    Liked
    4 times
    Phone
    Motorola Droid
    DroidForums.net Developer
    #6
    But thank you for the help.

    Sent from my DROID2 using Tapatalk
  8. Developer
    actngrezy's Avatar
    Member #
    49451
    Join Date
    Mar 2010
    Location
    delaware
    Posts
    1,032
    Liked
    6 times
    Phone
    motorola droid
    DroidForums.net Developer
    #7
    Quote Originally Posted by JBirdVegas View Post
    I've had no issues building cm7 in the past but now I keep getting the same error. I've spent the last two day googling and haven't had any luck I've checked java points the the right place, set ANDROID_JAVA_HOME=$JAVA_HOME and even deleted the entire repo and re-synced still nothing. Any ideas???

    Code:
    Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
    target Java: CMParts (out/target/common/obj/APPS/CMParts_intermediates/classes)
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/SoundActivity.java:99: cannot find symbol
    symbol  : variable VIBRATE_IN_CALL
    location: class android.provider.Settings.System
                    Settings.System.VIBRATE_IN_CALL, 1) != 0);
                                   ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/SoundActivity.java:150: cannot find symbol
    symbol  : variable VIBRATE_IN_CALL
    location: class android.provider.Settings.System
                Settings.System.putInt(getContentResolver(), Settings.System.VIBRATE_IN_CALL,
                                                                            ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIPowerWidgetActivity.java:80: cannot find symbol
    symbol  : variable EXPANDED_HIDE_SCROLLBAR
    location: class android.provider.Settings.System
                    Settings.System.EXPANDED_HIDE_SCROLLBAR, 0) == 1));
                                   ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIPowerWidgetActivity.java:109: cannot find symbol
    symbol  : variable EXPANDED_HIDE_SCROLLBAR
    location: class android.provider.Settings.System
                Settings.System.putInt(getContentResolver(), Settings.System.EXPANDED_HIDE_SCROLLBAR,
                                                                            ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:62: cannot find symbol
    symbol  : variable STATUS_BAR_COMPACT_CARRIER
    location: class android.provider.Settings.System
                    Settings.System.STATUS_BAR_COMPACT_CARRIER, 0) == 1));
                                   ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:82: cannot find symbol
    symbol  : variable STATUS_BAR_COMPACT_CARRIER
    location: class android.provider.Settings.System
                Settings.System.putInt(getContentResolver(), Settings.System.STATUS_BAR_COMPACT_CARRIER,
                                                                            ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/WidgetActivity.java:120: cannot find symbol
    symbol  : variable widget_max_buttons
    location: class com.cyanogenmod.cmparts.R.string
                    Toast.makeText(this, R.string.widget_max_buttons, Toast.LENGTH_LONG).show();
                                                 ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    7 errors
    make: *** [out/target/common/obj/APPS/CMParts_intermediates/classes-full-debug.jar] Error 41
    Make sure you have the corresponding lines in the Settings.java file. That may be the issue.
    Settings.java is located beow (bare with me I'm at work on the phone so the directory may be wrong)
    Frameworks/base/core/java/com/android/provider/Settings.java


    Looking for devices to expand p.e.
    Let me know if you have one for sale or to donate.

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. jdk-5 error while building android source code
    By preetb123 in forum Android Roms
    Replies: 0
    Last Post: 03-16-2011, 09:48 AM
  2. Rom Building
    By Droidnewbster in forum Droid Hacks
    Replies: 4
    Last Post: 06-28-2010, 07:33 PM
  3. is there a tutorial for building a rom
    By tiggerxplur in forum Android Roms
    Replies: 0
    Last Post: 06-26-2010, 08:41 AM
  4. Kernel building help
    By jamezelle in forum Droid Hacks
    Replies: 4
    Last Post: 04-12-2010, 08:14 AM
  5. Building a ROM, please help me.
    By dick.fickling in forum Droid Hacks
    Replies: 14
    Last Post: 03-19-2010, 05:15 PM

Search tags for this page

[out/target/common/obj/apps/deskclock intermediates/classes-
,
[out/target/common/obj/apps/openwnn intermediates/classes-fu
,

[out/target/common/obj/apps/settings intermediates/classes-f

,
android error 41
,

android make error 41

,

classes-full-debug.jar error 41

,

classes-full-debug.jar] error 41

,
error 41 cyanogenmod
,
intermediates/classes-full-debug.jar]
,
intermediates/classes-full-debug.jar] error 41
,

make error 41

,

make: *** [out/target/common/obj/apps/cmparts intermediates/

,
make: *** [out/target/common/obj/apps/deskclock intermediate
,

make: *** [out/target/common/obj/apps/settings intermediates

,

out/target/common/obj/apps/settings intermediates/classes-fu

Click on a term to search our site for related topics.