Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD FAILED - Phonegap Build - Android #892

Closed
helsen opened this issue Jan 9, 2015 · 3 comments
Closed

BUILD FAILED - Phonegap Build - Android #892

helsen opened this issue Jan 9, 2015 · 3 comments

Comments

@helsen
Copy link

helsen commented Jan 9, 2015

Hello, BUILD failed in phonegap build.

Phonegap version: 3.5.0
Phonegap Facebook Plugin version: 0.10.1

config.xml

        <gap:plugin name="com.phonegap.plugins.facebookconnect" version="0.10.1" source="plugins.cordova.io">
            <param name="APP_ID" value="XXXXXXXXXXX" />
            <param name="APP_NAME" value="My app name" />
        </gap:plugin>

ERROR LOG

Build Date: 2015-01-09 14:00:58 +0000
----------------------------------------------
Buildfile: /project/build.xml

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
     [echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
 [checkenv] Android SDK Tools Revision 23.0.2

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

-build-setup:
[getbuildtools] Using latest Build Tools: 20.0.0
     [echo] Resolving Build Target for STGuides...
[gettarget] Project Target:   Android 4.4.2
[gettarget] API level:        19
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /project/bin
    [mkdir] Created dir: /project/bin/res
    [mkdir] Created dir: /project/bin/rsObj
    [mkdir] Created dir: /project/bin/rsLibs
    [mkdir] Created dir: /project/gen
    [mkdir] Created dir: /project/bin/classes
    [mkdir] Created dir: /project/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for STGuides...
[dependency] Library dependencies:
[dependency] 
[dependency] ------------------
[dependency] Ordered libraries:
[dependency] 
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'release'...

nodeps:

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
     [echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
 [checkenv] Android SDK Tools Revision 23.0.2

-setup:
     [echo] Project Name: facebook
  [gettype] Project Type: Android Library

-build-setup:
[getbuildtools] Using latest Build Tools: 20.0.0
     [echo] Resolving Build Target for facebook...
[gettarget] Project Target:   Android 4.4.2
[gettarget] API level:        19
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /project/com.phonegap.plugins.facebookconnect/FacebookLib/bin/rsObj
    [mkdir] Created dir: /project/com.phonegap.plugins.facebookconnect/FacebookLib/bin/rsLibs
    [mkdir] Created dir: /project/com.phonegap.plugins.facebookconnect/FacebookLib/bin/classes
    [mkdir] Created dir: /project/com.phonegap.plugins.facebookconnect/FacebookLib/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for facebook...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------

-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] invalid resource directory name: /project/com.phonegap.plugins.facebookconnect/FacebookLib/bin/res/crunch

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

Total time: 1 second
@procom
Copy link

procom commented Jan 9, 2015

+1

BUILD failed in phonegap build.

Phonegap version: 3.6.3
Phonegap Facebook Plugin version: 0.10.1

with
source="plugins.cordova.io"

iOS and Android

@helsen helsen changed the title BUILD FAILED - Phonegap Build BUILD FAILED - Phonegap Build - Android Jan 9, 2015
@aogilvie
Copy link
Collaborator

PhoneGap Build is no longer supported due to a change in PhoneGap Build policy (they added fees to plugin developers) #839 (comment) Sorry. I will update the documentation ASAP.

@imaffett
Copy link
Contributor

@aogilvie This isn't a Phonegap build issue. Cordova builds for Android are failing in the CLI. It looks like when you updated the FB Android library, you kept their android-support-v4 jar and did not use the one from the mobile-chrome-apps team. If you put that one back in, builds work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants