Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Can't compile on Cordova 6.1 #60

@anteburazer

Description

@anteburazer

Hi

I'm not able to build the application on Cordova 6.1 with Android SDK 23. I'm using Ionic 1 framework to build a hybrid mobile app.
Here's the error from console:

MY_PROJECT\platforms\android\build\intermediates\manifests\full\debug\AndroidManifest.xml:45:28-65 : AAPT: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').

I tried to cheat so I hardcoded Google Play Services version in 'MY_PROJECT/platforms/android/android.json' file.
This solves the issue but then I ran into another one:

MY_PROJECT/platforms\android\src\acidhax\cordova\chromecast\Chromecast.java:12: error: package com.google.android.gms.cast does not exist import com.google.android.gms.cast.CastMediaControlIntent;

I checked the file mentioned above and 'com.google.android.gms.cast.CastMediaControlIntent' is imported so I'm not sure what's the problem.

I also tried to implement solution #59 but it didn't help.

Does anybody know where is the problem?
Thanks

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