thasmin / Podax

Podcast client for Android
Other
165 stars 34 forks source link

FTBFS: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat' #191

Closed mcepl closed 10 years ago

mcepl commented 10 years ago

(yes, I did android update on all subprojects and ant clean before)

matej@wycliff: Podax (master *%)$ ant debug
Buildfile: /home/matej/archiv/knihovna/repos/tmp/Podax/build.xml

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 22.3.0
 [checkenv] Installed at /home/matej/repos/android-sdk-linux_x86

-setup:
     [echo] Project Name: Podax
  [gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 18.0.1
     [echo] Resolving Build Target for Podax...
[gettarget] Project Target:   Google APIs
[gettarget] Vendor:           Google Inc.
[gettarget] Platform Version: 4.3
[gettarget] API level:        18
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/tmp/Podax/bin
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/tmp/Podax/bin/res
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/tmp/Podax/bin/rsObj
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/tmp/Podax/bin/rsLibs
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/tmp/Podax/gen
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/tmp/Podax/bin/classes
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/tmp/Podax/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for Podax...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'debug'...
   [subant] No sub-builds to iterate on

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [aapt] /home/matej/archiv/knihovna/repos/tmp/Podax/res/values/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat'.

BUILD FAILED
/home/matej/repos/android-sdk-linux_x86/tools/ant/build.xml:653: The following error occurred while executing this line:
/home/matej/repos/android-sdk-linux_x86/tools/ant/build.xml:698: null returned: 1

Total time: 1 second
matej@wycliff: Podax (master *%)$ 
thasmin commented 10 years ago

It looks like you need to add the compatibility library v7. I build Podax using gradle, so that may be a bit easier for you.

mcepl commented 10 years ago

You mean this? screenshot from 2014-01-21 18 43 51

thasmin commented 10 years ago

No, further down there's compatibility library options.

mcepl commented 10 years ago

??? I don't know, now I have all API modules installed (none of them have name "compatibility" anywhere, though) and the error is still the same. Perhaps Podax cannot be built with ant anymore? Anyway, this is not important ... what really matters is that my wife cannot use Podax because of #192. Any idea about that?