Skip to content
This repository was archived by the owner on Oct 29, 2022. It is now read-only.
This repository was archived by the owner on Oct 29, 2022. It is now read-only.

Build fails on framework tag for android sdk dependency #439

@floatinghotpot

Description

@floatinghotpot

As suggested by google team, the dependency to google play services and android support jar should be defined as framework in plugin.xml.

    <!-- android -->
    <platform name="android">
        ....

        <framework src="com.google.android.gms:play-services-ads:+" />
     </platform>

It builds pass if using cordova CLI, but it will fail when build with PhoneGap build service, with following error:

BUILD FAILED
/home/ec2-user/android-sdk/tools/ant/build.xml:573: ../../../../../../home/ec2-user/android-sdk/com.google.android.gms:play-services-ads:+ resolve to a path with no project.properties file for project /project

Links fyi:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions