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 issues #128

Open
tastesminty opened this issue Jun 12, 2018 · 5 comments
Open

Build issues #128

tastesminty opened this issue Jun 12, 2018 · 5 comments

Comments

@tastesminty
Copy link

tastesminty commented Jun 12, 2018

I'm getting the build error “

Could not resolve all task dependencies for configuration ':debugCompileClasspath'.
Could not resolve project :com.flyingsoftgames.xapkreader:library.
Required by:
project : > project :com.flyingsoftgames.xapkreader:downloader_library
> Project :com.flyingsoftgames.xapkreader:downloader_library declares a dependency from configuration 'debugCompile' to configuration 'debug' which is not declared in the descriptor for project :com.flyingsoftgames.xapkreader:library.

Here’s what I’ve tried:
• Creating a test Ionic project
• Creating a test Cordova project
• Downgrading to Cordova 6.5
• Trying the patch mentioned in the plugin ‘test project instructions’

Add this to /platforms/android/project.properties:
android.library.reference.2=../../plugins/com.flyingsoftgames.xapkreader/android-sdk/extras/google/play_apk_expansion/downloader_library

• Applying the patches described here
• Building as ‘release’ vs debug

Does anybody have any insight into the problem? Thanks in advance.

Cordova 8.0, Cordova Android 6.4

@agamemnus
Copy link
Owner

agamemnus commented Jun 12, 2018 via email

@lfwells
Copy link

lfwells commented Jun 13, 2018

Also getting this after downloading the project today to try and use it

@agamemnus
Copy link
Owner

agamemnus commented Jun 13, 2018 via email

@tastesminty
Copy link
Author

tastesminty commented Jun 13, 2018

Hello,
Many thanks for your prompt response & ideas.
I tried changing 'build-extras.gradle' (three locations) to the format mentioned in the stackoverflow link, to no avail.

Do the Cordova 6.5 installation instructions hold for more recent versions of Cordova? They differ from those mentioned in the plugin's ‘test project instructions’.

Thanks.

@agamemnus
Copy link
Owner

The test project instructions are old and probably doesn't work anymore.

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

3 participants