Skip to content

Problem with styles.xml #452

Closed
Closed

Description

@nachai

prob1

how to fix this problem

Activity

  1. davivel commented on Apr 3, 2014

    @davivel
    Contributor

    Need more info.

    Did you checkout and build without failure the actionbarsherlock submodule?

    What information is shown in the 'Problems' tab about those files?

  2. nachai commented on Apr 4, 2014

    @nachai
    Author

    Ok. This problem is solved,
    I forgot to download actionbarsherlock library and import to owncloud project

    thank you :)

  3. nachai commented on Apr 4, 2014

    @nachai
    Author

    But I getting error messages in owncloud project

    NotificationBuilderWithProgressBar.java at method
    public NotificationCompat.Builder setProgress(int max, int progress, boolean indeterminate)

    "The method setProgress(int, int, boolean) of type NotificationBuilderWithProgressBar must override or implement a supertype method"

    please help me

    thank you

  4. davivel commented on Apr 7, 2014

    @davivel
    Contributor

    Run the file setup_env.sh (Linux / Mac ) or setup_env.bat (Windows) in the root folder of owncloud-android from a console. Then refresh the workspace in Eclipse and rebuild everything (owncloud-library, actionbarsherlock and owncloud-android).

    If that doens't work (it should), you'll need to copy the file third_party/android-support-library/android-support-v4.jar into actionbarsherlock/library/libs , replacing the one existing there. And rebuild then.

    Please, tell us how it results.

  5. nachai commented on Apr 8, 2014

    @nachai
    Author

    I getting this message when I run the file setup_env.bat in console

    001

    Then I add the "library" foleder into ..\adt-bundle-windows-x86_64-20131030\android-master\actionbarsherlock and move the "libs" folder into "library" folder and run setup_env.bat again and getting this message

    002

    how to fix this

    thank you

  6. nachai commented on Apr 8, 2014

    @nachai
    Author

    d:\Nachai\adt-bundle-windows-x86_64-20131030\android-master>call git submodule init

    'git' is not recognized as an internal or external command,
    operable program or batch file.

    d:\Nachai\adt-bundle-windows-x86_64-20131030\android-master>call git submodule update

    'git' is not recognized as an internal or external command,
    operable program or batch file.

    --> I change the path "actionbarsherlock \library" to "actionbarsherlock" it's work
    d:\Nachai\adt-bundle-windows-x86_64-20131030\android-master>call android.bat update project -p actionbarsherlock -n ActionBarSherlock
    Updated local.properties
    Updated file D:\Nachai\adt-bundle-windows-x86_64-20131030\android-master\actionbarsherlock\build.xml
    Updated file D:\Nachai\adt-bundle-windows-x86_64-20131030\android-master\actionbarsherlock\proguard-project.txt

    d:\Nachai\adt-bundle-windows-x86_64-20131030\android-master>call android.bat update lib-project -p owncloud-android-library

    Error: The project either has no target set or the target is invalid.
    Please provide a --target to the 'android.bat update' command.

    d:\Nachai\adt-bundle-windows-x86_64-20131030\android-master>call android.bat update project -p .

    Error: The project either has no target set or the target is invalid.
    Please provide a --target to the 'android.bat update' command.
    It seems that there are sub-projects. If you want to update them
    please use the --subprojects parameter.

    d:\Nachai\adt-bundle-windows-x86_64-20131030\android-master>call android.bat upd
    ate project -p oc_jb_workaroundcopy /Y third_party\android-support-library\andro
    id-support-v4.jar actionbarsherlock\library\libs\android-support-v4.jar
    Error: Argument 'actionbarsherlock\library\libs\android-support-v4.jar' is not r
    ecognized.

       Usage:
       android [global options] update project [action options]
       Global options:
    

    -h --help : Help on a specific command.
    -v --verbose : Verbose mode, shows errors, warnings and all messages.
    --clear-cache: Clear the SDK Manager repository manifest cache.
    -s --silent : Silent mode, shows errors only.

                         Action "update project":
    

    Updates an Android project (must already have an AndroidManifest.xml).
    Options:
    -l --library : Directory of an Android library to add, relative to this
    project's directory.
    -p --path : The project's directory. [required]
    -n --name : Project name.
    -t --target : Target ID to set for the project.
    -s --subprojects: Also updates any projects in sub-folders, such as test
    projects.

    d:\Nachai\adt-bundle-windows-x86_64-20131030\android-master>call android.bat update test-project -p tests -m ..

    Resolved location of main project to: D:\Nachai\adt-bundle-windows-x86_64-20131030\android-master
    Error: Main project target android-19 is not a valid target.

  7. davivel commented on Apr 8, 2014

    @davivel
    Contributor

    Please, don't change paths in the project.

    To run setup_env.bat you need to have git installed in your system, and the path to it's binary folder must be included in the PATH variable in your environment.

    Did you get the source code with git, or did you download it from one of the release packages? The first option is far way better,

  8. nachai commented on Apr 8, 2014

    @nachai
    Author

    OK , I don't have git installed in my system. and I download it from one of the release packages

  9. nachai commented on Apr 8, 2014

    @nachai
    Author

    I'm back to squire one and follow step by step then it success !

    Thank you :)

  10. davivel commented on Apr 24, 2014

    @davivel
    Contributor

    You're welcome. Eclipse sometimes is a real mystery.

  11. added a commit that references this issue on Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions